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  ComponentName = 'stdPhotonOfflineClient',
9  analyzerName = 'stdPhotonAnalyzer'
10 )
11 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
12 stdPhotonOfflineClientHGCal = stdPhotonOfflineClient.clone(
13  analyzerName = 'stdPhotonAnalyzerHGCal'
14 )
15 from DQMOffline.EGamma.egammaDQMOffline_cff import stdPhotonAnalysisHGCal
16 stdPhotonOfflineClientHGCal.etaBin = stdPhotonAnalysisHGCal.etaBin
17 stdPhotonOfflineClientHGCal.etaMin = stdPhotonAnalysisHGCal.etaMin
18 stdPhotonOfflineClientHGCal.etaMax = stdPhotonAnalysisHGCal.etaMax
19 
20 photonOfflineDQMClient = cms.Sequence(photonOfflineClient*stdPhotonOfflineClient)
21 _photonOfflineDQMClientHGCal = photonOfflineDQMClient.copy()
22 _photonOfflineDQMClientHGCal += stdPhotonOfflineClientHGCal
23 
24 phase2_hgcal.toReplaceWith(
25  photonOfflineDQMClient, _photonOfflineDQMClientHGCal
26 )
27