Skip to content

Draft: [Simulation] EMEC simulation AF3 in G4

Rui Zhang requested to merge zhangr/athena:rui_emec_study_24.0.62 into 24.0

Implement FastCaloSimEMEC class to run AF3 in EMEC (e/y |eta| in 1.5-3.2) and G4 elsewhere. Study to accelerate full simulation.

It supports to run Geant4 only, AF3 only, and Geant4+AF3 with a threshold of kinematic energy of < 8GeV (for AF3)

G4 only:

AtlasG4_tf.py --inputEVNTFile $EVNTfile --outputHITSFile /tmp/HITS_$tmp --runNumber 601229 --maxEvents=$nevent --skipEvents 0 --postInclude 'default:PyJobTransforms.UseFrontier' --physicsList="FTFP_BERT_ATL" --conditionsTag "default:OFLCOND-MC23-SDR-RUN3-01" --geometryVersion="default:ATLAS-R3S-2021-03-02-00" --imf False --CA --preInclude 'sim:Campaigns.MC23cSimulationMultipleIoV'

AF3 only (including simplified Geometry):

PATH_TO_SIMPLIFIED_GEO='FastCaloSim/MC23/GeoFiles/v02/simplified_geo.gdml'

AtlasG4_tf.py --inputEVNTFile $EVNTfile --outputHITSFile /tmp/HITS_$tmp --runNumber 601229 --maxEvents=$nevent --skipEvents 0 --postInclude 'default:PyJobTransforms.UseFrontier' --physicsList="FTFP_BERT_ATL" --conditionsTag "default:OFLCOND-MC23-SDR-RUN3-01" --geometryVersion="default:ATLAS-R3S-2021-03-02-00" --imf False --CA --preInclude 'sim:Campaigns.MC23cSimulationMultipleIoV,SimuJobTransforms.FastCaloSim' --preExec "AtlasG4Tf:flags.Sim.SimplifiedGeoPath='${PATH_TO_SIMPLIFIED_GEO}';flags.Sim.EMEC.doEMECFCS=False;"

G4+AF3:

PATH_TO_SIMPLIFIED_GEO='FastCaloSim/MC23/GeoFiles/v02/simplified_geo.gdml'

AtlasG4_tf.py --inputEVNTFile $EVNTfile --outputHITSFile /tmp/HITS_$tmp --runNumber 601229 --maxEvents=$nevent --skipEvents 0 --postInclude 'default:PyJobTransforms.UseFrontier' --physicsList="FTFP_BERT_ATL" --conditionsTag "default:OFLCOND-MC23-SDR-RUN3-01" --geometryVersion="default:ATLAS-R3S-2021-03-02-00" --imf False --CA --preInclude 'sim:Campaigns.MC23cSimulationMultipleIoV,SimuJobTransforms.FastCaloSim' --preExec "AtlasG4Tf:flags.Sim.SimplifiedGeoPath='${PATH_TO_SIMPLIFIED_GEO}';flags.Sim.EMEC.doEMECFCS=True;flags.Sim.EMEC.EMECEkinHigh=8192;flags.Sim.EMEC.EMECEtaLow=1.5;flags.Sim.EMEC.EMECEtaHigh=3.2"

8192, 1.5, 3.2 in --preExec are the default values.

For completeness, following are Reco TF command:

Reco_tf.py  --inputHITSFile $HITSfile --outputAODFile /tmp/AOD_$tmp --autoConfiguration 'everything' --maxEvents $nevent --skipEvents=0 --conditionsTag 'default:OFLCOND-MC23-SDR-RUN3-06' --geometryVersion 'default:ATLAS-R3S-2021-03-02-00' --CA "all:True" --preInclude "all:Campaigns.MC23c" --steering 'doRAWtoALL' --postInclude "default:PyJobTransforms.UseFrontier" --AMITag r15616 --AMIConfig r15616 --preExec 'all:from SimulationConfig.SimEnums import LArParameterization;flags.Sim.LArParameterization=LArParameterization.FastCaloSim'

Tagging simulation conveners @schaarsc @mbandier and FCS convener @jbeirer .

Edited by Rui Zhang

Merge request reports