CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 from DQM.Physics.SMPDQM_cfi import *
22 
23 dqmPhysics = cms.Sequence( bphysicsOniaDQM
24 # Empty Histograms from EWK and Error log messages
25 # *ewkMuDQM # errors in logs due HLTPrescaleProvider
26 # *ewkElecDQM # Error in determining HLT prescale set index from L1 data using L1GtUtils
27  *qcdPhotonsDQM
28  *topSingleMuonMediumDQM
29  *topSingleElectronMediumDQM
30  *singleTopMuonMediumDQM
31  *singleTopElectronMediumDQM
32  *DiMuonDQM
33  *DiElectronDQM
34  *ElecMuonDQM
35  *susyDQM
36  *HiggsDQM
37  *ExoticaDQM
38  *B2GDQM
39  *FSQDQM
40  *SMPDQM
41  )
42 
43 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
44 phase1Pixel.toReplaceWith(dqmPhysics, dqmPhysics.copyAndExclude([ # FIXME
45  ewkMuDQM, # Excessive printouts because 2017 doesn't have HLT yet
46  ewkElecDQM, # Excessive printouts because 2017 doesn't have HLT yet
47  ewkMuLumiMonitorDQM, # Excessive printouts because 2017 doesn't have HLT yet
48 ]))
49 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
50 dqmPhysicspA = dqmPhysics.copy()
51 dqmPhysicspA += CentralitypADQM
52 pA_2016.toReplaceWith(dqmPhysics, dqmPhysicspA)
53 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
54 _dqmPhysics = dqmPhysics.copy()
55 _dqmPhysics += CentralityDQM
56 pp_on_AA.toModify(CentralityDQM, vertexcollection=cms.InputTag("offlinePrimaryVertices"))
57 pp_on_AA.toReplaceWith(dqmPhysics, _dqmPhysics)
58 
59 bphysicsOniaDQMHI = bphysicsOniaDQM.clone(vertex="hiSelectedVertex")
60 dqmPhysicsHI = cms.Sequence(bphysicsOniaDQMHI+CentralityDQM)
61 
63 dqmPhysicsCosmics = cms.Sequence(dqmPhysics)
64 dqmPhysicsCosmics.replace(qcdPhotonsDQM, qcdPhotonsCosmicDQM)