Skip to content
Snippets Groups Projects
Commit 25ee3f13 authored by Harish Potti's avatar Harish Potti :runner_tone4: Committed by Graeme Stewart
Browse files

Add doAFPMon flag to DQMonflgas (AthenaMonitoring-02-02-00-09)

parent 3f784875
No related branches found
No related tags found
No related merge requests found
......@@ -223,6 +223,13 @@ class doLucidMon(JobProperty):
StoredValue=True
list+=[doLucidMon]
class doAFPMon(JobProperty):
"""Switch for AFP monitoring"""
statusOn=True
allowedTypes=['bool']
StoredValue=False
list+=[doAFPMon]
class doHIMon(JobProperty):
""" Switch for dedicated Heavy Ion monitoring """
statusOn=True
......
......@@ -23,7 +23,7 @@ if rec.doTrigger() == False:
# Set the data type based on beamType/HI flag
if globalflags.DataSource.get_Value() == 'geant4':
DQMonFlags.monManDataType = 'monteCarlo'
elif rec.doHeavyIon():
elif (rec.doHeavyIon() or rec.doHIP()):
DQMonFlags.monManDataType = 'heavyioncollisions'
DQMonFlags.doHIMon = True
elif jobproperties.Beam.beamType() == 'cosmics':
......
......@@ -218,6 +218,16 @@ if DQMonFlags.doMonitoring():
except Exception:
treatException("DataQualitySteering_jobOptions.py: exception when setting up LUCID monitoring")
#------------------#
# AFP monitoring #
#------------------#
if DQMonFlags.doAFPMon():
try:
include("AFP_Monitoring/AFPMonitoring_jobOptions.py")
except Exception:
treatException("DataQualitySteering_jobOptions.py: exception when setting up AFP monitoring")
#---------------------#
# HeavyIon monitoring #
#---------------------#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment