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

Functions

 main ()
 getTransform ()

Variables

list ListOfDefaultPositionalKeys = ['--AMIConfig', '--AMITag', '--DBRelease', '--DataRunNumber', '--Eta', '--Theta', '--Z', '--asetup', '--athena', '--athenaopts', '--beamType', '--checkEventCount', '--command', '--conditionsTag', '--enableLooperKiller', '--env', '--eventAcceptanceEfficiency', '--execOnly', '--firstEvent', '--geometryVersion', '--ignoreErrors', '--ignoreFiles', '--ignorePatterns', '--imf', '--inputEvgenFile', '--jobNumber', '--maxEvents', '--outputHITSFile', '--physicsList', '--postExec', '--postInclude', '--preExec', '--preInclude', '--randomSeed', '--reportName', '--reportType', '--runNumber', '--showGraph', '--showPath', '--showSteps', '--skipEvents', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation', '--tcmalloc', '--testBeamConfig', '--useISF']

Detailed Description

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

Function Documentation

◆ getTransform()

TestBeam_tf.getTransform ( )

Definition at line 42 of file TestBeam_tf.py.

42def getTransform():
43 trf = transform(executor = athenaExecutor(name = 'TestBeamTf', skeletonCA = 'SimuJobTransforms.TestBeam_Skeleton',
44 substep = 'TBsim', tryDropAndReload = False, perfMonFile = 'ntuple.pmon.gz', inData=['NULL','Evgen'], outData=['HITS','NULL'] )) #may have to add evgen to outData if cosmics/cavern background jobs don't work.
45 addAthenaArguments(trf.parser)
46 addDetectorArguments(trf.parser)
47 addSimIOTrfArgs(trf.parser)
48 addCommonSimTrfArgs(trf.parser)
49 addCommonSimDigTrfArgs(trf.parser)
50 addTestBeamArgs(trf.parser)
51 return trf
52

◆ main()

TestBeam_tf.main ( )

Definition at line 27 of file TestBeam_tf.py.

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

Variable Documentation

◆ ListOfDefaultPositionalKeys

list TestBeam_tf.ListOfDefaultPositionalKeys = ['--AMIConfig', '--AMITag', '--DBRelease', '--DataRunNumber', '--Eta', '--Theta', '--Z', '--asetup', '--athena', '--athenaopts', '--beamType', '--checkEventCount', '--command', '--conditionsTag', '--enableLooperKiller', '--env', '--eventAcceptanceEfficiency', '--execOnly', '--firstEvent', '--geometryVersion', '--ignoreErrors', '--ignoreFiles', '--ignorePatterns', '--imf', '--inputEvgenFile', '--jobNumber', '--maxEvents', '--outputHITSFile', '--physicsList', '--postExec', '--postInclude', '--preExec', '--preInclude', '--randomSeed', '--reportName', '--reportType', '--runNumber', '--showGraph', '--showPath', '--showSteps', '--skipEvents', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation', '--tcmalloc', '--testBeamConfig', '--useISF']

Definition at line 23 of file TestBeam_tf.py.