Skip to content

Improved digitisation campaign configuration

Tadej Novak requested to merge tadej/athena:digi/campaigns into master

Improved digitisation campaign configuration:

  • per-campaign preIncludes both for legacy and CA-based configuration
  • separate ones for pile-up presampling
  • pile-up config is fully collected in the preInclude file, enabled if minbias inputs are present
  • same output between both configurations
  • a few extra flags had to be added to CA-based config
    • Digitization.InputBeamSigmaZ: for beam spot reweighting, missing before
    • Digitization.PU.BunchStructureConfig: for bunch structure configuration
    • Digitization.PU.ProfileConfig: for pile-up profile configuration
    • Digitization.PU.ForceSequentialEventNumbers: for forcing sequential event numbers for presampling (or validation)

Example MC20e presampling command:

Digi_tf.py \
--PileUpPresampling True \
--conditionsTag default:OFLCOND-MC16-SDR-RUN2-04 \
--digiSeedOffset1 170 --digiSeedOffset2 170 \
--digiSteeringConf "StandardSignalOnlyTruth" \
--geometryVersion default:ATLAS-R2-2016-01-00-01 \
--inputHITSFile ${HSHitsFile} \
--inputHighPtMinbiasHitsFile ${HighPtMinbiasHitsFiles} \
--inputLowPtMinbiasHitsFile ${LowPtMinbiasHitsFiles} \
--jobNumber 568 \
--maxEvents ${Events} \
--outputRDOFile ${DigiOutFileNameCG} \
--postExec 'all:CfgMgr.MessageSvc().setError+=["HepMcParticleLink"]' \
--postInclude 'default:PyJobTransforms/UseFrontier.py' \
--preInclude 'HITtoRDO:Campaigns/PileUpPresamplingMC20e.py' \
--skipEvents 0

Example MC20e pile-up digi command:

Digi_tf.py \
--conditionsTag default:OFLCOND-MC16-SDR-RUN2-04 \
--digiSeedOffset1 170 --digiSeedOffset2 170 \
--digiSteeringConf "StandardSignalOnlyTruth" \
--geometryVersion default:ATLAS-R2-2016-01-00-01 \
--inputHITSFile ${HSHitsFile} \
--inputHighPtMinbiasHitsFile ${HighPtMinbiasHitsFiles} \
--inputLowPtMinbiasHitsFile ${LowPtMinbiasHitsFiles} \
--jobNumber 568 \
--maxEvents ${Events} \
--outputRDOFile ${DigiOutFileNameCG} \
--postExec 'all:CfgMgr.MessageSvc().setError+=["HepMcParticleLink"]' \
--postInclude 'default:PyJobTransforms/UseFrontier.py' \
--preInclude 'all:Campaigns/MC20e.py' 'HITtoRDO:Campaigns/PileUpMC20e.py' \
--skipEvents 0

Example MC20e CA-based presampling:

Digi_tf.py \
--CA \
--PileUpPresampling True \
--conditionsTag default:OFLCOND-MC16-SDR-RUN2-04 \
--digiSeedOffset1 170 --digiSeedOffset2 170 \
--digiSteeringConf "StandardSignalOnlyTruth" \
--geometryVersion default:ATLAS-R2-2016-01-00-01 \
--inputHITSFile ${HSHitsFile} \
--inputHighPtMinbiasHitsFile ${HighPtMinbiasHitsFiles} \
--inputLowPtMinbiasHitsFile ${LowPtMinbiasHitsFiles} \
--jobNumber 568 \
--maxEvents ${Events} \
--outputRDOFile ${DigiOutFileNameCA} \
--postInclude 'PyJobTransforms.UseFrontier' \
--preInclude 'all:Campaigns.MC20e' \
--skipEvents 0

Note that this MR is a bit large and I'm happy to try to split it. It was just the easiest to do all at once. What is still missing is the ability to set flat pile-up profile in CA-based config, but the MR is large enough already.

ART tests are all green locally. No output change is expected.

Tagging a few people of interest: @jchapman @mduehrss @wlampl @pavol @jferrand @dhayden @jdandoy @abasalae @emoyse @elmsheus

Edited by Tadej Novak

Merge request reports

Loading