1 import FWCore.ParameterSet.Config
as cms
11 photonAnalysis.OutputMEsInRootFile = cms.bool(
False)
12 photonAnalysis.Verbosity = cms.untracked.int32(0)
13 photonAnalysis.standAlone = cms.bool(
False)
16 stdPhotonAnalysis = DQMOffline.EGamma.photonAnalyzer_cfi.photonAnalysis.clone(
17 ComponentName =
'stdPhotonAnalysis',
18 analyzerName =
'stdPhotonAnalyzer',
19 phoProducer =
'photons',
20 OutputMEsInRootFile =
False,
25 piZeroAnalysis.OutputMEsInRootFile = cms.bool(
False)
26 piZeroAnalysis.Verbosity = cms.untracked.int32(0)
27 piZeroAnalysis.standAlone = cms.bool(
False)
30 zmumugammaOldAnalysis = DQMOffline.EGamma.zmumugammaAnalyzer_cfi.zmumugammaAnalysis.clone(
31 ComponentName =
'zmumugammaOldAnalysis',
32 analyzerName =
'zmumugammaOldValidation',
33 phoProducer =
'photons' 36 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
37 stdPhotonAnalysisHGCal = stdPhotonAnalysis.clone(
38 ComponentName =
'stdPhotonAnalyzerHGCal',
39 analyzerName =
'stdPhotonAnalyzerHGCal',
40 phoProducer =
'photonsHGC',
41 isolationStrength = 2,
47 egammaDQMOffline = cms.Sequence(photonAnalysis*stdPhotonAnalysis*zmumugammaOldAnalysis*zmumugammaAnalysis*piZeroAnalysis*electronAnalyzerSequence)
48 _egammaDQMOfflineHGCal = egammaDQMOffline.copy()
49 _egammaDQMOfflineHGCal += stdPhotonAnalysisHGCal
51 phase2_hgcal.toReplaceWith(
52 egammaDQMOffline, _egammaDQMOfflineHGCal
55 from Configuration.Eras.Modifier_peripheralPbPb_cff
import peripheralPbPb
56 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
57 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
58 for e
in [peripheralPbPb, pp_on_AA, pp_on_XeXe_2017]:
59 e.toModify(stdPhotonAnalysis, phoProducer = cms.InputTag(
'islandPhotons'))