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

Functions

 get_args ()

Variables

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

Function Documentation

◆ get_args()

runSecVtxTruthMatching.get_args ( )

Definition at line 6 of file runSecVtxTruthMatching.py.

6def 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,50, 72, 31, 32, 3000001])
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 parser.add_argument("--useMuSA", help='Use MuSA configuration instead of default', action='store_true', default=False)
18 parser.add_argument("--doSMOrigin", help="Turn on optional SM origin matching", action='store_true', default=False)
19 return parser.parse_args()
20

Variable Documentation

◆ acc

runSecVtxTruthMatching.acc = MainServicesCfg(flags)

Definition at line 39 of file runSecVtxTruthMatching.py.

◆ args

runSecVtxTruthMatching.args = get_args()

Definition at line 23 of file runSecVtxTruthMatching.py.

◆ Files

runSecVtxTruthMatching.Files

Definition at line 28 of file runSecVtxTruthMatching.py.

◆ flags

runSecVtxTruthMatching.flags = initConfigFlags()

Definition at line 26 of file runSecVtxTruthMatching.py.

◆ HISTFileName

runSecVtxTruthMatching.HISTFileName

Definition at line 31 of file runSecVtxTruthMatching.py.

◆ MaxEvents

runSecVtxTruthMatching.MaxEvents

Definition at line 34 of file runSecVtxTruthMatching.py.

◆ sc

runSecVtxTruthMatching.sc = acc.run()

Definition at line 66 of file runSecVtxTruthMatching.py.

◆ SkipEvents

runSecVtxTruthMatching.SkipEvents

Definition at line 33 of file runSecVtxTruthMatching.py.

◆ withDetails

runSecVtxTruthMatching.withDetails

Definition at line 63 of file runSecVtxTruthMatching.py.