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  gemStripDigi = muonGEMDigiPSet.gemUnpackedStripDigi,
10  gemSimHit = muonSimHitMatcherPSet.gemSimHit,
11  gemDigiSimLink = cms.InputTag("simMuonGEMDigis","GEM"),
12 )
13 
14 gemPadValidation = DQMEDAnalyzer('GEMPadDigiValidation',
15  GEMValidationCommonParameters,
16  gemPadDigi = muonGEMDigiPSet.gemPadDigi,
17  gemSimHit = muonSimHitMatcherPSet.gemSimHit,
18  gemDigiSimLink = cms.InputTag("simMuonGEMDigis","GEM"),
19 )
20 
21 gemClusterValidation = DQMEDAnalyzer('GEMPadDigiClusterValidation',
22  GEMValidationCommonParameters,
23  gemPadCluster = muonGEMDigiPSet.gemPadCluster,
24  gemSimHit = muonSimHitMatcherPSet.gemSimHit,
25  gemDigiSimLink = cms.InputTag("simMuonGEMDigis","GEM"),
26 )
27 
28 gemCoPadValidation = DQMEDAnalyzer('GEMCoPadDigiValidation',
29  GEMValidationCommonParameters,
30  gemCoPadDigi = muonGEMDigiPSet.gemCoPadDigi,
31 )
32 
33 gemGeometryChecker = DQMEDAnalyzer('GEMCheckGeometry',
34  detailPlot = cms.bool(False),
35 )
36 
37 gemDigiValidation = cms.Sequence(gemStripValidation +
38  gemPadValidation +
39  gemClusterValidation +
40  gemCoPadValidation +
41  gemGeometryChecker)
42 
43 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
44 
45 run2_GEM_2017.toReplaceWith(
46  gemDigiValidation,
47  gemDigiValidation.copyAndExclude([
48  gemPadValidation,
49  gemClusterValidation,
50  gemCoPadValidation]))
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
muonGEMDigiPSet
muonSimHitMatcherPSet