8 local_logger = logging.getLogger(
'AthenaMonitoringCfg')
9 info = local_logger.info
10 info(
'In CTPMonitoringConfig')
12 '''Function to call CTP DQ monitoring algorithms'''
13 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
16 if not flags.Input.isMC:
17 info(
'CTPMonitoringConfig: attempting to add DATA COOL folders')
18 if not flags.Common.isOnline:
19 from IOVDbSvc.IOVDbSvcConfig
import addFolders
20 result.merge(
addFolders(flags,
'/LHC/DCS/FILLSTATE',
'DCS_OFL',className=
'CondAttrListCollection'))
22 result.merge(
addFolders(flags,
'/TDAQ/RunCtrl/DataTakingMode',
'TDAQ',className=
'AthenaAttributeList'))
23 info(
'CTPMonitoringConfig: added DATA COOL folders')
26 if flags.DQ.Environment
in (
'online',
'tier0',
'tier0Raw'):
28 from TriggerJobOpts.TriggerByteStreamConfig
import ByteStreamReadCfg
30 "MuCTPI_RDO/MUCTPI_RDO",
35 info(
'In CTPMonitoringConfig added ByteStreamReadCfg MUCTPI_RDO,CTP_RDO,CTP_RIO' )
38 if not flags.Trigger.Online.isPartition:
39 if not flags.DQ.triggerDataAvailable:
52 if flags.DQ.Environment
not in (
'AOD',
'DAOD_PHYS',
'tier0ESD'):
55 info(
'CTPMonitoringConfig: requested: result.merge(BSMonitoringConfig(flags))')
56 info(
'after results_merge CTPMonitoringConfig')
59 if __name__==
'__main__':
60 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
61 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
64 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
65 flags.GeoModel.AtlasVersion=defaultGeometryTags.RUN3
66 flags.Scheduler.CheckDependencies =
True
67 flags.Scheduler.ShowDataDeps =
True
68 flags.Scheduler.ShowDataFlow =
True
69 flags.Scheduler.ShowControlFlow =
True
70 flags.Scheduler.EnableVerboseViews =
True
71 flags.Detector.GeometryZDC=
False
72 flags.Detector.GeometryAFP=
False
73 flags.Detector.GeometryALFA=
False
74 flags.Detector.GeometryLucid=
False
75 flags.Detector.GeometryMDT=
False
76 flags.Detector.GeometryMM=
False
77 flags.Detector.GeometryMuon=
False
78 flags.Trigger.decodeHLT=
False
79 flags.Trigger.enableL1MuonPhase1=
False
80 flags.Trigger.L1.doMuon=
True
81 flags.Trigger.L1.doCalo=
False
82 flags.Trigger.L1.doTopo=
True
83 flags.Trigger.L1.doCTP=
True
84 flags.Reco.EnableCombinedMuon=
True
90 flags.Output.AODFileName=
"AOD.pool.root"
91 flags.Output.HISTFileName=
"HIST.root"
92 flags.Output.doWriteAOD=
True
103 if status.isFailure():