6 Run ISF simulation on generated events and produce a HITS file. 
   17 msg.info(
'logging set in %s' % sys.argv[0])
 
   21 from PyJobTransforms.trfArgs 
import addAthenaArguments, addDetectorArguments
 
   22 from PyJobTransforms.trfDecorators 
import stdTrfExceptionHandler, sigUsrStackTrace
 
   23 from SimuJobTransforms.simTrfArgs 
import addForwardDetTrfArgs, addCommonSimTrfArgs, addCommonSimDigTrfArgs, addSim_tfArgs, addHITSMergeArgs
 
   28 ListOfDefaultPositionalKeys=[
'--AFPOn', 
'--ALFAOn', 
'--AMIConfig', 
'--AMITag', 
'--CosmicFilterVolume', 
'--CosmicFilterVolume2', 
'--CosmicPtSlice', 
'--DBRelease', 
'--DataRunNumber', 
'--FwdRegionOn', 
'--HGTDOn', 
'--LucidOn', 
'--ZDCOn', 
'--argJSON', 
'--asetup', 
'--athena', 
'--athenaMPEventsBeforeFork', 
'--athenaMPMergeTargetSize', 
'--athenaMPStrategy', 
'--athenaMPUseEventOrders', 
'--athenaopts', 
'--attempt', 
'--beamType', 
'--checkEventCount', 
'--command', 
'--conditionsTag', 
'--dumpJSON', 
'--dumpPickle', 
'--enableLooperKiller', 
'--env', 
'--eventAcceptanceEfficiency', 
'--eventService', 
'--execOnly', 
'--fileValidation', 
'--geometryVersion', 
'--ignoreErrors', 
'--ignoreFiles', 
'--ignorePatterns', 
'--imf', 
'--inputEVNT_TRFile', 
'--inputFileValidation', 
'--inputHITSFile', 
'--inputLogsFile', 
'--jobNumber', 
'--jobid', 
'--maxEvents', 
'--outputEVNT_TRFile', 
'--outputFileValidation', 
'--outputHITS_MRGFile', 
'--outputHITS_RSMFile', 
'--parallelFileValidation', 
'--physicsList', 
'--postExec', 
'--postInclude', 
'--preExec', 
'--preInclude', 
'--randomSeed', 
'--reportName', 
'--reportType', 
'--runNumber', 
'--sharedWriter', 
'--showGraph', 
'--showPath', 
'--showSteps', 
'--simulator', 
'--skipEvents', 
'--steering', 
'--taskid', 
'--tcmalloc', 
'--trackRecordType', 
'--truthStrategy', 
'--useISF', 
'--valgrind', 
'--valgrindDefaultOpts', 
'--valgrindExtraOpts']
 
   30 @stdTrfExceptionHandler
 
   34     msg.info(
'This is %s' % sys.argv[0])
 
   37     trf.parseCmdLineArgs(sys.argv[1:])
 
   39     if 'outputFileValidation' in  trf._argdict 
and  trf._argdict[
'outputFileValidation'].value 
is False:
 
   40         msg.info(
'Skipping report generation')
 
   44     msg.info(
"%s stopped at %s, trf exit code %d" % (sys.argv[0], time.asctime(), trf.exitCode))
 
   45     sys.exit(trf.exitCode)
 
   49     from SimuJobTransforms.SimTransformUtils 
import addReSimulationSubstep, addReSimulationArguments
 
   51     trf = 
transform(executor = executorSet, description = 
'ATLAS Simulation transform. Inputs must be HITS. Outputs must be HITS_RSM')
 
   67 if __name__ == 
'__main__':