Skip to content

Draft: Introduce MCCampaign command line option to steer the PileUpReweighting in the TRF

Johannes Elmsheuser requested to merge elmsheus/athena:physlite_20220909 into master

Introduce --MCCampaign command line option in the TRF metadata section. This option can used to manually steer the PileUpReweighting configuration in the DAOD_PHYSLITE production, as done in the parallel updated corresponding ART test scripts in the TrfTestsART package.

The autoconfiguration does not work in the q443/q445/q449 cases with the sparsely populated hard-coded configuration at https://gitlab.cern.ch/atlas/athena/-/blob/master/Tools/Campaigns/python/Utils.py and is missing in addition the proper run period information that is needed to correctly pick-up the info from https://gitlab.cern.ch/atlas/athena/-/blob/master/PhysicsAnalysis/AnalysisCommon/PileupReweighting/python/AutoconfigurePRW.py. Currently only the legacy configuration of DAOD_PHYSLITE is patched and is missing the update for the CA part of the DAOD_PHYSLITE. In the current setup it's still not optional that one has to use --MCCampaign in the q449 (Run3 data) test.

Tagging @tadej, @hrussell, @vimartin, @jcatmore, @calpigia, @schaarsc, @nstyles for feedback here on this draft MR if all this is a good idea or if there are other plans in the works already esp. for the CA-based workflow.

Merge request reports