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