ATLAS Offline Software
Functions | Variables
FullChain_tf Namespace Reference

Functions

def main ()
 
def getTransform ()
 

Variables

 ListOfDefaultPositionalKeys
 

Function Documentation

◆ getTransform()

def FullChain_tf.getTransform ( )

Definition at line 40 of file FullChain_tf.py.

40 def getTransform():
41  executorSet = set()
42 
43  addRecoSubsteps(executorSet)
44  addDigitizationSubstep(executorSet)
45 
46 
47  # Sim + Digi - factor these out into an importable function in time
48  executorSet.add(athenaExecutor(name = 'TRtoHITS', skeletonFile = 'SimuJobTransforms/skeleton.EVGENtoHIT_ISF.py',
49  substep = 'simTRIn', tryDropAndReload = False, perfMonFile = 'ntuple.pmon.gz',
50  inData=['EVNT_TR'],
51  outData=['HITS','NULL'] ))
52  executorSet.add(athenaExecutor(name = 'EVNTtoHITS', skeletonFile = 'SimuJobTransforms/skeleton.EVGENtoHIT_ISF.py',
53  substep = 'sim', tryDropAndReload = False, perfMonFile = 'ntuple.pmon.gz',
54  inData=['NULL','EVNT'],
55  outData=['EVNT_TR','HITS','NULL'] ))
56 
57  trf = transform(executor = executorSet, description = 'Full chain ATLAS transform with ISF simulation, digitisation'
58  ' and reconstruction. Inputs can be EVNT, EVNT_TR, HITS, RDO, BS, ESD or AOD, with outputs of RDO, ESD, AOD or DPDs.'
59  ' See https://twiki.cern.ch/twiki/bin/viewauth/Atlas/FullChainTf for more details.')
60 
61  # Common arguments
62  addAthenaArguments(trf.parser)
63  addDetectorArguments(trf.parser)
64  addTriggerArguments(trf.parser)
65 
66  # Reconstruction arguments and outputs (use the factorised 'do it all' function)
67  addAllRecoArgs(trf)
68 
69  # Simulation and digitisation options
70  addCommonSimTrfArgs(trf.parser)
71  addCommonSimDigTrfArgs(trf.parser)
72  addCosmicsTrfArgs(trf.parser)
73  addBasicDigiArgs(trf.parser)
74  addSim_tfArgs(trf.parser)
75  addForwardDetTrfArgs(trf.parser)
76  addPileUpTrfArgs(trf.parser)
77  addCommonSimDigTrfArgs(trf.parser)
78  addTrackRecordArgs(trf.parser)
79 
80  return trf
81 

◆ main()

def FullChain_tf.main ( )

Definition at line 28 of file FullChain_tf.py.

28 def main():
29 
30  msg.info('This is %s', sys.argv[0])
31 
32  trf = getTransform()
33  trf.parseCmdLineArgs(sys.argv[1:])
34  trf.execute()
35  trf.generateReport()
36 
37  msg.info("%s stopped at %s, trf exit code %d", sys.argv[0], time.asctime(), trf.exitCode)
38  sys.exit(trf.exitCode)
39 

Variable Documentation

◆ ListOfDefaultPositionalKeys

FullChain_tf.ListOfDefaultPositionalKeys

Definition at line 24 of file FullChain_tf.py.

python.trfArgs.addDetectorArguments
def addDetectorArguments(parser)
Options related to the setup of the ATLAS detector (used in simulation and digitisation as well as re...
Definition: trfArgs.py:229
python.trfArgs.addTriggerArguments
def addTriggerArguments(parser, addTrigFilter=True)
Add trigger related arguments.
Definition: trfArgs.py:515
python.simTrfArgs.addCommonSimTrfArgs
def addCommonSimTrfArgs(parser)
Add common Simulation transform arguments to an argparse ArgumentParser.
Definition: simTrfArgs.py:181
python.simTrfArgs.addCommonSimDigTrfArgs
def addCommonSimDigTrfArgs(parser)
Add common Simulation/Digitization transform arguments to an argparse ArgumentParser.
Definition: simTrfArgs.py:196
python.simTrfArgs.addSim_tfArgs
def addSim_tfArgs(parser)
Add arguments used only by ISF-based simulation jobs.
Definition: simTrfArgs.py:146
python.recTransformUtils.addRecoSubsteps
def addRecoSubsteps(executorSet)
Add reconstruction substeps to a set object.
Definition: recTransformUtils.py:96
python.trfArgs.addAthenaArguments
def addAthenaArguments(parser, maxEventsDefaultSubstep='first', addValgrind=True, addPerfMon=True, addVTune=True)
Options related to running athena in general TODO: Some way to mask certain options (perExec,...
Definition: trfArgs.py:59
python.simTrfArgs.addForwardDetTrfArgs
def addForwardDetTrfArgs(parser)
Add Forward Detector transform arguments to an argparse ArgumentParser.
Definition: simTrfArgs.py:13
python.SimTransformUtils.addDigitizationSubstep
def addDigitizationSubstep(executorSet, in_reco_chain=False)
Definition: SimTransformUtils.py:133
FullChain_tf.main
def main()
Definition: FullChain_tf.py:28
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
FullChain_tf.getTransform
def getTransform()
Definition: FullChain_tf.py:40
python.simTrfArgs.addBasicDigiArgs
def addBasicDigiArgs(parser)
Add Basic digitization arguments to an argparse ArgumentParser.
Definition: simTrfArgs.py:35
CxxUtils::set
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Definition: bitmask.h:232
python.recTransformUtils.addAllRecoArgs
def addAllRecoArgs(trf)
The standard suite of reconstruction specific arguments.
Definition: recTransformUtils.py:127
python.simTrfArgs.addPileUpTrfArgs
def addPileUpTrfArgs(parser)
Add Pile-up related transform arguments to an argparse ArgumentParser.
Definition: simTrfArgs.py:73
python.simTrfArgs.addCosmicsTrfArgs
def addCosmicsTrfArgs(parser)
Add Cosmics related transform arguments to an argparse ArgumentParser.
Definition: simTrfArgs.py:119
python.simTrfArgs.addTrackRecordArgs
def addTrackRecordArgs(parser)
Add arguments used by simulation jobs which may read in or write out TrackRecord files.
Definition: simTrfArgs.py:132