ATLAS Offline Software
Loading...
Searching...
No Matches
runHistoBuilders Namespace Reference

Variables

bool IsDebug = False
str treeNameJETMET = "qcd"
 Read and store argument values #.
str treeNameCOMMON = "physics"
bool writeBranchInformation = False
str fileNameJETMET = "/afs/cern.ch/user/d/delsart/public/COMMON/NTUP_COMMON_ref.root"
str fileNameCOMMON = "/afs/cern.ch/user/d/delsart/public/COMMON/NTUP_COMMON_new.root"
 fileJETMET = ROOT.TFile(fileNameJETMET,"READ")
 Read the input files and get the trees #.
 fileCOMMON = ROOT.TFile(fileNameCOMMON,"READ")
 treeJETMET = fileJETMET.Get(treeNameJETMET)
 treeCOMMON = fileCOMMON.Get(treeNameCOMMON)
 branchesJETMET = treeJETMET.GetSetOfTreeBranchNames()
 First, branch name checks #.
 branchesCOMMON = treeCOMMON.GetSetOfTreeBranchNames()
 branchesBOTH = frozenset.intersection(branchesJETMET,branchesCOMMON)
 brNotInCOMMON = branchesJETMET-branchesCOMMON
 brNotInJETMET = branchesCOMMON-branchesJETMET
 outFile = open('Branches_JETMET.txt','w')
 jetTypesJETMET = set([])
 Next, jet types and variables checks #.
 jetVarsJETMET = set([])
 type = JetType(name)
 jetTypesCOMMON = set([])
 jetVarsCOMMON = set([])
 jetTypesBoth = set.intersection(jetTypesJETMET,jetTypesCOMMON)
 jetVarsBoth = set.intersection(jetVarsJETMET,jetVarsCOMMON)
list branchesNotExisting = []
str toCheck = aType + "_" + aVar
 multiBuilder = MultipleHistoBuilderFromD3PD()
 Now, do the thorough variable check #.
 twikiLog = open('Twiki_ToleranceResults.log','w')
 logFile
 twikiLogFile

Variable Documentation

◆ branchesBOTH

runHistoBuilders.branchesBOTH = frozenset.intersection(branchesJETMET,branchesCOMMON)

Definition at line 102 of file runHistoBuilders.py.

◆ branchesCOMMON

runHistoBuilders.branchesCOMMON = treeCOMMON.GetSetOfTreeBranchNames()

Definition at line 101 of file runHistoBuilders.py.

◆ branchesJETMET

runHistoBuilders.branchesJETMET = treeJETMET.GetSetOfTreeBranchNames()

First, branch name checks #.

Definition at line 100 of file runHistoBuilders.py.

◆ branchesNotExisting

list runHistoBuilders.branchesNotExisting = []

Definition at line 162 of file runHistoBuilders.py.

◆ brNotInCOMMON

runHistoBuilders.brNotInCOMMON = branchesJETMET-branchesCOMMON

Definition at line 103 of file runHistoBuilders.py.

◆ brNotInJETMET

runHistoBuilders.brNotInJETMET = branchesCOMMON-branchesJETMET

Definition at line 104 of file runHistoBuilders.py.

◆ fileCOMMON

runHistoBuilders.fileCOMMON = ROOT.TFile(fileNameCOMMON,"READ")

Definition at line 71 of file runHistoBuilders.py.

◆ fileJETMET

runHistoBuilders.fileJETMET = ROOT.TFile(fileNameJETMET,"READ")

Read the input files and get the trees #.

Definition at line 70 of file runHistoBuilders.py.

◆ fileNameCOMMON

runHistoBuilders.fileNameCOMMON = "/afs/cern.ch/user/d/delsart/public/COMMON/NTUP_COMMON_new.root"

Definition at line 28 of file runHistoBuilders.py.

◆ fileNameJETMET

runHistoBuilders.fileNameJETMET = "/afs/cern.ch/user/d/delsart/public/COMMON/NTUP_COMMON_ref.root"

Definition at line 26 of file runHistoBuilders.py.

◆ IsDebug

bool runHistoBuilders.IsDebug = False

Definition at line 13 of file runHistoBuilders.py.

◆ jetTypesBoth

runHistoBuilders.jetTypesBoth = set.intersection(jetTypesJETMET,jetTypesCOMMON)

Definition at line 158 of file runHistoBuilders.py.

◆ jetTypesCOMMON

runHistoBuilders.jetTypesCOMMON = set([])

Definition at line 149 of file runHistoBuilders.py.

◆ jetTypesJETMET

runHistoBuilders.jetTypesJETMET = set([])

Next, jet types and variables checks #.

Definition at line 140 of file runHistoBuilders.py.

◆ jetVarsBoth

runHistoBuilders.jetVarsBoth = set.intersection(jetVarsJETMET,jetVarsCOMMON)

Definition at line 159 of file runHistoBuilders.py.

◆ jetVarsCOMMON

runHistoBuilders.jetVarsCOMMON = set([])

Definition at line 150 of file runHistoBuilders.py.

◆ jetVarsJETMET

runHistoBuilders.jetVarsJETMET = set([])

Definition at line 141 of file runHistoBuilders.py.

◆ logFile

runHistoBuilders.logFile

Definition at line 210 of file runHistoBuilders.py.

◆ multiBuilder

runHistoBuilders.multiBuilder = MultipleHistoBuilderFromD3PD()

Now, do the thorough variable check #.

Definition at line 178 of file runHistoBuilders.py.

◆ outFile

runHistoBuilders.outFile = open('Branches_JETMET.txt','w')

Definition at line 107 of file runHistoBuilders.py.

◆ toCheck

str runHistoBuilders.toCheck = aType + "_" + aVar

Definition at line 165 of file runHistoBuilders.py.

◆ treeCOMMON

runHistoBuilders.treeCOMMON = fileCOMMON.Get(treeNameCOMMON)

Definition at line 80 of file runHistoBuilders.py.

◆ treeJETMET

runHistoBuilders.treeJETMET = fileJETMET.Get(treeNameJETMET)

Definition at line 73 of file runHistoBuilders.py.

◆ treeNameCOMMON

runHistoBuilders.treeNameCOMMON = "physics"

Definition at line 22 of file runHistoBuilders.py.

◆ treeNameJETMET

str runHistoBuilders.treeNameJETMET = "qcd"

Read and store argument values #.

Definition at line 21 of file runHistoBuilders.py.

◆ twikiLog

runHistoBuilders.twikiLog = open('Twiki_ToleranceResults.log','w')

Definition at line 208 of file runHistoBuilders.py.

◆ twikiLogFile

runHistoBuilders.twikiLogFile

Definition at line 210 of file runHistoBuilders.py.

◆ type

runHistoBuilders.type = JetType(name)

Definition at line 144 of file runHistoBuilders.py.

◆ writeBranchInformation

bool runHistoBuilders.writeBranchInformation = False

Definition at line 23 of file runHistoBuilders.py.