ATLAS Offline Software
Functions | Variables
runSecVtxTruthMatching Namespace Reference

Functions

def get_args ()
 

Variables

def args = get_args()
 
 flags = initConfigFlags()
 
 Files
 
 HISTFileName
 
 SkipEvents
 
 MaxEvents
 
 acc = MainServicesCfg(flags)
 
 withDetails
 
 sc = acc.run()
 

Function Documentation

◆ get_args()

def runSecVtxTruthMatching.get_args ( )

Definition at line 6 of file runSecVtxTruthMatching.py.

6 def get_args():
7  from argparse import ArgumentParser
8  parser = ArgumentParser(description='Parser for SecVertexTruthMatching 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("--mergeLargeD0Tracks", help='Consider LRT tracks in the matching', action='store_true', default=False)
13  parser.add_argument("--outputFile", help='Name of output file',default="TruthMatchHists.root")
14  parser.add_argument("--pdgIds", help='List of pdgIds to match', nargs='+', type=int, default=[36,51])
15  parser.add_argument("--vertexContainer", help='SG key of secondary vertex container',default='VrtSecInclusive_SecondaryVertices')
16  parser.add_argument("--truthVertexContainer", help='SG key of truth vertex container',default='TruthVertices')
17  return parser.parse_args()
18 

Variable Documentation

◆ acc

runSecVtxTruthMatching.acc = MainServicesCfg(flags)

Definition at line 37 of file runSecVtxTruthMatching.py.

◆ args

def runSecVtxTruthMatching.args = get_args()

Definition at line 21 of file runSecVtxTruthMatching.py.

◆ Files

runSecVtxTruthMatching.Files

Definition at line 26 of file runSecVtxTruthMatching.py.

◆ flags

runSecVtxTruthMatching.flags = initConfigFlags()

Definition at line 24 of file runSecVtxTruthMatching.py.

◆ HISTFileName

runSecVtxTruthMatching.HISTFileName

Definition at line 29 of file runSecVtxTruthMatching.py.

◆ MaxEvents

runSecVtxTruthMatching.MaxEvents

Definition at line 32 of file runSecVtxTruthMatching.py.

◆ sc

runSecVtxTruthMatching.sc = acc.run()

Definition at line 53 of file runSecVtxTruthMatching.py.

◆ SkipEvents

runSecVtxTruthMatching.SkipEvents

Definition at line 31 of file runSecVtxTruthMatching.py.

◆ withDetails

runSecVtxTruthMatching.withDetails

Definition at line 50 of file runSecVtxTruthMatching.py.

runSecVtxTruthMatching.get_args
def get_args()
Definition: runSecVtxTruthMatching.py:6