ATLAS Offline Software
Variables
IDTPMcnv Namespace Reference

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 )
 

Variable Documentation

◆ configFile

IDTPMcnv.configFile = open( configFileName, 'r' )

Definition at line 24 of file IDTPMcnv.py.

◆ configFileName

IDTPMcnv.configFileName = MyArgs.config

Definition at line 23 of file IDTPMcnv.py.

◆ help

IDTPMcnv.help

Definition at line 11 of file IDTPMcnv.py.

◆ href

IDTPMcnv.href = parsed[1]

Definition at line 30 of file IDTPMcnv.py.

◆ htest

IDTPMcnv.htest = parsed[2]

Definition at line 31 of file IDTPMcnv.py.

◆ htest_dir

IDTPMcnv.htest_dir = os.path.dirname( htest )

writing histo

Definition at line 40 of file IDTPMcnv.py.

◆ htest_name

IDTPMcnv.htest_name = os.path.basename( htest )

Definition at line 41 of file IDTPMcnv.py.

◆ htype

IDTPMcnv.htype = parsed[0]

Definition at line 29 of file IDTPMcnv.py.

◆ inFile

IDTPMcnv.inFile = ROOT.TFile.Open( inFileName , "READ" )

Definition at line 19 of file IDTPMcnv.py.

◆ inFileName

IDTPMcnv.inFileName = MyArgs.inputFile

Definition at line 17 of file IDTPMcnv.py.

◆ lines

IDTPMcnv.lines = configFile.readlines()

Definition at line 25 of file IDTPMcnv.py.

◆ MyArgs

IDTPMcnv.MyArgs = parser.parse_args()

Definition at line 15 of file IDTPMcnv.py.

◆ obj

IDTPMcnv.obj = inFile.Get( href )

getting histo

Definition at line 35 of file IDTPMcnv.py.

◆ outFile

IDTPMcnv.outFile = ROOT.TFile.Open( inFileName.replace( "root", outputSuffix+".root" ) , "RECREATE" )

Definition at line 21 of file IDTPMcnv.py.

◆ outputSuffix

IDTPMcnv.outputSuffix = MyArgs.output

Definition at line 18 of file IDTPMcnv.py.

◆ parsed

IDTPMcnv.parsed = line.strip().split()

Definition at line 28 of file IDTPMcnv.py.

◆ parser

IDTPMcnv.parser = argparse.ArgumentParser( description = "MakePlots.py options:" )

Definition at line 10 of file IDTPMcnv.py.