ATLAS Offline Software
Loading...
Searching...
No Matches
SwitchComponentName.py File Reference

Go to the source code of this file.

Namespaces

namespace  SwitchComponentName

Functions

 SwitchComponentName.GetKeyNames (self, dir="")

Variables

 SwitchComponentName.GetKeyNames
 SwitchComponentName.inputFile = TFile.Open(sys.argv[1],"READ")
 SwitchComponentName.outputFile = TFile.Open(sys.argv[2],"RECREATE")
 SwitchComponentName.compName = sys.argv[3]
 SwitchComponentName.newName = sys.argv[4]
 SwitchComponentName.hist = inputFile.Get(histName)
 SwitchComponentName.newHistName = re.sub(compName,newName,histName)