Skip to content

Make PileupReweightingBlock copy relevant vars to output for PHYSLITE files

Ryan Quinn requested to merge rquinn/athena:prw-copy-output-for-physlite into main

By default PileupReweightingBlock does not do anything to PHYSLITE files as they already have pileup/beamspot weight variables.

However, those variables are not copied to the output file, and thus any outputs created from a PHYSLITE input will be missing runNumber, eventNumber, mcChannelNumber, weight_pileup_%SYS%, and weight_beamspot.

This MR updates PileupReweightingBlock to copy the information from the input to the output, following the same naming structure as would be created for e.g. a PHYS input.

Merge request reports