diff --git a/macros/leakageCurrent/getPredictions.py b/macros/leakageCurrent/getPredictions.py index c4debb6..c9372ee 100755 --- a/macros/leakageCurrent/getPredictions.py +++ b/macros/leakageCurrent/getPredictions.py @@ -1,6 +1,7 @@ import ROOT import numpy as np +import time #dn_lumi = ROOT.TString("/home/hep/che/cmtuser/Vetra_v13r2/ST/STAging/data/lumi"); #dn_lumi = ROOT.TString("/home/hep/egraveri/cmtuser/STMonitoring/STAging/data/lumi"); @@ -106,7 +107,8 @@ # define start and stop time for the prediction (unixtime) tStart = 1262325600; # 1-1-2010 #tStop = 1372654800; # 1-7-2013 - tStop = 1437841532; # 25-7-2015 + #tStop = 1437841532; # 25-7-2015 + tStop = int(time.time()) tRun = tStart; tFillEnd = tStart; @@ -193,7 +195,8 @@ # get the 68% confidence interval v_low.append(val_list_sort[(int)((1.0-0.684)*N/2.0)]) v_hig.append(val_list_sort[(int)((1.0+0.684)*N/2.0)]) - if tRun<1356998400.0: + #if tRun<1356998400.0: + if tRun