ATLAS Offline Software
Namespaces | Functions | Variables
DeMoStatus.py File Reference

Go to the source code of this file.

Namespaces

 DeMoStatus
 

Functions

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

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()
 
dictionary DeMoStatus.ytp = {}
 
dictionary DeMoStatus.partitions = {}
 
dictionary DeMoStatus.defects = {}
 
dictionary DeMoStatus.defectVeto = {}
 
dictionary DeMoStatus.veto = {}
 
dictionary DeMoStatus.signOff = {}
 
list DeMoStatus.yearTagList = []
 
dictionary DeMoStatus.yearTagDir = {}
 
string DeMoStatus.directory = "%s/YearStats-%s/%s/%s"%(args.parser_directory,args.parser_system,iYear,iTag)
 
string DeMoStatus.yearTag = "%s/%s"%(iYear,ytp["Description"])
 
dictionary DeMoStatus.options = {}
 
 DeMoStatus.yearTagNb = len(yearTagList)
 
 DeMoStatus.yearTagLabels = yearTagNb*[""]
 
dictionary DeMoStatus.canvasResults = {}
 
dictionary DeMoStatus.legendResults = {}
 
dictionary DeMoStatus.stackResults = {}
 
dictionary DeMoStatus.file = {}
 
dictionary DeMoStatus.hProfPeriod_IntolDefect = {}
 
dictionary DeMoStatus.hProfPeriod_Veto = {}
 
dictionary DeMoStatus.hProfPeriodLett_IntolDefect = {}
 
dictionary DeMoStatus.hProfPeriodLett_Veto = {}
 
dictionary DeMoStatus.h1Period_IntLuminosity = {}
 
dictionary DeMoStatus.h1PeriodLett_IntLuminosity = {}
 
dictionary DeMoStatus.subperiodNb = {}
 
dictionary DeMoStatus.runsCharact = {}
 
string DeMoStatus.yearStatsArchiveFilename = '%s/TProfiles.root'%(yearTagDir[iYT])
 
 DeMoStatus.fTemp = open("%s/runs-ALL.dat"%yearTagDir[iYT])
 
 DeMoStatus.runNb = int(iline.split(" (")[0])
 
string DeMoStatus.xAxisTitle = "Period"
 
string 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 = []
 
dictionary 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)
 
dictionary DeMoStatus.h1YearTag_IntolDefect = {}
 
string DeMoStatus.legendHeader = "#splitline{ %s "%(yearTagLabels[0].split("/")[0])
 
dictionary DeMoStatus.h1YearTag_Veto = {}