ATLAS Offline Software
Functions | Variables
CombineRootFiles Namespace Reference

Functions

def GetKeyNames (self, dir="")
 

Variables

 outFileName = sys.argv[1]
 
 inFileNames = sys.argv[2:]
 
 outFile = TFile(outFileName,"RECREATE")
 
dictionary uniqueHistos = {}
 
 aFile = TFile(aFileName,"READ")
 
 hist = aFile.Get(histName)
 
tuple areDifferent = ( math.fabs(hist.GetMinimum()) > 1.e-8 or math.fabs(hist.GetMaximum()) > 1.e-8 )
 

Function Documentation

◆ GetKeyNames()

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

Definition at line 9 of file CombineRootFiles.py.

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

Variable Documentation

◆ aFile

CombineRootFiles.aFile = TFile(aFileName,"READ")

Definition at line 45 of file CombineRootFiles.py.

◆ areDifferent

tuple CombineRootFiles.areDifferent = ( math.fabs(hist.GetMinimum()) > 1.e-8 or math.fabs(hist.GetMaximum()) > 1.e-8 )

Definition at line 60 of file CombineRootFiles.py.

◆ hist

CombineRootFiles.hist = aFile.Get(histName)

Definition at line 49 of file CombineRootFiles.py.

◆ inFileNames

CombineRootFiles.inFileNames = sys.argv[2:]

Definition at line 22 of file CombineRootFiles.py.

◆ outFile

CombineRootFiles.outFile = TFile(outFileName,"RECREATE")

Definition at line 38 of file CombineRootFiles.py.

◆ outFileName

CombineRootFiles.outFileName = sys.argv[1]

Definition at line 21 of file CombineRootFiles.py.

◆ uniqueHistos

dictionary CombineRootFiles.uniqueHistos = {}

Definition at line 41 of file CombineRootFiles.py.

CombineRootFiles.GetKeyNames
def GetKeyNames(self, dir="")
Definition: CombineRootFiles.py:9