ATLAS Offline Software
Functions | Variables
CTPMonitoringConfig Namespace Reference

Functions

def CTPMonitoringConfig (flags)
 

Variables

 flags
 
 AtlasVersion
 
 CheckDependencies
 
 ShowDataDeps
 
 ShowDataFlow
 
 ShowControlFlow
 
 EnableVerboseViews
 
 GeometryZDC
 
 GeometryAFP
 
 GeometryALFA
 
 GeometryLucid
 
 GeometryMDT
 
 GeometryMM
 
 GeometryMuon
 
 decodeHLT
 
 enableL1MuonPhase1
 
 doMuon
 
 doCalo
 
 doTopo
 
 doCTP
 
 EnableCombinedMuon
 
 AODFileName
 
 HISTFileName
 
 doWriteAOD
 
 acc
 
 status
 

Function Documentation

◆ CTPMonitoringConfig()

def CTPMonitoringConfig.CTPMonitoringConfig (   flags)

Definition at line 5 of file CTPMonitoringConfig.py.

5 def CTPMonitoringConfig(flags):
6  # local printing
7  import logging
8  local_logger = logging.getLogger('AthenaMonitoringCfg')
9  info = local_logger.info
10  info('In CTPMonitoringConfig')
11 
12  '''Function to call CTP DQ monitoring algorithms'''
13  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
14  result = ComponentAccumulator()
15  #get these for Data only
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'))
21 
22  result.merge(addFolders(flags,'/TDAQ/RunCtrl/DataTakingMode','TDAQ',className='AthenaAttributeList'))
23  info('CTPMonitoringConfig: added DATA COOL folders')
24 
25  # add CTP and MUCTPI data to ByteStreamAddressProviderSvc
26  if flags.DQ.Environment in ('online', 'tier0', 'tier0Raw'):
27  #info('In CTPMonitoringConfig DQ.Environment: %s', flags.DQ.Environment )
28  from TriggerJobOpts.TriggerByteStreamConfig import ByteStreamReadCfg
29  result.merge(ByteStreamReadCfg(flags, [
30  "MuCTPI_RDO/MUCTPI_RDO",
31  "CTP_RDO/CTP_RDO",
32  #"MuCTPI_RIO/MUCTPI_RIO",
33  "CTP_RIO/CTP_RIO"
34  ]))
35  info('In CTPMonitoringConfig added ByteStreamReadCfg MUCTPI_RDO,CTP_RDO,CTP_RIO' )
36 
37  # If we're not putting trigger objects in event store, can't monitor them
38  if not flags.Trigger.Online.isPartition:
39  if not flags.DQ.triggerDataAvailable:
40  return result
41 
42  #isData = not flags.Input.isMC
43  # monitoring algorithm configs
44  # only when input is RAW
45  #if flags.DQ.Environment in ('online', 'tier0', 'tier0Raw'):
46 
47 
49 
50  #info('before results_merge CTPMonitoringConfig')
51 
52  if flags.DQ.Environment not in ( 'AOD', 'DAOD_PHYS', 'tier0ESD'): #, 'tier0Raw' ):
53  from TrigT1CTMonitoring.BSMonitoringAlgorithm import BSMonitoringConfig
54  result.merge(BSMonitoringConfig(flags))
55  info('CTPMonitoringConfig: requested: result.merge(BSMonitoringConfig(flags))')
56  info('after results_merge CTPMonitoringConfig')
57  return result
58 

Variable Documentation

◆ acc

CTPMonitoringConfig.acc

Definition at line 99 of file CTPMonitoringConfig.py.

◆ AODFileName

CTPMonitoringConfig.AODFileName

Definition at line 90 of file CTPMonitoringConfig.py.

◆ AtlasVersion

CTPMonitoringConfig.AtlasVersion

Definition at line 65 of file CTPMonitoringConfig.py.

◆ CheckDependencies

CTPMonitoringConfig.CheckDependencies

Definition at line 66 of file CTPMonitoringConfig.py.

◆ decodeHLT

CTPMonitoringConfig.decodeHLT

Definition at line 78 of file CTPMonitoringConfig.py.

◆ doCalo

CTPMonitoringConfig.doCalo

Definition at line 81 of file CTPMonitoringConfig.py.

◆ doCTP

CTPMonitoringConfig.doCTP

Definition at line 83 of file CTPMonitoringConfig.py.

◆ doMuon

CTPMonitoringConfig.doMuon

Definition at line 80 of file CTPMonitoringConfig.py.

◆ doTopo

CTPMonitoringConfig.doTopo

Definition at line 82 of file CTPMonitoringConfig.py.

◆ doWriteAOD

CTPMonitoringConfig.doWriteAOD

Definition at line 92 of file CTPMonitoringConfig.py.

◆ EnableCombinedMuon

CTPMonitoringConfig.EnableCombinedMuon

Definition at line 84 of file CTPMonitoringConfig.py.

◆ enableL1MuonPhase1

CTPMonitoringConfig.enableL1MuonPhase1

Definition at line 79 of file CTPMonitoringConfig.py.

◆ EnableVerboseViews

CTPMonitoringConfig.EnableVerboseViews

Definition at line 70 of file CTPMonitoringConfig.py.

◆ flags

CTPMonitoringConfig.flags

Definition at line 63 of file CTPMonitoringConfig.py.

◆ GeometryAFP

CTPMonitoringConfig.GeometryAFP

Definition at line 72 of file CTPMonitoringConfig.py.

◆ GeometryALFA

CTPMonitoringConfig.GeometryALFA

Definition at line 73 of file CTPMonitoringConfig.py.

◆ GeometryLucid

CTPMonitoringConfig.GeometryLucid

Definition at line 74 of file CTPMonitoringConfig.py.

◆ GeometryMDT

CTPMonitoringConfig.GeometryMDT

Definition at line 75 of file CTPMonitoringConfig.py.

◆ GeometryMM

CTPMonitoringConfig.GeometryMM

Definition at line 76 of file CTPMonitoringConfig.py.

◆ GeometryMuon

CTPMonitoringConfig.GeometryMuon

Definition at line 77 of file CTPMonitoringConfig.py.

◆ GeometryZDC

CTPMonitoringConfig.GeometryZDC

Definition at line 71 of file CTPMonitoringConfig.py.

◆ HISTFileName

CTPMonitoringConfig.HISTFileName

Definition at line 91 of file CTPMonitoringConfig.py.

◆ ShowControlFlow

CTPMonitoringConfig.ShowControlFlow

Definition at line 69 of file CTPMonitoringConfig.py.

◆ ShowDataDeps

CTPMonitoringConfig.ShowDataDeps

Definition at line 67 of file CTPMonitoringConfig.py.

◆ ShowDataFlow

CTPMonitoringConfig.ShowDataFlow

Definition at line 68 of file CTPMonitoringConfig.py.

◆ status

CTPMonitoringConfig.status

Definition at line 102 of file CTPMonitoringConfig.py.

grepfile.info
info
Definition: grepfile.py:38
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
BSMonitoringAlgorithm.BSMonitoringConfig
def BSMonitoringConfig(inputFlags)
Definition: BSMonitoringAlgorithm.py:5
python.ByteStreamConfig.ByteStreamReadCfg
def ByteStreamReadCfg(flags, type_names=None)
Definition: Event/ByteStreamCnvSvc/python/ByteStreamConfig.py:25
python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:72
CTPMonitoringConfig.CTPMonitoringConfig
def CTPMonitoringConfig(flags)
Definition: CTPMonitoringConfig.py:5
TrigT1CTMonitoring::BSMonitoringAlgorithm
Definition: BSMonitoringAlg.h:59