ATLAS Offline Software
Functions | Variables
MakeTH3DFromTH2Ds 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")
 
 outName = sys.argv[3]
 
 inTuples = sys.argv[4:]
 
list inNames = []
 
list inMinVals = []
 
list inMaxVals = []
 
 tokens = inTuple.split(",")
 
dictionary inHists = {}
 
dictionary outHists = {}
 
 hist = inputFile.Get(histName)
 
bool foundHist = False
 
def jetDef = getJetDef(histName)
 
 hists = aHist["hist"]
 
 minVals = aHist["min"]
 
 maxVals = aHist["max"]
 
list xBins = []
 
list yBins = []
 
dictionary zDict = {}
 
list zBins = []
 
dictionary outHist = outHists[aJetDef]
 
int index = 0
 

Function Documentation

◆ getJetDef()

def MakeTH3DFromTH2Ds.getJetDef (   histName)

Definition at line 14 of file MakeTH3DFromTH2Ds.py.

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

◆ GetKeyNames()

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

Definition at line 8 of file MakeTH3DFromTH2Ds.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

◆ foundHist

bool MakeTH3DFromTH2Ds.foundHist = False

Definition at line 52 of file MakeTH3DFromTH2Ds.py.

◆ hist

MakeTH3DFromTH2Ds.hist = inputFile.Get(histName)

Definition at line 50 of file MakeTH3DFromTH2Ds.py.

◆ hists

MakeTH3DFromTH2Ds.hists = aHist["hist"]

Definition at line 72 of file MakeTH3DFromTH2Ds.py.

◆ index

MakeTH3DFromTH2Ds.index = 0

Definition at line 108 of file MakeTH3DFromTH2Ds.py.

◆ inHists

dictionary MakeTH3DFromTH2Ds.inHists = {}

Definition at line 45 of file MakeTH3DFromTH2Ds.py.

◆ inMaxVals

list MakeTH3DFromTH2Ds.inMaxVals = []

Definition at line 35 of file MakeTH3DFromTH2Ds.py.

◆ inMinVals

list MakeTH3DFromTH2Ds.inMinVals = []

Definition at line 34 of file MakeTH3DFromTH2Ds.py.

◆ inNames

list MakeTH3DFromTH2Ds.inNames = []

Definition at line 33 of file MakeTH3DFromTH2Ds.py.

◆ inputFile

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

Definition at line 28 of file MakeTH3DFromTH2Ds.py.

◆ inTuples

MakeTH3DFromTH2Ds.inTuples = sys.argv[4:]

Definition at line 31 of file MakeTH3DFromTH2Ds.py.

◆ jetDef

def MakeTH3DFromTH2Ds.jetDef = getJetDef(histName)

Definition at line 56 of file MakeTH3DFromTH2Ds.py.

◆ maxVals

MakeTH3DFromTH2Ds.maxVals = aHist["max"]

Definition at line 74 of file MakeTH3DFromTH2Ds.py.

◆ minVals

MakeTH3DFromTH2Ds.minVals = aHist["min"]

Definition at line 73 of file MakeTH3DFromTH2Ds.py.

◆ outHist

dictionary MakeTH3DFromTH2Ds.outHist = outHists[aJetDef]

Definition at line 104 of file MakeTH3DFromTH2Ds.py.

◆ outHists

dictionary MakeTH3DFromTH2Ds.outHists = {}

Definition at line 46 of file MakeTH3DFromTH2Ds.py.

◆ outName

MakeTH3DFromTH2Ds.outName = sys.argv[3]

Definition at line 30 of file MakeTH3DFromTH2Ds.py.

◆ outputFile

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

Definition at line 29 of file MakeTH3DFromTH2Ds.py.

◆ tokens

MakeTH3DFromTH2Ds.tokens = inTuple.split(",")

Definition at line 37 of file MakeTH3DFromTH2Ds.py.

◆ xBins

list MakeTH3DFromTH2Ds.xBins = []

Definition at line 76 of file MakeTH3DFromTH2Ds.py.

◆ yBins

list MakeTH3DFromTH2Ds.yBins = []

Definition at line 80 of file MakeTH3DFromTH2Ds.py.

◆ zBins

list MakeTH3DFromTH2Ds.zBins = []

Definition at line 86 of file MakeTH3DFromTH2Ds.py.

◆ zDict

dictionary MakeTH3DFromTH2Ds.zDict = {}

Definition at line 85 of file MakeTH3DFromTH2Ds.py.

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