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

Functions

 main ()
 getTransform ()

Variables

list ListOfDefaultPositionalKeys = ['--AFPOn', '--ALFAOn', '--CosmicFilterVolume', '--CosmicFilterVolume2', '--CosmicPtSlice', '--DBRelease', '--DataRunNumber', '--FwdRegionOn', '--LucidOn', '--ZDCOn', '--amiConfig', '--amiMetadataTag', '--asetup', '--athena', '--athenaopts', '--beamType', '--checkEventCount', '--command', '--conditionsTag', '--enableLooperKiller', '--env', '--eventAcceptanceEfficiency', '--execOnly', '--firstEvent', '--geometryVersion', '--ignoreErrors', '--ignoreFiles', '--ignorePatterns', '--imf', '--inputEVNTFile', '--inputEVNT_TRFile', '--jobNumber', '--maxEvents', '--outputEVNT_TRFile', '--outputHITSFile', '--physicsList', '--postExec', '--postInclude', '--preExec', '--preInclude', '--randomSeed', '--reportName', '--reportType', '--runNumber', '--showGraph', '--showPath', '--showSteps', '--simulator', '--skipEvents', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation', '--tcmalloc', '--useISF']

Detailed Description

Run ISF simulation on generated events and produce a HITS file.

Function Documentation

◆ getTransform()

Sim_tf.getTransform ( )

Definition at line 48 of file Sim_tf.py.

48def getTransform():
49 executorSet = set()
50 from SimuJobTransforms.SimTransformUtils import addSimulationSubstep, addSimulationArguments
51 addSimulationSubstep(executorSet)
52 trf = transform(executor = executorSet, description = 'ATLAS Simulation transform. Inputs must be EVNT else a single particle Generator job options must be specified. Outputs must be HITS or TrackRecords.')
53 addAthenaArguments(trf.parser)
54 addDetectorArguments(trf.parser)
55 addSimulationArguments(trf.parser)
56 return trf
57
STL class.

◆ main()

Sim_tf.main ( )

Definition at line 33 of file Sim_tf.py.

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

Variable Documentation

◆ ListOfDefaultPositionalKeys

list Sim_tf.ListOfDefaultPositionalKeys = ['--AFPOn', '--ALFAOn', '--CosmicFilterVolume', '--CosmicFilterVolume2', '--CosmicPtSlice', '--DBRelease', '--DataRunNumber', '--FwdRegionOn', '--LucidOn', '--ZDCOn', '--amiConfig', '--amiMetadataTag', '--asetup', '--athena', '--athenaopts', '--beamType', '--checkEventCount', '--command', '--conditionsTag', '--enableLooperKiller', '--env', '--eventAcceptanceEfficiency', '--execOnly', '--firstEvent', '--geometryVersion', '--ignoreErrors', '--ignoreFiles', '--ignorePatterns', '--imf', '--inputEVNTFile', '--inputEVNT_TRFile', '--jobNumber', '--maxEvents', '--outputEVNT_TRFile', '--outputHITSFile', '--physicsList', '--postExec', '--postInclude', '--preExec', '--preInclude', '--randomSeed', '--reportName', '--reportType', '--runNumber', '--showGraph', '--showPath', '--showSteps', '--simulator', '--skipEvents', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation', '--tcmalloc', '--useISF']

Definition at line 29 of file Sim_tf.py.