ATLAS Offline Software
Loading...
Searching...
No Matches
runIDTPM Namespace Reference

Functions

 GetCustomAthArgs ()

Variables

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

Function Documentation

◆ GetCustomAthArgs()

runIDTPM.GetCustomAthArgs ( )

Definition at line 6 of file runIDTPM.py.

6def 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 IDTPMparser.add_argument( "--commonTrkAnaFlags", help="Common flags to be overridden for all track Analises in the format flag_name=value", nargs='*', default=[] )
22 return IDTPMparser.parse_args()
23

Variable Documentation

◆ acc

runIDTPM.acc = MainServicesCfg(flags)

Definition at line 68 of file runIDTPM.py.

◆ commonTrkAnaFlags

runIDTPM.commonTrkAnaFlags

Definition at line 57 of file runIDTPM.py.

◆ DirName

runIDTPM.DirName

Definition at line 48 of file runIDTPM.py.

◆ doExample

runIDTPM.doExample

Definition at line 62 of file runIDTPM.py.

◆ doWriteAOD_IDTPM

runIDTPM.doWriteAOD_IDTPM

Definition at line 55 of file runIDTPM.py.

◆ fileList

runIDTPM.fileList = glob( path )

Definition at line 34 of file runIDTPM.py.

◆ Files

runIDTPM.Files

Inputs.

Definition at line 32 of file runIDTPM.py.

◆ flags

runIDTPM.flags = initConfigFlags()

Definition at line 29 of file runIDTPM.py.

◆ MyArgs

runIDTPM.MyArgs = GetCustomAthArgs()

Parse the arguments.

Definition at line 25 of file runIDTPM.py.

◆ outputFilePrefix

runIDTPM.outputFilePrefix

Definition at line 49 of file runIDTPM.py.

◆ OutputLevel

runIDTPM.OutputLevel

Definition at line 42 of file runIDTPM.py.

◆ plotsCommonValuesFile

runIDTPM.plotsCommonValuesFile

Definition at line 52 of file runIDTPM.py.

◆ plotsDefFileList

runIDTPM.plotsDefFileList

Definition at line 51 of file runIDTPM.py.

◆ plotsDefFormat

runIDTPM.plotsDefFormat

Definition at line 50 of file runIDTPM.py.

◆ sc

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

Definition at line 79 of file runIDTPM.py.

◆ sortPlotsByChain

runIDTPM.sortPlotsByChain

Definition at line 53 of file runIDTPM.py.

◆ trkAnaCfgFile

runIDTPM.trkAnaCfgFile

Definition at line 54 of file runIDTPM.py.

◆ unpackTrigChains

runIDTPM.unpackTrigChains

Definition at line 56 of file runIDTPM.py.

◆ withDetails

runIDTPM.withDetails

Definition at line 76 of file runIDTPM.py.