Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:50

0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0003 from Validation.MuonHits.muonSimHitMatcherPSet import muonSimHitMatcherPSet
0004 from Validation.MuonGEMDigis.muonGEMDigiPSet import muonGEMDigiPSet
0005 from Validation.MuonGEMHits.MuonGEMCommonParameters_cfi import GEMValidationCommonParameters
0006 
0007 gemStripValidation = DQMEDAnalyzer('GEMStripDigiValidation',
0008   GEMValidationCommonParameters,
0009   gemStripDigi = muonGEMDigiPSet.gemUnpackedStripDigi,
0010   gemSimHit = muonSimHitMatcherPSet.gemSimHit,
0011   gemDigiSimLink = cms.InputTag("simMuonGEMDigis","GEM"),
0012 )
0013 
0014 gemPadValidation = DQMEDAnalyzer('GEMPadDigiValidation',
0015   GEMValidationCommonParameters,
0016   gemPadDigi = muonGEMDigiPSet.gemPadDigi,
0017   gemSimHit = muonSimHitMatcherPSet.gemSimHit,
0018   gemDigiSimLink = cms.InputTag("simMuonGEMDigis","GEM"),
0019 )
0020 
0021 gemClusterValidation = DQMEDAnalyzer('GEMPadDigiClusterValidation',
0022   GEMValidationCommonParameters,
0023   gemPadCluster = muonGEMDigiPSet.gemPadCluster,
0024   gemSimHit = muonSimHitMatcherPSet.gemSimHit,
0025   gemDigiSimLink = cms.InputTag("simMuonGEMDigis","GEM"),
0026 )
0027 
0028 gemCoPadValidation = DQMEDAnalyzer('GEMCoPadDigiValidation',
0029   GEMValidationCommonParameters,
0030   gemCoPadDigi = muonGEMDigiPSet.gemCoPadDigi,
0031 )
0032 
0033 gemGeometryChecker = DQMEDAnalyzer('GEMCheckGeometry',
0034   detailPlot = cms.bool(False),
0035 )
0036 
0037 gemDigiValidation = cms.Sequence(gemStripValidation +
0038                                  gemPadValidation +
0039                                  gemClusterValidation +
0040                                  gemCoPadValidation +
0041                                  gemGeometryChecker)
0042 
0043 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
0044 
0045 run2_GEM_2017.toReplaceWith(
0046     gemDigiValidation,
0047     gemDigiValidation.copyAndExclude([
0048         gemPadValidation,
0049         gemClusterValidation,
0050         gemCoPadValidation]))