CMS 3D CMS Logo

diMuonHistograms_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
6 diMuonHistos = DQMEDAnalyzer('DiMuonHistograms',
7  MuonCollection = cms.InputTag("muons"),
8  VertexLabel = cms.InputTag("offlinePrimaryVertices"),
9  BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
10 
11  etaBin = cms.int32(40),
12  etaBBin = cms.int32(40),
13  etaEBin = cms.int32(40),
14 
15  etaBMin = cms.double(0.),
16  etaBMax = cms.double(1.1),
17  etaECMin = cms.double(0.9),
18  etaECMax = cms.double(2.4),
19 
20  lowMassMin = cms.double(2.0),
21  lowMassMax = cms.double(12.0),
22  highMassMin = cms.double(70.0),
23  highMassMax = cms.double(110.0),
24  folder = cms.string("Muons/diMuonHistograms")
25  )
26 diMuonHistos_miniAOD = DQMEDAnalyzer('DiMuonHistograms',
27  MuonCollection = cms.InputTag("slimmedMuons"),
28  VertexLabel = cms.InputTag("offlineSlimmedPrimaryVertices"),
29  BeamSpotLabel = cms.InputTag("offlineBeamSpot"),
30 
31  etaBin = cms.int32(40),
32  etaBBin = cms.int32(40),
33  etaEBin = cms.int32(40),
34 
35  etaBMin = cms.double(0.),
36  etaBMax = cms.double(1.1),
37  etaECMin = cms.double(0.9),
38  etaECMax = cms.double(2.4),
39 
40  lowMassMin = cms.double(2.0),
41  lowMassMax = cms.double(12.0),
42  highMassMin = cms.double(70.0),
43  highMassMax = cms.double(110.0),
44  folder = cms.string("Muons_miniAOD/diMuonHistograms")
45  )
46 
47 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
48 pA_2016.toModify(diMuonHistos,
49  etaBin = 350,
50  etaBBin = 350,
51  etaEBin = 350,
52 
53  lowMassMin = 2.0,
54  lowMassMax = 51.0,
55  highMassMin = 55.0,
56  highMassMax = 125.0
57  )