ATLAS Offline Software
TrigEgammaConfigFlags.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.AthConfigFlags import AthConfigFlags
4 
6  flags = AthConfigFlags()
7 
8  # Particle ID tune
9  flags.addFlag('Trigger.egamma.electronPidVersion' , 'ElectronPhotonSelectorTools/trigger/rel21_20232105/')
10  flags.addFlag('Trigger.egamma.electronNoPixPidVersion' , 'ElectronPhotonSelectorTools/trigger/rel21_20232105/')
11  flags.addFlag('Trigger.egamma.electronNoGSFPidVersion' , 'ElectronPhotonSelectorTools/trigger/rel21_20232105/')
12  flags.addFlag('Trigger.egamma.electronNoGSFNoPixPidVersion', 'ElectronPhotonSelectorTools/trigger/rel21_20232105/')
13  flags.addFlag('Trigger.egamma.electronHIPidVersion' , 'ElectronPhotonSelectorTools/trigger/rel22_20210611/')
14  flags.addFlag('Trigger.egamma.photonPidVersion' , 'ElectronPhotonSelectorTools/trigger/rel22_20210611/')
15  flags.addFlag('Trigger.egamma.dnnVersion' , 'ElectronPhotonSelectorTools/trigger/rel22_20230405_LHinput/')
16  flags.addFlag('Trigger.egamma.ringerVersion' , 'RingerSelectorTools/trigger/Run3_20230316_v1')
17  flags.addFlag('Trigger.egamma.photonRingerVersion' , 'ElectronPhotonSelectorTools/trigger/rel23_20241003')
18 
19 
20  # cluster correction version, allowed value is: None or v12phiflip_noecorrnogap
21  flags.addFlag('Trigger.egamma.clusterCorrectionVersion', 'v12phiflip_noecorrnogap')
22 
23  # tune of MVA
24  flags.addFlag('Trigger.egamma.Calib.precCaloMVAVersion' , 'egammaMVACalib/online/v7')
25  flags.addFlag('Trigger.egamma.Calib.precEgammaMVAVersion', 'egammaMVACalib/online/v7')
26 
27  # Dump rings cells information at FastCalo
28  flags.addFlag('Trigger.egamma.dumpCellsFastCaloInfo', False)
29 
30  # Do QuarterRings feature extraction at Fastcalo
31  flags.addFlag('Trigger.egamma.doQuarterRings', False)
32 
33  # Build rings with a sigmanoise factor constraint / phase2 studies
34  flags.addFlag('Trigger.egamma.doNoiseThrRings', False)
35  flags.addFlag('Trigger.egamma.sigmaNoiseFactor',2.0)
36 
37  # Fastcalo bdt calibration
38  flags.addFlag('Trigger.egamma.fastCaloETCalibration',False)
39  flags.addFlag('Trigger.egamma.fastCaloETCalibrationVersion','egammaFastCaloCalib/online/v0')
40  flags.addFlag('Trigger.egamma.CalibrationETThreshold', 3.)
41  return flags
42 
43 
44 if __name__ == "__main__":
45  from AthenaConfiguration.AllConfigFlags import initConfigFlags
46  from AthenaConfiguration.TestDefaults import defaultTestFiles
47  flags = initConfigFlags()
48  flags.Input.Files = defaultTestFiles.RAW_RUN2
49  flags.lock()
50  flags.dump("Egamma|Trigger")
python.HLT.Egamma.TrigEgammaConfigFlags.createTrigEgammaConfigFlags
def createTrigEgammaConfigFlags()
Definition: TrigEgammaConfigFlags.py:5
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition: AllConfigFlags.py:19