8 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
14 "xAOD::CPMTowerContainer/CPMTowers",
15 "xAOD::CPMTowerAuxContainer/CPMTowersAux.",
17 "xAOD::TriggerTowerContainer/xAODTriggerTowers",
18 "xAOD::TriggerTowerAuxContainer/xAODTriggerTowersAux.",
20 "xAOD::JetElementContainer/JetElements",
21 "xAOD::JetElementAuxContainer/JetElementsAux.",
26 from ByteStreamCnvSvc.ByteStreamConfig
import ByteStreamReadCfg
29 from TrigT1ResultByteStream.TrigT1ResultByteStreamConfig
import L1TriggerByteStreamDecoderCfg
32 from TriggerJobOpts.TriggerRecoConfig
import TriggerRecoCfg
36 from L1CaloFEXByteStream.L1CaloFEXByteStreamConfig
import eFexByteStreamToolCfg
40 from L1CaloFEXByteStream.L1CaloFEXByteStreamConfig
import gFexByteStreamToolCfg
44 from L1CaloFEXByteStream.L1CaloFEXByteStreamConfig
import jFexRoiByteStreamToolCfg
48 from L1CaloFEXSim.L1CaloFEXSimCfg
import ReadSCellFromByteStreamCfg
52 from L1CaloFEXAlgos.L1CaloFEXAlgosConfig
import L1CalojFEXDecoratorCfg
56 from L1CaloFEXAlgos.FexEmulatedTowersConfig
import jFexEmulatedTowersCfg
60 from TrigT1CaloMonitoring.MistimedStreamMonitorAlgorithm
import MistimedStreamMonitorConfig
62 acc.merge(MistimedStreamMonitorCfg)
64 MistimedStreamMonitorCfg.OutputLevel = 1
72 if __name__ ==
"__main__":
73 from optparse
import OptionParser
74 parser = OptionParser(usage =
"usage: %prog arguments", version=
"%prog")
75 parser.add_option(
"-r", dest=
"runNumber",type=
"string", help=
"Input raw data run number (default: %default)")
76 parser.add_option(
"-v", dest=
"systemVersion",type=
"string", help=
"Input legacy or phaseI (default: %default)")
77 parser.set_defaults(runNumber=
"00455857", systemVersion=
"phaseI")
78 (options,args) = parser.parse_args()
80 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
82 flags.Trigger.triggerConfig=
'DB'
83 flags.Exec.MaxEvents = -1
84 flags.GeoModel.AtlasVersion =
'ATLAS-R3S-2021-03-02-00'
85 flags.Trigger.EDMVersion = 3
86 flags.Trigger.L1.doCTP =
True
87 flags.Trigger.enableL1CaloPhase1 =
True
88 flags.IOVDb.GlobalTag =
'CONDBR2-BLKPA-2023-01'
91 runNumber = options.runNumber
92 systemVersion = options.systemVersion
93 flags.Input.Files = glob.glob(
"/eos/atlas/atlastier0/rucio/data24_13p6TeV/physics_Mistimed/"+runNumber+
"/data24_13p6TeV."+runNumber+
".physics_Mistimed.merge.RAW/data24_13p6TeV."+runNumber+
".physics_Mistimed.merge.RAW._lb*._SFO-ALL._0001.1")
95 flags.Trigger.DecisionMakerValidation.Execute=
False
96 flags.Trigger.DecisionMakerValidation.ErrorMode=
False
98 flags.Output.HISTFileName =
"MistimedPhI_"+runNumber+
"_"+systemVersion+
".root"
102 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
106 sysAcc.printConfig(withDetails=
True, summariseProps=
True)
109 if (systemVersion==
"legacy") :
115 status = sysAcc.run()
119 sys.exit(
not status.isSuccess())