Skip to content

Commit

Permalink
add commissioning_run as runType and use it in SiStrip online DQM client
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Oct 15, 2021
1 parent f6fefb7 commit 8cfd41b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,17 @@
)


### COMMISSIONING RUN SETTINGS
if (process.runType.getRunType() == process.runType.commissioning_run):
#event selection for commissioning runs
if ((process.runType.getRunType() == process.runType.commissioning_run) and live):
process.source.SelectEvents = ['HLT_*']

process.SiStripFedMonitor = cms.Sequence(process.siStripFEDMonitor)
process.p = cms.Path(
process.siStripFEDCheck *
process.SiStripFedMonitor
)

#else :
### pp COLLISION SETTING
Expand Down
2 changes: 1 addition & 1 deletion DQM/Integration/python/config/dqmPythonTypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from FWCore.ParameterSet.Types import PSet
import FWCore.ParameterSet.Config as cms
class RunType(PSet):
def __init__(self,types=['pp_run','pp_run_stage1','cosmic_run','cosmic_run_stage1','hi_run','hpu_run']):
def __init__(self,types=['pp_run','pp_run_stage1','cosmic_run','cosmic_run_stage1','hi_run','hpu_run','commissioning_run']):
PSet.__init__(self)
self.__runTypesDict = {}
t=[(x,types.index(x)) for x in types ]
Expand Down

0 comments on commit 8cfd41b

Please sign in to comment.