ATLAS Offline Software
|
Variables | |
parser = argparse.ArgumentParser( description = "MakePlots.py options:" ) | |
help | |
MyArgs = parser.parse_args() | |
inFileName = MyArgs.inputFile | |
outputSuffix = MyArgs.output | |
inFile = ROOT.TFile.Open( inFileName , "READ" ) | |
outFile = ROOT.TFile.Open( inFileName.replace( "root", outputSuffix+".root" ) , "RECREATE" ) | |
configFileName = MyArgs.config | |
configFile = open( configFileName, 'r' ) | |
lines = configFile.readlines() | |
parsed = line.strip().split() | |
htype = parsed[0] | |
href = parsed[1] | |
htest = parsed[2] | |
obj = inFile.Get( href ) | |
getting histo More... | |
htest_dir = os.path.dirname( htest ) | |
writing histo More... | |
htest_name = os.path.basename( htest ) | |
IDTPMcnv.configFile = open( configFileName, 'r' ) |
Definition at line 24 of file IDTPMcnv.py.
IDTPMcnv.configFileName = MyArgs.config |
Definition at line 23 of file IDTPMcnv.py.
IDTPMcnv.help |
Definition at line 11 of file IDTPMcnv.py.
IDTPMcnv.href = parsed[1] |
Definition at line 30 of file IDTPMcnv.py.
IDTPMcnv.htest = parsed[2] |
Definition at line 31 of file IDTPMcnv.py.
IDTPMcnv.htest_dir = os.path.dirname( htest ) |
writing histo
Definition at line 40 of file IDTPMcnv.py.
IDTPMcnv.htest_name = os.path.basename( htest ) |
Definition at line 41 of file IDTPMcnv.py.
IDTPMcnv.htype = parsed[0] |
Definition at line 29 of file IDTPMcnv.py.
IDTPMcnv.inFile = ROOT.TFile.Open( inFileName , "READ" ) |
Definition at line 19 of file IDTPMcnv.py.
IDTPMcnv.inFileName = MyArgs.inputFile |
Definition at line 17 of file IDTPMcnv.py.
IDTPMcnv.lines = configFile.readlines() |
Definition at line 25 of file IDTPMcnv.py.
IDTPMcnv.MyArgs = parser.parse_args() |
Definition at line 15 of file IDTPMcnv.py.
IDTPMcnv.obj = inFile.Get( href ) |
getting histo
Definition at line 35 of file IDTPMcnv.py.
IDTPMcnv.outFile = ROOT.TFile.Open( inFileName.replace( "root", outputSuffix+".root" ) , "RECREATE" ) |
Definition at line 21 of file IDTPMcnv.py.
IDTPMcnv.outputSuffix = MyArgs.output |
Definition at line 18 of file IDTPMcnv.py.
IDTPMcnv.parsed = line.strip().split() |
Definition at line 28 of file IDTPMcnv.py.
IDTPMcnv.parser = argparse.ArgumentParser( description = "MakePlots.py options:" ) |
Definition at line 10 of file IDTPMcnv.py.