1 import FWCore.ParameterSet.Config
as cms
7 stdPhotonOfflineClient = DQMOffline.EGamma.photonOfflineClient_cfi.photonOfflineClient.clone()
8 stdPhotonOfflineClient.ComponentName = cms.string(
'stdPhotonOfflineClient')
9 stdPhotonOfflineClient.analyzerName = cms.string(
'stdPhotonAnalyzer')
11 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
12 stdPhotonOfflineClientHGCal = stdPhotonOfflineClient.clone()
13 stdPhotonOfflineClientHGCal.analyzerName =
'stdPhotonAnalyzerHGCalFromMultiCl'
15 stdPhotonOfflineClientHGCal.etaBin = stdPhotonAnalysisHGCal.etaBin
16 stdPhotonOfflineClientHGCal.etaMin = stdPhotonAnalysisHGCal.etaMin
17 stdPhotonOfflineClientHGCal.etaMax = stdPhotonAnalysisHGCal.etaMax
19 photonOfflineDQMClient = cms.Sequence(photonOfflineClient*stdPhotonOfflineClient)
20 _photonOfflineDQMClientHGCal = photonOfflineDQMClient.copy()
21 _photonOfflineDQMClientHGCal += stdPhotonOfflineClientHGCal
23 phase2_hgcal.toReplaceWith(
24 photonOfflineDQMClient, _photonOfflineDQMClientHGCal