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