ATLAS Offline Software
Functions | Variables
ReSim_tf Namespace Reference

Functions

def main ()
 
def getTransform ()
 

Variables

 ListOfDefaultPositionalKeys
 

Function Documentation

◆ getTransform()

def ReSim_tf.getTransform ( )

Definition at line 47 of file ReSim_tf.py.

47 def getTransform():
48  executorSet = set()
49  from SimuJobTransforms.SimTransformUtils import addReSimulationSubstep, addReSimulationArguments
50  addReSimulationSubstep(executorSet)
51  trf = transform(executor = executorSet, description = 'ATLAS Simulation transform. Inputs must be HITS. Outputs must be HITS_RSM')
52  addAthenaArguments(trf.parser)
53  addDetectorArguments(trf.parser)
54  addReSimulationArguments(trf.parser)
55  return trf
56 

◆ main()

def ReSim_tf.main ( )

Definition at line 32 of file ReSim_tf.py.

32 def main():
33 
34  msg.info('This is %s' % sys.argv[0])
35 
36  trf = getTransform()
37  trf.parseCmdLineArgs(sys.argv[1:])
38  trf.execute()
39  if 'outputFileValidation' in trf._argdict and trf._argdict['outputFileValidation'].value is False:
40  msg.info('Skipping report generation')
41  else:
42  trf.generateReport()
43 
44  msg.info("%s stopped at %s, trf exit code %d" % (sys.argv[0], time.asctime(), trf.exitCode))
45  sys.exit(trf.exitCode)
46 

Variable Documentation

◆ ListOfDefaultPositionalKeys

ReSim_tf.ListOfDefaultPositionalKeys

Definition at line 28 of file ReSim_tf.py.

python.SimTransformUtils.addReSimulationSubstep
def addReSimulationSubstep(executorSet)
Definition: SimTransformUtils.py:95
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.SimTransformUtils.addReSimulationArguments
def addReSimulationArguments(parser)
Definition: SimTransformUtils.py:34
ReSim_tf.main
def main()
Definition: ReSim_tf.py:32
ReSim_tf.getTransform
def getTransform()
Definition: ReSim_tf.py:47
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
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
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