CMS 3D CMS Logo

MuonGEMDigis_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
3 from Validation.MuonHits.muonSimHitMatcherPSet import muonSimHitMatcherPSet
4 from Validation.MuonGEMDigis.muonGEMDigiPSet import muonGEMDigiPSet
5 from Validation.MuonGEMHits.MuonGEMCommonParameters_cfi import GEMValidationCommonParameters
6 
7 gemStripValidation = DQMEDAnalyzer('GEMStripDigiValidation',
8  GEMValidationCommonParameters,
9  detailPlot = cms.bool(True),
10  gemStripDigi = muonGEMDigiPSet.gemUnpackedStripDigi,
11  gemSimHit = muonSimHitMatcherPSet.gemSimHit,
12 )
13 
14 gemPadValidation = DQMEDAnalyzer('GEMPadDigiValidation',
15  GEMValidationCommonParameters,
16  detailPlot = cms.bool(True),
17  gemPadDigi = muonGEMDigiPSet.gemPadDigi,
18 )
19 
20 gemClusterValidation = DQMEDAnalyzer('GEMPadDigiClusterValidation',
21  GEMValidationCommonParameters,
22  detailPlot = cms.bool(True),
23  gemPadCluster = muonGEMDigiPSet.gemPadCluster,
24 )
25 
26 gemCoPadValidation = DQMEDAnalyzer('GEMCoPadDigiValidation',
27  GEMValidationCommonParameters,
28  detailPlot = cms.bool(True),
29  gemCoPadDigi = muonGEMDigiPSet.gemCoPadDigi,
30 )
31 
32 gemGeometryChecker = DQMEDAnalyzer('GEMCheckGeometry',
33  detailPlot = cms.bool(False),
34 )
35 
36 gemDigiValidation = cms.Sequence(gemStripValidation +
37  gemPadValidation +
38  gemClusterValidation +
39  gemCoPadValidation +
40  gemGeometryChecker)
41 
42 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
43 
44 run2_GEM_2017.toReplaceWith(
45  gemDigiValidation,
46  gemDigiValidation.copyAndExclude([
47  gemPadValidation,
48  gemClusterValidation,
49  gemCoPadValidation]))
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1