1 import FWCore.ParameterSet.Config
as cms
3 rechivalidation = cms.EDAnalyzer(
"DTRecHitQuality",
4 doStep2 = cms.untracked.bool(
False),
6 doStep1 = cms.untracked.bool(
True),
8 recHitLabel = cms.untracked.InputTag(
'dt1DRecHits'),
9 doStep3 = cms.untracked.bool(
True),
10 simHitLabel = cms.untracked.InputTag(
'g4SimHits',
"MuonDTHits"),
11 segment2DLabel = cms.untracked.InputTag(
'dt2DSegments'),
12 debug = cms.untracked.bool(
False),
13 segment4DLabel = cms.untracked.InputTag(
'dt4DSegments'),
14 doall = cms.untracked.bool(
True),
15 local = cms.untracked.bool(
False)
19 seg2dvalidation = cms.EDAnalyzer(
"DTSegment2DQuality",
20 sigmaResPos = cms.double(0.013),
21 simHitLabel = cms.untracked.InputTag(
'g4SimHits',
"MuonDTHits"),
22 segment2DLabel = cms.untracked.InputTag(
'dt2DSegments'),
23 debug = cms.untracked.bool(
False),
24 sigmaResAngle = cms.double(0.008)
27 seg2dsuperphivalidation = cms.EDAnalyzer(
"DTSegment2DSLPhiQuality",
28 sigmaResPos = cms.double(0.013),
29 simHitLabel = cms.untracked.InputTag(
'g4SimHits',
"MuonDTHits"),
30 sigmaResAngle = cms.double(0.008),
31 debug = cms.untracked.bool(
False),
32 segment4DLabel = cms.untracked.InputTag(
'dt4DSegments'),
33 doall = cms.untracked.bool(
True),
34 local = cms.untracked.bool(
False)
37 seg4dvalidation = cms.EDAnalyzer(
"DTSegment4DQuality",
39 sigmaResAlpha = cms.double(0.001),
40 sigmaResBeta = cms.double(0.007),
41 simHitLabel = cms.untracked.InputTag(
'g4SimHits',
"MuonDTHits"),
42 rootFileName = cms.untracked.string(
''),
43 debug = cms.untracked.bool(
False),
45 sigmaResX = cms.double(0.01),
46 sigmaResY = cms.double(0.05),
47 segment4DLabel = cms.untracked.InputTag(
'dt4DSegments'),
48 doall = cms.untracked.bool(
True),
49 local = cms.untracked.bool(
False)
52 dtLocalRecoValidation = cms.Sequence(rechivalidation*seg2dvalidation*seg2dsuperphivalidation*seg4dvalidation)
53 dtLocalRecoValidation_no2D = cms.Sequence(rechivalidation*seg2dsuperphivalidation*seg4dvalidation)
55 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
56 if fastSim.isChosen():
57 rechivalidation.simHitLabel = cms.untracked.InputTag(
"MuonSimHits",
"MuonDTHits")
58 seg2dvalidation.simHitLabel = cms.untracked.InputTag(
"MuonSimHits",
"MuonDTHits")
59 seg2dsuperphivalidation.simHitLabel = cms.untracked.InputTag(
"MuonSimHits",
"MuonDTHits")
60 seg4dvalidation.simHitLabel = cms.untracked.InputTag(
"MuonSimHits",
"MuonDTHits")