diff --git a/macros/CCEScan/Hamburg.C b/macros/CCEScan/Hamburg.C index e63b37e..1ce289f 100755 --- a/macros/CCEScan/Hamburg.C +++ b/macros/CCEScan/Hamburg.C @@ -98,7 +98,8 @@ gStyle->SetTitleOffset(1.0,"X"); const char* diskVar = std::getenv ("DISK"); - const char* homeVar = std::getenv ("HOME"); + const char* homeVar = std::getenv ("CCEHOME"); + // const char* homeVar = "/afs/cern.ch/user/e/egraveri/cmtuser/STMonitoring/STAging"; TString det("TT"); @@ -135,15 +136,15 @@ dn_out.Data())); // Directory and file name for the temperature - TString dn_temp(Form("%s/cmtuser/Vetra_v13r2/ST/STAging/data/temperature",homeVar)); + TString dn_temp(Form("%s/data/temperature",homeVar)); TString fn_temp(Form("%s/temperature.root",dn_temp.Data())); // Directory and file name for the luminosity - TString dn_lumi(Form("%s/cmtuser/Vetra_v13r2/ST/STAging/data/lumi",homeVar)); + TString dn_lumi(Form("%s/data/lumi",homeVar)); TString fn_lumi(Form("%s/lumi.root",dn_lumi.Data())); // // Directory and file name for the fluence - TString dn_sector(Form("%s/cmtuser/Vetra_v13r2/ST/STAging/data/db",homeVar)); + TString dn_sector(Form("%s/data/db",homeVar)); TString fn_sector(Form("%s/fluence.root",dn_sector.Data())); TFile* f_temp = TFile::Open(fn_temp.Data());