CMS 3D CMS Logo

DQMPhysics_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 from DQM.Physics.ewkMuDQM_cfi import *
5 from DQM.Physics.ewkElecDQM_cfi import *
11 from DQM.Physics.singleTopDQM_cfi import *
13 from DQM.Physics.susyDQM_cfi import *
14 from DQM.Physics.HiggsDQM_cfi import *
15 from DQM.Physics.ExoticaDQM_cfi import *
16 from DQM.Physics.B2GDQM_cfi import *
19 from DQM.Physics.FSQDQM_cfi import *
20 from DQM.Physics.SMPDQM_cfi import *
21 
22 dqmPhysics = cms.Sequence( bphysicsOniaDQM
23 # Empty Histograms from EWK and Error log messages
24 # *ewkMuDQM # errors in logs due HLTPrescaleProvider
25 # *ewkElecDQM # Error in determining HLT prescale set index from L1 data using L1GtUtils
26  *qcdPhotonsDQM
27  *topSingleMuonMediumDQM
28  *topSingleElectronMediumDQM
29  *singleTopMuonMediumDQM
30  *singleTopElectronMediumDQM
31  *DiMuonDQM
32  *DiElectronDQM
33  *ElecMuonDQM
34  *susyDQM
35  *HiggsDQM
36  *ExoticaDQM
37  *B2GDQM
38  *FSQDQM
39  *SMPDQM
40  )
41 
42 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
43 phase1Pixel.toReplaceWith(dqmPhysics, dqmPhysics.copyAndExclude([ # FIXME
44  ewkMuDQM, # Excessive printouts because 2017 doesn't have HLT yet
45  ewkElecDQM, # Excessive printouts because 2017 doesn't have HLT yet
46  ewkMuLumiMonitorDQM, # Excessive printouts because 2017 doesn't have HLT yet
47 ]))
48 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
49 dqmPhysicspA = dqmPhysics.copy()
50 dqmPhysicspA += CentralitypADQM
51 pA_2016.toReplaceWith(dqmPhysics, dqmPhysicspA)
52 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
53 _dqmPhysics = dqmPhysics.copy()
54 _dqmPhysics += CentralityDQM
55 pp_on_AA.toModify(CentralityDQM, vertexcollection=cms.InputTag("offlinePrimaryVertices"))
56 pp_on_AA.toReplaceWith(dqmPhysics, _dqmPhysics)
57 
58 bphysicsOniaDQMHI = bphysicsOniaDQM.clone(vertex="hiSelectedVertex")
59 dqmPhysicsHI = cms.Sequence(bphysicsOniaDQMHI+CentralityDQM)
60 
62 dqmPhysicsCosmics = cms.Sequence(dqmPhysics)
63 dqmPhysicsCosmics.replace(qcdPhotonsDQM, qcdPhotonsCosmicDQM)