ATLAS Offline Software
Functions | Variables
runIDTPM Namespace Reference

Functions

def GetCustomAthArgs ()
 

Variables

def MyArgs = GetCustomAthArgs()
 Parse the arguments. More...
 
 flags = initConfigFlags()
 
 Files
 Inputs. More...
 
 OutputLevel
 
 DirName
 
 outputFilePrefix
 
 plotsDefFormat
 
 plotsDefFileList
 
 plotsCommonValuesFile
 
 sortPlotsByChain
 
 trkAnaCfgFile
 
 doWriteAOD_IDTPM
 
 unpackTrigChains
 
 doExample
 
 acc = MainServicesCfg(flags)
 
 withDetails
 
 sc = acc.run( maxEvents=MyArgs.maxEvents )
 

Function Documentation

◆ GetCustomAthArgs()

def runIDTPM.GetCustomAthArgs ( )

Definition at line 6 of file runIDTPM.py.

6 def GetCustomAthArgs() :
7  from argparse import ArgumentParser
8  IDTPMparser = ArgumentParser( description='Parser for IDTPM configuration' )
9  IDTPMparser.add_argument( "--inputFileNames", help="Comma-separated list of input files", required=True)
10  IDTPMparser.add_argument( "--maxEvents", help="Limit number of events. Default: all input events", default=-1, type=int )
11  IDTPMparser.add_argument( "--debug", help="Enable debugging messages", action="store_true", default=False )
12  IDTPMparser.add_argument( "--dirName", help="Main directory name for storing plots", default="InDetTrackPerfMonPlots/" )
13  IDTPMparser.add_argument( "--outputFilePrefix", help='Name of output file', default="myIDTPM_out" )
14  IDTPMparser.add_argument( "--writeAOD_IDTPM", help="Write output file for reprocessing", action="store_true", default=False )
15  IDTPMparser.add_argument( "--trkAnaCfgFile", help='File with track analysis setup (.json format)', default='Default' )
16  IDTPMparser.add_argument( "--unpackTrigChains", help="Run each configured trigger chain in a separate track analysis", action="store_true", default=False )
17  IDTPMparser.add_argument( "--plotsDefFormat", help='Format of the plots definition file', default="JSON" )
18  IDTPMparser.add_argument( "--plotsDefFileList", help='Plain txt file containing the list of .json file names with the plots definitions', default="InDetTrackPerfMon/PlotsDefFileList_default.txt" )
19  IDTPMparser.add_argument( "--plotsCommonValuesFile", help='JSON file listing all the default values to be used in plots', default="" )
20  IDTPMparser.add_argument( "--sortPlotsByChain", help="Arrange plots first in subdirectories named after the current chain", action="store_true", default=False )
21  return IDTPMparser.parse_args()
22 

Variable Documentation

◆ acc

runIDTPM.acc = MainServicesCfg(flags)

Definition at line 63 of file runIDTPM.py.

◆ DirName

runIDTPM.DirName

Definition at line 44 of file runIDTPM.py.

◆ doExample

runIDTPM.doExample

Definition at line 57 of file runIDTPM.py.

◆ doWriteAOD_IDTPM

runIDTPM.doWriteAOD_IDTPM

Definition at line 51 of file runIDTPM.py.

◆ Files

runIDTPM.Files

Inputs.

Definition at line 31 of file runIDTPM.py.

◆ flags

runIDTPM.flags = initConfigFlags()

Definition at line 28 of file runIDTPM.py.

◆ MyArgs

def runIDTPM.MyArgs = GetCustomAthArgs()

Parse the arguments.

Definition at line 24 of file runIDTPM.py.

◆ outputFilePrefix

runIDTPM.outputFilePrefix

Definition at line 45 of file runIDTPM.py.

◆ OutputLevel

runIDTPM.OutputLevel

Definition at line 38 of file runIDTPM.py.

◆ plotsCommonValuesFile

runIDTPM.plotsCommonValuesFile

Definition at line 48 of file runIDTPM.py.

◆ plotsDefFileList

runIDTPM.plotsDefFileList

Definition at line 47 of file runIDTPM.py.

◆ plotsDefFormat

runIDTPM.plotsDefFormat

Definition at line 46 of file runIDTPM.py.

◆ sc

runIDTPM.sc = acc.run( maxEvents=MyArgs.maxEvents )

Definition at line 74 of file runIDTPM.py.

◆ sortPlotsByChain

runIDTPM.sortPlotsByChain

Definition at line 49 of file runIDTPM.py.

◆ trkAnaCfgFile

runIDTPM.trkAnaCfgFile

Definition at line 50 of file runIDTPM.py.

◆ unpackTrigChains

runIDTPM.unpackTrigChains

Definition at line 52 of file runIDTPM.py.

◆ withDetails

runIDTPM.withDetails

Definition at line 71 of file runIDTPM.py.

runIDTPM.GetCustomAthArgs
def GetCustomAthArgs()
Definition: runIDTPM.py:6