CMS 3D CMS Logo

photonOfflineDQMClient_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 
7 stdPhotonOfflineClient = DQMOffline.EGamma.photonOfflineClient_cfi.photonOfflineClient.clone()
8 stdPhotonOfflineClient.ComponentName = cms.string('stdPhotonOfflineClient')
9 stdPhotonOfflineClient.analyzerName = cms.string('stdPhotonAnalyzer')
10 
11 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
12 stdPhotonOfflineClientHGCal = stdPhotonOfflineClient.clone()
13 stdPhotonOfflineClientHGCal.analyzerName = 'stdPhotonAnalyzerHGCalFromMultiCl'
14 from DQMOffline.EGamma.egammaDQMOffline_cff import stdPhotonAnalysisHGCal
15 stdPhotonOfflineClientHGCal.etaBin = stdPhotonAnalysisHGCal.etaBin
16 stdPhotonOfflineClientHGCal.etaMin = stdPhotonAnalysisHGCal.etaMin
17 stdPhotonOfflineClientHGCal.etaMax = stdPhotonAnalysisHGCal.etaMax
18 
19 photonOfflineDQMClient = cms.Sequence(photonOfflineClient*stdPhotonOfflineClient)
20 _photonOfflineDQMClientHGCal = photonOfflineDQMClient.copy()
21 _photonOfflineDQMClientHGCal += stdPhotonOfflineClientHGCal
22 
23 phase2_hgcal.toReplaceWith(
24  photonOfflineDQMClient, _photonOfflineDQMClientHGCal
25 )
26