ATLAS Offline Software
Functions | Variables
ExtractComponent Namespace Reference

Functions

def GetKeyNames (self, dir="")
 

Variables

 inputFile = TFile.Open(sys.argv[1],"READ")
 
 outputFile = TFile.Open(sys.argv[2],"RECREATE")
 
 compNames = sys.argv[3:]
 
 hist = inputFile.Get(compName)
 

Function Documentation

◆ GetKeyNames()

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

Definition at line 7 of file ExtractComponent.py.

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

Variable Documentation

◆ compNames

ExtractComponent.compNames = sys.argv[3:]

Definition at line 22 of file ExtractComponent.py.

◆ hist

ExtractComponent.hist = inputFile.Get(compName)

Definition at line 32 of file ExtractComponent.py.

◆ inputFile

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

Definition at line 20 of file ExtractComponent.py.

◆ outputFile

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

Definition at line 21 of file ExtractComponent.py.

ExtractComponent.GetKeyNames
def GetKeyNames(self, dir="")
Definition: ExtractComponent.py:7