Skip to content

Add configuration code to test G4Region changes discussed in ATLASSIM-6426

Adding a new CA-based preInclude: SimuJobTransforms.G4Optimizations.WoodcockTrackingInEMEC, which activates Woodcock tracking in the EMEC rather than EMECPara G4Region.

Adding a new CA-based postInclude: SimuJobTransforms.G4Optimizations.PostIncludeTweakPhysicsRegionsCfg, which drops the BeamPipe::SectionF198 and BeamPipe::SectionF199 volumes from the DeadMaterial G4Region (used by the "DeadMaterialShower" fast sim model), to avoid a clash with the BeampipeFwdCut G4Region (used by the "BeamPipeKiller" fast sim model). See full discussion in ATLASSIM-6426.

These functions will allow the above changes to be checked by physics validation, before we decide whether to make the revised configuration the default.

Example Sim_tf.py command using the new functions:

Sim_tf.py \
    --CA \
    --multithreaded \
    --conditionsTag 'default:OFLCOND-MC21-SDR-RUN3-07' \
    --simulator 'FullG4MT_QS' \
    --postInclude 'PyJobTransforms.UseFrontier,SimuJobTransforms.G4Optimizations.PostIncludeTweakPhysicsRegionsCfg' \
    --preInclude 'EVNTtoHITS:Campaigns.MC23aSimulationMultipleIoV,SimuJobTransforms.G4Optimizations.WoodcockTrackingInEMEC' \
    --geometryVersion 'default:ATLAS-R3S-2021-03-01-00' \
    --inputEVNTFile "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/CampaignInputs/mc21/EVNT/mc21_13p6TeV.601229.PhPy8EG_A14_ttbar_hdamp258p75_SingleLep.evgen.EVNT.e8453/EVNT.29328277._003902.pool.root.1" \
    --outputHITSFile "test.CA.HITS.pool.root" \
    --maxEvents 50 \
    --jobNumber 1 \
    --postExec 'with open("ConfigSimCA.pkl", "wb") as f: cfg.store(f)' \
    --imf False

Merge request reports