ATLAS Offline Software
Loading...
Searching...
No Matches
DeMoStatus.py File Reference

Go to the source code of this file.

Namespaces

namespace  DeMoStatus

Functions

 DeMoStatus.mergeSubPeriod (tprof_subperiod, tprof_letter)
 DeMoStatus.ATLASLabel (x, y, text="")
 ATLASLabel copied from atlastyle package, as import does not work for unknown reasons.

Variables

bool DeMoStatus.debug = False
 DeMoStatus.parser = ArgumentParser(description='',formatter_class=RawTextHelpFormatter)
 DeMoStatus.dest
 DeMoStatus.default
 DeMoStatus.nargs
 DeMoStatus.help
 DeMoStatus.action
 DeMoStatus.args = parser.parse_args()
dict DeMoStatus.ytp = {}
dict DeMoStatus.partitions = {}
dict DeMoStatus.defects = {}
dict DeMoStatus.defectVeto = {}
dict DeMoStatus.veto = {}
dict DeMoStatus.signOff = {}
list DeMoStatus.yearTagList = []
dict DeMoStatus.yearTagDir = {}
str DeMoStatus.directory = "%s/YearStats-%s/%s/%s"%(args.parser_directory,args.parser_system,iYear,iTag)
str DeMoStatus.yearTag = "%s/%s"%(iYear,ytp["Description"])
dict DeMoStatus.options = {}
 DeMoStatus.yearTagNb = len(yearTagList)
 DeMoStatus.yearTagLabels = yearTagNb*[""]
dict DeMoStatus.canvasResults = {}
dict DeMoStatus.legendResults = {}
dict DeMoStatus.stackResults = {}
dict DeMoStatus.file = {}
dict DeMoStatus.hProfPeriod_IntolDefect = {}
dict DeMoStatus.hProfPeriod_Veto = {}
dict DeMoStatus.hProfPeriodLett_IntolDefect = {}
dict DeMoStatus.hProfPeriodLett_Veto = {}
dict DeMoStatus.h1Period_IntLuminosity = {}
dict DeMoStatus.h1PeriodLett_IntLuminosity = {}
dict DeMoStatus.subperiodNb = {}
dict DeMoStatus.runsCharact = {}
str DeMoStatus.yearStatsArchiveFilename = '%s/TProfiles.root'%(yearTagDir[iYT])
 DeMoStatus.fTemp = open("%s/runs-ALL.dat"%yearTagDir[iYT])
 DeMoStatus.runNb = int(iline.split(" (")[0])
str DeMoStatus.xAxisTitle = "Period"
str DeMoStatus.legendHead = "%s - %s"%(args.parser_system,iYT.split("/")[0])
list DeMoStatus.allIntolDef = ["allIntol","allIntol_recov"]
 DeMoStatus.iDefName = iDef.rsplit("__",1)[0]
 DeMoStatus.totalIneffDef = plotStack("defects--%s--%s - %s"%(xAxisTitle,args.parser_system,iYT),hProfPeriod_IntolDefect[iYT],defects["intol"],defectVeto["description"],h1Period_IntLuminosity[iYT],options['lumiNotPercent'],stackResults[iYT],canvasResults[iYT],legendResults[iYT],options['recovPlot'],False,options['approvedPlots'])
 DeMoStatus.totalIneffVeto = plotStack("veto--%s--%s"%(xAxisTitle,iYT),hProfPeriod_Veto[iYT],veto["all"],defectVeto["description"],h1Period_IntLuminosity[iYT],options['lumiNotPercent'],stackResults[iYT],canvasResults[iYT],legendResults[iYT],False,False,options['approvedPlots'])
list DeMoStatus.letperiodList = []
dict DeMoStatus.subperiod = h1Period_IntLuminosity[iYT].GetXaxis().GetBinLabel(iBin)
 DeMoStatus.letperiodNb = len(letperiodList)
 DeMoStatus.h1YearTag_IntLuminosity = MakeTH1("h1YearTag_IntLuminosity","Year/Tag","Luminosity[pb^{-1}]", -0.5,-0.5+yearTagNb,yearTagNb,kBlack)
dict DeMoStatus.h1YearTag_IntolDefect = {}
str DeMoStatus.legendHeader = "#splitline{ %s "%(yearTagLabels[0].split("/")[0])
dict DeMoStatus.h1YearTag_Veto = {}