ATLAS Offline Software
Functions | Variables
AddEmptyComponent Namespace Reference

Functions

def GetKeyNames (self, dir="")
 
def getJetDef (histName)
 

Variables

 inputFile = TFile.Open(sys.argv[1],"READ")
 
 outputFile = TFile.Open(sys.argv[2],"RECREATE")
 
 compName = sys.argv[3]
 
 numDim = int(sys.argv[4])
 
 binning = sys.argv[5]
 
 binTokens = binning.split(";")
 
list bins = []
 
 rangeTokens = aToken.split(",")
 
list jetDefs = []
 
def jetDef = getJetDef(histName)
 
 hist = inputFile.Get(histName)
 
string histName = compName+"_"+aDef
 

Function Documentation

◆ getJetDef()

def AddEmptyComponent.getJetDef (   histName)

Definition at line 14 of file AddEmptyComponent.py.

14 def getJetDef(histName):
15  tokens = histName.split("_")
16  return tokens[-1]
17 
18 

◆ GetKeyNames()

def AddEmptyComponent.GetKeyNames (   self,
  dir = "" 
)

Definition at line 8 of file AddEmptyComponent.py.

8 def GetKeyNames(self,dir=""):
9  self.cd(dir)
10  return [key.GetName() for key in gDirectory.GetListOfKeys()]
11 TFile.GetKeyNames = GetKeyNames
12 
13 

Variable Documentation

◆ binning

AddEmptyComponent.binning = sys.argv[5]

Definition at line 34 of file AddEmptyComponent.py.

◆ bins

list AddEmptyComponent.bins = []

Definition at line 44 of file AddEmptyComponent.py.

◆ binTokens

AddEmptyComponent.binTokens = binning.split(";")

Definition at line 40 of file AddEmptyComponent.py.

◆ compName

AddEmptyComponent.compName = sys.argv[3]

Definition at line 32 of file AddEmptyComponent.py.

◆ hist

AddEmptyComponent.hist = inputFile.Get(histName)

Definition at line 58 of file AddEmptyComponent.py.

◆ histName

string AddEmptyComponent.histName = compName+"_"+aDef

Definition at line 64 of file AddEmptyComponent.py.

◆ inputFile

AddEmptyComponent.inputFile = TFile.Open(sys.argv[1],"READ")

Definition at line 30 of file AddEmptyComponent.py.

◆ jetDef

def AddEmptyComponent.jetDef = getJetDef(histName)

Definition at line 55 of file AddEmptyComponent.py.

◆ jetDefs

list AddEmptyComponent.jetDefs = []

Definition at line 53 of file AddEmptyComponent.py.

◆ numDim

AddEmptyComponent.numDim = int(sys.argv[4])

Definition at line 33 of file AddEmptyComponent.py.

◆ outputFile

AddEmptyComponent.outputFile = TFile.Open(sys.argv[2],"RECREATE")

Definition at line 31 of file AddEmptyComponent.py.

◆ rangeTokens

AddEmptyComponent.rangeTokens = aToken.split(",")

Definition at line 46 of file AddEmptyComponent.py.

AddEmptyComponent.getJetDef
def getJetDef(histName)
Definition: AddEmptyComponent.py:14
AddEmptyComponent.GetKeyNames
def GetKeyNames(self, dir="")
Definition: AddEmptyComponent.py:8