Skip to content

Commit

Permalink
Merge pull request #28090 from fioriNTU/CTPPSHarvestingFix
Browse files Browse the repository at this point in the history
Cleanup of CTPPS sequences
  • Loading branch information
cmsbuild committed Oct 4, 2019
2 parents 5f71c2c + 7565602 commit 4528839
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 8 additions & 2 deletions DQM/CTPPS/python/ctppsDQM_cff.py
Expand Up @@ -17,12 +17,15 @@

ctppsDQM = cms.Sequence()
ctppsDQMElastic = cms.Sequence()
ctppsDQMHarvest = cms.Sequence()

_ctppsDQM = ctppsDQM.copy()
_ctppsDQMElastic = ctppsDQMElastic.copy()
_ctppsDQMHarvest = ctppsDQMHarvest.copy()

_ctppsDQM = cms.Sequence(
totemDAQTriggerDQMSource
+ (totemRPDQMSource * totemRPDQMHarvester)
+ totemRPDQMSource
+ ctppsDiamondDQMSource
+ totemTimingDQMSource
+ ctppsPixelDQMSource
Expand All @@ -31,14 +34,17 @@

_ctppsDQMElastic = cms.Sequence(
totemDAQTriggerDQMSource
+ (totemRPDQMSource * totemRPDQMHarvester)
+ totemRPDQMSource
+ ctppsDiamondDQMSource
+ totemTimingDQMSource
+ ctppsPixelDQMSource
+ ctppsCommonDQMSource
+ elasticPlotDQMSource
)

_ctppsDQMHarvest = cms.Sequence(totemRPDQMHarvester)

from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
ctpps_2016.toReplaceWith(ctppsDQM, _ctppsDQM)
ctpps_2016.toReplaceWith(ctppsDQMElastic, _ctppsDQMElastic)
ctpps_2016.toReplaceWith(ctppsDQMHarvest, _ctppsDQMHarvest)
Expand Up @@ -63,6 +63,7 @@

process.dqmModules = cms.Sequence(
process.ctppsDQM +
process.ctppsDQMHarvest +
process.dqmEnv +
process.dqmSaver
)
Expand Down
3 changes: 2 additions & 1 deletion DQMOffline/Configuration/python/DQMOffline_SecondStep_cff.py
Expand Up @@ -19,6 +19,7 @@
from DQM.HcalTasks.OfflineHarvestingSequence_pp import *
from PhysicsTools.NanoAOD.nanoDQM_cff import *
from Validation.RecoParticleFlow.DQMForPF_MiniAOD_cff import *
from DQM.CTPPS.ctppsDQM_cff import *

DQMOffline_SecondStep_PreDPG = cms.Sequence( dqmDcsInfoClient *
ecal_dqm_client_offline *
Expand Down Expand Up @@ -137,7 +138,7 @@

DQMHarvestLumi = cms.Sequence()

DQMHarvestCTPPS = cms.Sequence()
DQMHarvestCTPPS = cms.Sequence(ctppsDQMHarvest)

DQMHarvestMuon = cms.Sequence( dtClients *
rpcTier0Client *
Expand Down

0 comments on commit 4528839

Please sign in to comment.