CMS 3D CMS Logo

RecoMuonValidator_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from RecoMuon.TrackingTools.MuonServiceProxy_cff import MuonServiceProxy
3 from Validation.RecoMuon.selectors_cff import muonTPSet
4 
5 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
6 recoMuonValidator = DQMEDAnalyzer('RecoMuonValidator',
7  MuonServiceProxy,
8  tpSelector = muonTPSet,
9 
10  usePFMuon = cms.untracked.bool(False),
11 
12  simLabel = cms.InputTag("mix","MergedTrackTruth"),
13  muonLabel = cms.InputTag("muons"),
14 
15  muAssocLabel = cms.InputTag("muonAssociatorByHitsHelper"),
16 
17  doAssoc = cms.untracked.bool(True),
18 
19  outputFileName = cms.untracked.string(''),
20  subDir = cms.untracked.string('Muons/RecoMuonV/'),
21  trackType = cms.string("global"),
22  #string cut selection
23  selection = cms.string("isTrackerMuon && muonID('TMLastStationAngTight')"),
24 
25  wantTightMuon = cms.bool(False),
26  beamSpot = cms.InputTag("offlineBeamSpot"),
27  primaryVertex = cms.InputTag('offlinePrimaryVertices'),
28 
29  #
30  # Histogram dimensions #
31  #
32  nBinP = cms.untracked.uint32(100),
33  minP = cms.untracked.double(0.0),
34  maxP = cms.untracked.double(1500.0),
35 
36  nBinPt = cms.untracked.uint32(100),
37  minPt = cms.untracked.double(0.0),
38  maxPt = cms.untracked.double(1500.0),
39 
40  doAbsEta = cms.untracked.bool(False),
41 
42  nBinEta = cms.untracked.uint32(50),
43  minEta = cms.untracked.double(-2.5),
44  maxEta = cms.untracked.double(2.5),
45 
46  nBinDxy = cms.untracked.uint32(100),
47  minDxy = cms.untracked.double(-1.5),
48  maxDxy = cms.untracked.double(1.5),
49 
50  nBinDz = cms.untracked.uint32(100),
51  minDz = cms.untracked.double(-25.),
52  maxDz = cms.untracked.double(25.),
53 
54  nBinPhi = cms.untracked.uint32(25),
55 
56  # Pull width #
57  nBinPull = cms.untracked.uint32(50),
58  wPull = cms.untracked.double(5.0),
59 
60  nBinErr = cms.untracked.uint32(50),
61 
62  # |p| resolution #
63  minErrP = cms.untracked.double(-0.3),
64  maxErrP = cms.untracked.double(0.3),
65 
66  # pT resolution #
67  minErrPt = cms.untracked.double(-0.3),
68  maxErrPt = cms.untracked.double(0.3),
69 
70  # q/pT resolution #
71  minErrQPt = cms.untracked.double(-0.1),
72  maxErrQPt = cms.untracked.double(0.1),
73 
74  # Eta resolution #
75  minErrEta = cms.untracked.double(-0.01),
76  maxErrEta = cms.untracked.double(0.01),
77 
78  # Phi resolution #
79  minErrPhi = cms.untracked.double(-0.05),
80  maxErrPhi = cms.untracked.double(0.05),
81 
82  # Dxy resolution #
83  minErrDxy = cms.untracked.double(-0.1),
84  maxErrDxy = cms.untracked.double(0.1),
85 
86  # Dz resolution #
87  minErrDz = cms.untracked.double(-0.1),
88  maxErrDz = cms.untracked.double(0.1),
89 
90  # Number of sim-reco associations #
91  nAssoc = cms.untracked.uint32(10),
92 
93  # Number of sim,reco Tracks #
94  nTrks = cms.untracked.uint32(50)
95 )