{ TString pathToLibs = "../build/lib/"; // TString pathToLibs = "../"; TString pathToTELoss = pathToLibs + "libTELoss.so"; TString pathToAculData = pathToLibs + "libAculData.so"; TString pathToUtilities = pathToLibs + "libUtilities.so"; TString pathToAculCalib = pathToLibs + "libAculCalib.so"; //libTELoss.so loading Int_t teloss = gSystem->Load(pathToTELoss); if (teloss==0) Info("rootlogon.C", "Library %s was successfully loaded.", pathToTELoss.Data()); else Error("rootlogon.C", "Some error with %s loading", pathToTELoss.Data()); //libAculData.so loading Int_t aculdata = gSystem->Load(pathToAculData); if (aculdata==0) Info("rootlogon.C", "Library %s was successfully loaded.", pathToAculData.Data()); else Error("rootlogon.C", "Some error with %s loading", pathToAculData.Data()); //libUtilities.so loading Int_t utilities = gSystem->Load(pathToUtilities); if (utilities==0) Info("rootlogon.C", "Library %s was successfully loaded.", pathToUtilities.Data()); else Error("rootlogon.C", "Some error with %s loading", pathToUtilities.Data()); //libAculCalib.so loading Int_t aculcalib = gSystem->Load(pathToAculCalib); if (aculcalib==0) Info("rootlogon.C", "Library %s was successfully loaded.", pathToAculCalib.Data()); else Error("rootlogon.C", "Some error with %s loading", pathToAculCalib.Data()); }