ATLAS Offline Software
Functions | Variables
runVertexTemplate Namespace Reference

Functions

def GetCustomAthArgs ()
 

Variables

def MyArgs = GetCustomAthArgs()
 
 flags = initConfigFlags()
 
 Files
 
 SkipEvents
 
 MaxEvents
 
 triggerConfig
 
 enableLumiAccess
 
 HISTFileName
 
 acc = MainServicesCfg(flags)
 
 helper = AthMonitorCfgHelper(flags, "BeamSpotMonitoring")
 
 withDetails
 
 sc = acc.run()
 

Function Documentation

◆ GetCustomAthArgs()

def runVertexTemplate.GetCustomAthArgs ( )

Definition at line 6 of file runVertexTemplate.py.

6 def GetCustomAthArgs():
7  from argparse import ArgumentParser
8  parser = ArgumentParser(description='Parser for IDPVM configuration')
9  parser.add_argument("--filesInput", required=True)
10  parser.add_argument("--maxEvents", help="Limit number of events. Default: all input events", default=-1, type=int)
11  parser.add_argument("--skipEvents", help="Skip this number of events. Default: no events are skipped", default=0, type=int)
12  parser.add_argument("--outputDBFile", help="Name of output DB file", default="beamspot.db", type=str)
13  parser.add_argument("--outputHistFile", help="Name of output hist file", default="nt.root", type=str)
14  parser.add_argument("--doMonitoring", help="Run monitoring", action='store_true')
15  parser.add_argument("--outputMonFile", help="Name of output monitoring file",
16  default="beamspotmonitoring.root", type=str)
17  return parser.parse_args()
18 
19 # Parse the arguments

Variable Documentation

◆ acc

runVertexTemplate.acc = MainServicesCfg(flags)

Definition at line 39 of file runVertexTemplate.py.

◆ enableLumiAccess

runVertexTemplate.enableLumiAccess

Definition at line 33 of file runVertexTemplate.py.

◆ Files

runVertexTemplate.Files

Definition at line 25 of file runVertexTemplate.py.

◆ flags

runVertexTemplate.flags = initConfigFlags()

Definition at line 23 of file runVertexTemplate.py.

◆ helper

runVertexTemplate.helper = AthMonitorCfgHelper(flags, "BeamSpotMonitoring")

Definition at line 52 of file runVertexTemplate.py.

◆ HISTFileName

runVertexTemplate.HISTFileName

Definition at line 34 of file runVertexTemplate.py.

◆ MaxEvents

runVertexTemplate.MaxEvents

Definition at line 30 of file runVertexTemplate.py.

◆ MyArgs

def runVertexTemplate.MyArgs = GetCustomAthArgs()

Definition at line 20 of file runVertexTemplate.py.

◆ sc

runVertexTemplate.sc = acc.run()

Definition at line 61 of file runVertexTemplate.py.

◆ SkipEvents

runVertexTemplate.SkipEvents

Definition at line 29 of file runVertexTemplate.py.

◆ triggerConfig

runVertexTemplate.triggerConfig

Definition at line 32 of file runVertexTemplate.py.

◆ withDetails

runVertexTemplate.withDetails

Definition at line 58 of file runVertexTemplate.py.

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