ATLAS Offline Software
Functions | Variables
createSimpleDistributions Namespace Reference

Functions

def addAllHistos (aBranch)
 
def addleadinJetSelectorHistos (aBranch)
 

Variables

bool IsDebug = False
 
 parser = argparse.ArgumentParser(description='Create distributions for many variables and save them in a ROT file')
 Read and store argument values #. More...
 
 type
 
 str
 
 default
 
 action
 
 nargs
 
 args = parser.parse_args()
 
 inFileList = args.inputFile.split(',')
 
 inChain = ROOT.TChain(args.treeName)
 
 tree = inChain
 
 builder = HistoBuilderFromD3PD(tree)
 
 patterns = args.branchPattern
 
def histoAdder = addleadinJetSelectorHistos
 

Function Documentation

◆ addAllHistos()

def createSimpleDistributions.addAllHistos (   aBranch)

Definition at line 56 of file createSimpleDistributions.py.

56 def addAllHistos( aBranch ):
57  if isSupportedType(tree.GetBranchType(aBranch)):
58  builder.addHistos(aBranch)

◆ addleadinJetSelectorHistos()

def createSimpleDistributions.addleadinJetSelectorHistos (   aBranch)

Definition at line 59 of file createSimpleDistributions.py.

59 def addleadinJetSelectorHistos( aBranch ):
60  if ("LC" in aBranch or "EM" in aBranch) and isSupportedType(tree.GetBranchType(aBranch)):
61  builder.addHistosWithLeadingJetSelectors( JetType(aBranch), aBranch )
62 

Variable Documentation

◆ action

createSimpleDistributions.action

Definition at line 24 of file createSimpleDistributions.py.

◆ args

createSimpleDistributions.args = parser.parse_args()

Definition at line 29 of file createSimpleDistributions.py.

◆ builder

createSimpleDistributions.builder = HistoBuilderFromD3PD(tree)

Definition at line 52 of file createSimpleDistributions.py.

◆ default

createSimpleDistributions.default

Definition at line 21 of file createSimpleDistributions.py.

◆ histoAdder

def createSimpleDistributions.histoAdder = addleadinJetSelectorHistos

Definition at line 64 of file createSimpleDistributions.py.

◆ inChain

createSimpleDistributions.inChain = ROOT.TChain(args.treeName)

Definition at line 39 of file createSimpleDistributions.py.

◆ inFileList

createSimpleDistributions.inFileList = args.inputFile.split(',')

Definition at line 34 of file createSimpleDistributions.py.

◆ IsDebug

bool createSimpleDistributions.IsDebug = False

Definition at line 12 of file createSimpleDistributions.py.

◆ nargs

createSimpleDistributions.nargs

Definition at line 26 of file createSimpleDistributions.py.

◆ parser

createSimpleDistributions.parser = argparse.ArgumentParser(description='Create distributions for many variables and save them in a ROT file')

Read and store argument values #.

Definition at line 18 of file createSimpleDistributions.py.

◆ patterns

createSimpleDistributions.patterns = args.branchPattern

Definition at line 54 of file createSimpleDistributions.py.

◆ str

createSimpleDistributions.str

Definition at line 21 of file createSimpleDistributions.py.

◆ tree

createSimpleDistributions.tree = inChain

Definition at line 43 of file createSimpleDistributions.py.

◆ type

createSimpleDistributions.type

Definition at line 20 of file createSimpleDistributions.py.

createSimpleDistributions.addleadinJetSelectorHistos
def addleadinJetSelectorHistos(aBranch)
Definition: createSimpleDistributions.py:59
createSimpleDistributions.addAllHistos
def addAllHistos(aBranch)
Definition: createSimpleDistributions.py:56