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(True),
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(True),
0016     local = cms.untracked.bool(False)
0017 
0018 )
0019 
0020 seg2dvalidation = DQMEDAnalyzer("DTSegment2DQuality",
0021     sigmaResPos = cms.double(0.013),
0022     simHitLabel = cms.untracked.InputTag('g4SimHits',"MuonDTHits"),
0023     segment2DLabel = cms.untracked.InputTag('dt2DSegments'),
0024     debug = cms.untracked.bool(False),
0025     sigmaResAngle = cms.double(0.008)
0026 )
0027 
0028 seg2dsuperphivalidation = DQMEDAnalyzer("DTSegment2DSLPhiQuality",
0029     sigmaResPos = cms.double(0.013),
0030     simHitLabel = cms.untracked.InputTag('g4SimHits',"MuonDTHits"),
0031     sigmaResAngle = cms.double(0.008),
0032     debug = cms.untracked.bool(False),
0033     segment4DLabel = cms.untracked.InputTag('dt4DSegments'),
0034     doall = cms.untracked.bool(True),
0035     local = cms.untracked.bool(False)
0036  )
0037 
0038 seg4dvalidation = DQMEDAnalyzer("DTSegment4DQuality",
0039     #resolution on angle
0040     sigmaResAlpha = cms.double(0.001),
0041     sigmaResBeta = cms.double(0.007),
0042     simHitLabel = cms.untracked.InputTag('g4SimHits',"MuonDTHits"),
0043     rootFileName = cms.untracked.string(''),
0044     debug = cms.untracked.bool(False),
0045     #resolution on position
0046     sigmaResX = cms.double(0.01),
0047     sigmaResY = cms.double(0.05),
0048     segment4DLabel = cms.untracked.InputTag('dt4DSegments'),
0049     doall = cms.untracked.bool(True),
0050     local = cms.untracked.bool(False)
0051 )
0052 
0053 dtLocalRecoValidation = cms.Sequence(rechivalidation*seg2dvalidation*seg2dsuperphivalidation*seg4dvalidation)
0054 dtLocalRecoValidation_no2D = cms.Sequence(rechivalidation*seg2dsuperphivalidation*seg4dvalidation)
0055 
0056 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0057 fastSim.toModify(rechivalidation, simHitLabel = "MuonSimHits:MuonDTHits")
0058 fastSim.toModify(seg2dvalidation, simHitLabel = "MuonSimHits:MuonDTHits")
0059 fastSim.toModify(seg2dsuperphivalidation, simHitLabel = "MuonSimHits:MuonDTHits")
0060 fastSim.toModify(seg4dvalidation, simHitLabel = "MuonSimHits:MuonDTHits")