18def createTrigCTPConfigFlags():
19 flags = AthConfigFlags()
20
21 flags.addFlag('Trigger.CTP.UseEDMxAOD',lambda flags: True if (flags.GeoModel.Run >= LHCPeriod.Run3 and not flags.Trigger.doHLT and not zdcOnly(flags)) else False,
22 help='Use xAOD EDM (xAOD::CTPResult) instead of Run 2 EDM (ROIB::CTP_RDO)'
23 )
24
25 flags.addFlag('Trigger.CTP.UseRoibROB',lambda flags: False if (flags.GeoModel.Run >= LHCPeriod.Run3 and not flags.Trigger.doHLT and not zdcOnly(flags)) else True,
26 help='Use ROIB ROB which includes only L1A bunch information, or CTP ROB with information about all bunches in the readout window (default window of +/-1 bunch around L1A bunch for Run 3).'
27 )
28
29 return flags
30
31