Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 rechivalidation = DQMEDAnalyzer("DTRecHitQuality",
0005     doStep2 = cms.untracked.bool(False),
0006     # Switches for analysis at various steps
0007     doStep1 = cms.untracked.bool(False),
0008     # Lable to retrieve RecHits from the event
0009     recHitLabel = cms.untracked.InputTag('dt1DRecHits'),
0010     doStep3 = cms.untracked.bool(True),
0011     simHitLabel = cms.untracked.InputTag('g4SimHits',"MuonDTHits"),
0012     segment2DLabel = cms.untracked.InputTag('dt2DSegments'),
0013     debug = cms.untracked.bool(False),
0014     segment4DLabel = cms.untracked.InputTag('dt4DSegments'),
0015     doall = cms.untracked.bool(False),
0016     local = cms.untracked.bool(False)
0017 )
0018 
0019 seg2dvalidation = DQMEDAnalyzer("DTSegment2DQuality",
0020     sigmaResPos = cms.double(0.013),
0021     simHitLabel = cms.untracked.InputTag('g4SimHits',"MuonDTHits"),
0022     segment2DLabel = cms.untracked.InputTag('dt2DSegments'),
0023     debug = cms.untracked.bool(False),
0024     sigmaResAngle = cms.double(0.008)
0025 )
0026 
0027 seg2dsuperphivalidation = DQMEDAnalyzer("DTSegment2DSLPhiQuality",
0028     sigmaResPos = cms.double(0.013),
0029     simHitLabel = cms.untracked.InputTag('g4SimHits',"MuonDTHits"),
0030     sigmaResAngle = cms.double(0.008),
0031     debug = cms.untracked.bool(False),
0032     segment4DLabel = cms.untracked.InputTag('dt4DSegments'),
0033     doall = cms.untracked.bool(False),
0034     local = cms.untracked.bool(False)
0035 )
0036 
0037 seg4dvalidation = DQMEDAnalyzer("DTSegment4DQuality",
0038     #resolution on angle
0039     sigmaResAlpha = cms.double(0.001),
0040     sigmaResBeta = cms.double(0.007),
0041     simHitLabel = cms.untracked.InputTag('g4SimHits',"MuonDTHits"),
0042     rootFileName = cms.untracked.string(''),
0043     debug = cms.untracked.bool(False),
0044     #resolution on position
0045     sigmaResX = cms.double(0.01),
0046     sigmaResY = cms.double(0.05),
0047     segment4DLabel = cms.untracked.InputTag('dt4DSegments'),
0048     doall = cms.untracked.bool(False),
0049     local = cms.untracked.bool(False)
0050 )
0051 
0052 dtLocalRecoValidation = cms.Sequence(rechivalidation*seg2dvalidation*seg2dsuperphivalidation*seg4dvalidation)
0053 dtLocalRecoValidation_no2D = cms.Sequence(rechivalidation*seg2dsuperphivalidation*seg4dvalidation)
0054 
0055 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0056 fastSim.toModify(rechivalidation, simHitLabel = "MuonSimHits:MuonDTHits")
0057 fastSim.toModify(seg2dvalidation, simHitLabel = "MuonSimHits:MuonDTHits")
0058 fastSim.toModify(seg2dsuperphivalidation, simHitLabel = "MuonSimHits:MuonDTHits")
0059 fastSim.toModify(seg4dvalidation, simHitLabel = "MuonSimHits:MuonDTHits")