CMS 3D CMS Logo

muonRecoAnalyzer_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 muonRecoAnalyzer = DQMEDAnalyzer('MuonRecoAnalyzer',
7  MuonServiceProxy,
8  MuonCollection = cms.InputTag("muons"),
9  inputTagVertex = cms.InputTag("offlinePrimaryVertices"),
10  inputTagBeamSpot = cms.InputTag("offlineBeamSpot"),
11  IsminiAOD = cms.bool( False ),
12  doMVA = cms.bool( False ),
13  # histograms parameters
14  thetaBin = cms.int32(100),
15  thetaMin = cms.double(0.0),
16  thetaMax = cms.double(3.2),
17 
18  pResBin = cms.int32(50),
19  pResMin = cms.double(-0.01),
20  pResMax = cms.double(0.01),
21 
22  rhBin = cms.int32(25),
23  rhMin = cms.double(0.0),
24  rhMax = cms.double(1.001),
25 
26  etaBin = cms.int32(100),
27  etaMin = cms.double(-3.0),
28  etaMax = cms.double(3.0),
29 
30  chi2Bin = cms.int32(100),
31  chi2Min = cms.double(0),
32  chi2Max = cms.double(20),
33 
34  pBin = cms.int32(500),
35  pMin = cms.double(0.0),
36  pMax = cms.double(500.0),
37 
38  phiBin = cms.int32(100),
39  phiMin = cms.double(-3.2),
40  phiMax = cms.double(3.2),
41 
42  ptBin = cms.int32(500),
43  ptMin = cms.double(0.0),
44  ptMax = cms.double(500.0),
45 
46  tunePBin = cms.int32(100),
47  tunePMin = cms.double(-1.0),
48  tunePMax = cms.double(1.0),
49  folder = cms.string("Muons/MuonRecoAnalyzer")
50  )
51 muonRecoAnalyzer_miniAOD = DQMEDAnalyzer('MuonRecoAnalyzer',
52  MuonServiceProxy,
53  MuonCollection = cms.InputTag("slimmedMuons"),
54  inputTagVertex = cms.InputTag("offlinePrimaryVertices"),
55  inputTagBeamSpot = cms.InputTag("offlineBeamSpot"),
56  IsminiAOD = cms.bool( True ),
57  doMVA = cms.bool( False ),
58  # histograms parameters
59  thetaBin = cms.int32(100),
60  thetaMin = cms.double(0.0),
61  thetaMax = cms.double(3.2),
62 
63  pResBin = cms.int32(50),
64  pResMin = cms.double(-0.01),
65  pResMax = cms.double(0.01),
66 
67  rhBin = cms.int32(25),
68  rhMin = cms.double(0.0),
69  rhMax = cms.double(1.001),
70 
71  etaBin = cms.int32(100),
72  etaMin = cms.double(-3.0),
73  etaMax = cms.double(3.0),
74 
75  chi2Bin = cms.int32(100),
76  chi2Min = cms.double(0),
77  chi2Max = cms.double(20),
78 
79  pBin = cms.int32(500),
80  pMin = cms.double(0.0),
81  pMax = cms.double(500.0),
82 
83  phiBin = cms.int32(100),
84  phiMin = cms.double(-3.2),
85  phiMax = cms.double(3.2),
86 
87  ptBin = cms.int32(500),
88  ptMin = cms.double(0.0),
89  ptMax = cms.double(500.0),
90 
91  tunePBin = cms.int32(100),
92  tunePMin = cms.double(-1.0),
93  tunePMax = cms.double(1.0),
94  folder = cms.string("Muons_miniAOD/MuonRecoAnalyzer")
95  )