Skip to content

Added forceFullSimConfig for EGamma analysis configs for testing (ATLASG-2661)

Thomas Strebler requested to merge tstreble/athena:ATLASG-2661 into main

Follow up to !67929 (merged), which introduced a hard error in case latest EGamma recommendations are used with fast sim samples

ElectronCalibra...  ERROR Sample is FastSim but no AF3 calibration is available yet with es2022_R22_PRE recommendations. Please get in touch with the EGamma CP group in case you are using this 

A configurable property is introduced here to force the use of full sim EGamma configs on fast sim samples for testing purposes. Clear warnings are displayed in that case.

        if self.forceFullSimConfig:
            print("WARNING! You are running ElectronWorkingPointConfig forcing full sim config")
            print("WARNING! This is only intended to be used for testing purposes")

Configuration exploited to solve failing Analysis tests, closes ATLASG-2661

Merge request reports