8 from optparse
import OptionParser
9 parser = OptionParser(usage =
"usage: %prog arguments", version=
"%prog")
10 parser.add_option(
"-r", dest=
"runNumber",type=
"string", help=
"Input raw data run number (default: %default)")
11 parser.set_defaults(runNumber=
"00436354")
12 (options,args) = parser.parse_args()
16 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
18 flags.Exec.MaxEvents = -1
19 flags.IOVDb.GlobalTag =
'CONDBR2-BLKPA-2022-02'
21 runNumber = options.runNumber
22 flags.Input.Files = glob.glob(
"/eos/atlas/atlastier0/rucio/data22_13p6TeV/physics_Mistimed/"+runNumber+
"/data22_13p6TeV."+runNumber+
".physics_Mistimed.merge.RAW/data22_13p6TeV."+runNumber+
".physics_Mistimed.merge.RAW._lb*._SFO-ALL._0001.1")
25 flags.Trigger.triggerConfig =
'DB'
26 flags.Trigger.DecisionMakerValidation.Execute=
False
27 flags.Output.HISTFileName =
"ExampleMonitorOutput_LVL1_"+runNumber+
".root"
31 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
35 "xAOD::CPMTowerContainer/CPMTowers",
36 "xAOD::CPMTowerAuxContainer/CPMTowersAux.",
38 "xAOD::TriggerTowerContainer/xAODTriggerTowers",
39 "xAOD::TriggerTowerAuxContainer/xAODTriggerTowersAux.",
41 "xAOD::JetElementContainer/JetElements",
42 "xAOD::JetElementAuxContainer/JetElementsAux.",
45 from ByteStreamCnvSvc.ByteStreamConfig
import ByteStreamReadCfg
46 from TrigT1ResultByteStream.TrigT1ResultByteStreamConfig
import L1TriggerByteStreamDecoderCfg
47 from TrigT1CaloByteStream.LVL1CaloRun2ByteStreamConfig
import LVL1CaloRun2ReadBSCfg
54 from TriggerJobOpts.TriggerRecoConfig
import TriggerRecoCfg
59 from TrigT1CaloMonitoring.MistimedStreamMonitorAlgorithm
import MistimedStreamMonitorConfig
61 acc.merge(MistimedStreamMonitorCfg)
64 sys.exit(acc.run().isFailure())