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 *
20 from DQM.Physics.FSQDQM_cfi import *
21 
22 dqmPhysics = cms.Sequence( bphysicsOniaDQM
23  *ewkMuDQM
24  *ewkElecDQM
25  *qcdPhotonsDQM
26  *topSingleMuonMediumDQM
27  *topSingleElectronMediumDQM
28  *singleTopMuonMediumDQM
29  *singleTopElectronMediumDQM
30  *DiMuonDQM
31  *DiElectronDQM
32  *ElecMuonDQM
33  *susyDQM
34  *HiggsDQM
35  *ExoticaDQM
36  *B2GDQM
37  *FSQDQM
38  )
39 
40 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
41 phase1Pixel.toReplaceWith(dqmPhysics, dqmPhysics.copyAndExclude([ # FIXME
42  ewkMuDQM, # Excessive printouts because 2017 doesn't have HLT yet
43  ewkElecDQM, # Excessive printouts because 2017 doesn't have HLT yet
44  ewkMuLumiMonitorDQM, # Excessive printouts because 2017 doesn't have HLT yet
45 ]))
46 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
47 dqmPhysicspA = dqmPhysics.copy()
48 dqmPhysicspA += CentralitypADQM
49 pA_2016.toReplaceWith(dqmPhysics, dqmPhysicspA)
50 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
51 _dqmPhysics = dqmPhysics.copy()
52 _dqmPhysics += CentralityDQM
53 pp_on_AA_2018.toModify(CentralityDQM, vertexcollection=cms.InputTag("offlinePrimaryVertices"))
54 pp_on_AA_2018.toReplaceWith(dqmPhysics, _dqmPhysics)
55 
56 bphysicsOniaDQMHI = bphysicsOniaDQM.clone(vertex=cms.InputTag("hiSelectedVertex"))
57 dqmPhysicsHI = cms.Sequence(bphysicsOniaDQMHI+CentralityDQM)
58 
60 dqmPhysicsCosmics = cms.Sequence(dqmPhysics)
61 dqmPhysicsCosmics.replace(qcdPhotonsDQM, qcdPhotonsCosmicDQM)