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

Variables

 flags = initConfigFlags()
 parser
 action
 help
 threads
 args
 _
 Files
list collTypes = [ c.split("#")[0] for c in flags.Input.TypedCollections]
 MCCollectionName = None
 TruthCollectionName = None
 getName = lambda t: [ c.split("#")[1] for c in flags.Input.TypedCollections if c.split("#")[0] == t][0]
 acc = MainServicesCfg(flags)
 statusCode = acc.run()

Detailed Description

@file dumpTruth.py
@author RD Schaffer
@date 2023-08-04
@brief Script to print out truth events for HepMC (HITS, RDO) or TruthEvent (AOD)

Variable Documentation

◆ _

dumpTruth._
protected

Definition at line 25 of file dumpTruth.py.

◆ acc

dumpTruth.acc = MainServicesCfg(flags)

Definition at line 71 of file dumpTruth.py.

◆ action

dumpTruth.action

Definition at line 20 of file dumpTruth.py.

◆ args

dumpTruth.args

Definition at line 25 of file dumpTruth.py.

◆ collTypes

list dumpTruth.collTypes = [ c.split("#")[0] for c in flags.Input.TypedCollections]

Definition at line 31 of file dumpTruth.py.

◆ Files

dumpTruth.Files

Definition at line 29 of file dumpTruth.py.

◆ flags

dumpTruth.flags = initConfigFlags()

Definition at line 16 of file dumpTruth.py.

◆ getName

dumpTruth.getName = lambda t: [ c.split("#")[1] for c in flags.Input.TypedCollections if c.split("#")[0] == t][0]

Definition at line 34 of file dumpTruth.py.

◆ help

dumpTruth.help

Definition at line 21 of file dumpTruth.py.

◆ MCCollectionName

dumpTruth.MCCollectionName = None

Definition at line 32 of file dumpTruth.py.

◆ parser

dumpTruth.parser
Initial value:
1= flags.getArgumentParser(description='Run ASCII dumper of Truth on files with either HepMC or TruthEvent format.\
2 User MUST provide file(s) to read (--filesInput).\
3 Also, use --doPtEtaPhi for pt/eta/phi printout, and --skipEvents, --evtMax to select events.')

Definition at line 17 of file dumpTruth.py.

◆ statusCode

dumpTruth.statusCode = acc.run()

Definition at line 85 of file dumpTruth.py.

◆ threads

dumpTruth.threads

Definition at line 24 of file dumpTruth.py.

◆ TruthCollectionName

dumpTruth.TruthCollectionName = None

Definition at line 33 of file dumpTruth.py.