ATLAS Offline Software
Functions | Variables
StripComponent Namespace Reference

Functions

def GetKeyNames (self, dir="")
 

Variables

 inputFile = TFile.Open(sys.argv[1],"READ")
 
 outputFile = TFile.Open(sys.argv[2],"RECREATE")
 
 compName = sys.argv[3]
 
bool foundComponent = False
 
 hist = inputFile.Get(histName)
 

Function Documentation

◆ GetKeyNames()

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

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

◆ compName

StripComponent.compName = sys.argv[3]

Definition at line 22 of file StripComponent.py.

◆ foundComponent

bool StripComponent.foundComponent = False

Definition at line 24 of file StripComponent.py.

◆ hist

StripComponent.hist = inputFile.Get(histName)

Definition at line 26 of file StripComponent.py.

◆ inputFile

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

Definition at line 20 of file StripComponent.py.

◆ outputFile

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

Definition at line 21 of file StripComponent.py.

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