diff --git a/macros/CCEScan/plotSector.C b/macros/CCEScan/plotSector.C index fab6ea7..2e795db 100755 --- a/macros/CCEScan/plotSector.C +++ b/macros/CCEScan/plotSector.C @@ -98,7 +98,8 @@ //const char* diskVar = "/afs/cern.ch/user/e/egraveri/cmtuser/STMonitoring/STAging";//std::getenv ("DISK"); const char* diskVar = std::getenv ("DISK"); - const char* homeVar = "/afs/cern.ch/user/e/egraveri/cmtuser/STMonitoring/STAging";//std::getenv ("HOME"); + //const char* homeVar = "/afs/cern.ch/user/e/egraveri/cmtuser/STMonitoring/STAging";//std::getenv ("HOME"); + const char* homeVar = std::getenv ("CCEHOME"); TString det("TT"); @@ -330,7 +331,9 @@ mg_frame->Draw("A"); // mg_frame->GetXaxis()->SetLimits(1262304000,1372636800); - mg_frame->GetXaxis()->SetLimits(1262304000,1450103679); + double jan2010 = 1262304000.0; + double dec2015 = 1450103679.0; + mg_frame->GetXaxis()->SetLimits(jan2010, dec2015); mg_frame->SetMinimum(100.0); mg_frame->SetMaximum(300.0);