194 """Check overlay metadata"""
195 if flags.Overlay.DataOverlay:
196 files = flags.Input.Files
197 filesPileup = flags.Input.SecondaryFiles
199 files = flags.Input.SecondaryFiles
200 filesPileup = flags.Input.Files
204 signalSimulationMetadata = signalMetadata[
"/Simulation/Parameters"]
205 signalTagInfoMetadata = signalMetadata[
"/TagInfo"]
211 logger.info(
"Simulation metadata check not done due to no inputs")
214 if not flags.Overlay.DataOverlay
and filesPileup:
216 pileupDigitizationMetadata = pileupMetaDataCheck[
"/Digitization/Parameters"]
217 pileupSimulationMetadata = pileupMetaDataCheck[
"/Simulation/Parameters"]
218 pileupTagInfoMetadata = pileupMetaDataCheck[
"/TagInfo"]
220 logger.info(
"Checking Presampled pile-up metadata against Signal Simulation metadata...")
223 logger.info(
"Completed all checks against Presampled pile-up Simulation metadata.")
225 if pileupDigitizationMetadata: