1 import FWCore.ParameterSet.Config
as cms
5 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
6 recoDisplacedMuonValidator =
DQMEDAnalyzer(
'RecoDisplacedMuonValidator',
8 tpSelector = displacedMuonTPSet,
10 usePFMuon = cms.untracked.bool(
False),
12 simLabel = cms.InputTag(
"mix",
"MergedTrackTruth"),
13 tpRefVector = cms.bool(
False),
14 muonLabel = cms.InputTag(
"displacedMuons"),
16 muAssocLabel = cms.InputTag(
"muonAssociatorByHitsHelper"),
18 doAssoc = cms.untracked.bool(
True),
20 outputFileName = cms.untracked.string(
''),
21 subDir = cms.untracked.string(
'Muons/RecoDisplacedMuonV/'),
22 trackType = cms.string(
"global"),
24 selection = cms.string(
""),
26 wantTightMuon = cms.bool(
False),
27 beamSpot = cms.InputTag(
"offlineBeamSpot"),
28 primaryVertex = cms.InputTag(
'offlinePrimaryVertices'),
33 nBinP = cms.untracked.uint32(100),
34 minP = cms.untracked.double(0.0),
35 maxP = cms.untracked.double(1500.0),
37 nBinPt = cms.untracked.uint32(100),
38 minPt = cms.untracked.double(0.0),
39 maxPt = cms.untracked.double(1500.0),
41 doAbsEta = cms.untracked.bool(
False),
43 nBinEta = cms.untracked.uint32(50),
44 minEta = cms.untracked.double(-2.5),
45 maxEta = cms.untracked.double(2.5),
47 nBinDxy = cms.untracked.uint32(100),
48 minDxy = cms.untracked.double(-60),
49 maxDxy = cms.untracked.double(60),
51 nBinDz = cms.untracked.uint32(100),
52 minDz = cms.untracked.double(-60),
53 maxDz = cms.untracked.double(60),
55 nBinPhi = cms.untracked.uint32(25),
58 nBinPull = cms.untracked.uint32(50),
59 wPull = cms.untracked.double(5.0),
61 nBinErr = cms.untracked.uint32(50),
64 minErrP = cms.untracked.double(-0.3),
65 maxErrP = cms.untracked.double(0.3),
68 minErrPt = cms.untracked.double(-0.3),
69 maxErrPt = cms.untracked.double(0.3),
72 minErrQPt = cms.untracked.double(-0.1),
73 maxErrQPt = cms.untracked.double(0.1),
76 minErrEta = cms.untracked.double(-0.01),
77 maxErrEta = cms.untracked.double(0.01),
80 minErrPhi = cms.untracked.double(-0.05),
81 maxErrPhi = cms.untracked.double(0.05),
84 minErrDxy = cms.untracked.double(-0.1),
85 maxErrDxy = cms.untracked.double(0.1),
88 minErrDz = cms.untracked.double(-0.1),
89 maxErrDz = cms.untracked.double(0.1),
92 nAssoc = cms.untracked.uint32(10),
95 nTrks = cms.untracked.uint32(50)
98 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
99 premix_stage2.toModify(recoDisplacedMuonValidator, simLabel =
"mixData:MergedTrackTruth")