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 stdPhotonAnalysis.ComponentName = cms.string(
'stdPhotonAnalysis')
18 stdPhotonAnalysis.analyzerName = cms.string(
'stdPhotonAnalyzer')
19 stdPhotonAnalysis.phoProducer = cms.InputTag(
'photons')
20 stdPhotonAnalysis.OutputMEsInRootFile = cms.bool(
False)
21 stdPhotonAnalysis.Verbosity = cms.untracked.int32(0)
22 stdPhotonAnalysis.standAlone = cms.bool(
False)
24 piZeroAnalysis.OutputMEsInRootFile = cms.bool(
False)
25 piZeroAnalysis.Verbosity = cms.untracked.int32(0)
26 piZeroAnalysis.standAlone = cms.bool(
False)
29 zmumugammaOldAnalysis = DQMOffline.EGamma.zmumugammaAnalyzer_cfi.zmumugammaAnalysis.clone()
30 zmumugammaOldAnalysis.ComponentName = cms.string(
'zmumugammaOldAnalysis')
31 zmumugammaOldAnalysis.analyzerName = cms.string(
'zmumugammaOldValidation')
32 zmumugammaOldAnalysis.phoProducer = cms.InputTag(
'photons')
35 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
36 stdPhotonAnalysisHGCal = stdPhotonAnalysis.clone()
37 stdPhotonAnalysisHGCal.ComponentName =
'stdPhotonAnalyzerHGCalFromMultiCl'
38 stdPhotonAnalysisHGCal.analyzerName =
'stdPhotonAnalyzerHGCalFromMultiCl'
39 stdPhotonAnalysisHGCal.phoProducer =
'photonsFromMultiCl'
40 stdPhotonAnalysisHGCal.isolationStrength = 2
41 stdPhotonAnalysisHGCal.etaMin = -3.0
42 stdPhotonAnalysisHGCal.etaMax = 3.0
43 stdPhotonAnalysisHGCal.maxPhoEta = 3.0
45 egammaDQMOffline = cms.Sequence(photonAnalysis*stdPhotonAnalysis*zmumugammaOldAnalysis*zmumugammaAnalysis*piZeroAnalysis*electronAnalyzerSequence)
46 _egammaDQMOfflineHGCal = egammaDQMOffline.copy()
47 _egammaDQMOfflineHGCal += stdPhotonAnalysisHGCal
49 phase2_hgcal.toReplaceWith(
50 egammaDQMOffline, _egammaDQMOfflineHGCal
53 from Configuration.Eras.Modifier_peripheralPbPb_cff
import peripheralPbPb
54 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
55 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
56 for e
in [peripheralPbPb, pp_on_AA, pp_on_XeXe_2017]:
57 e.toModify(stdPhotonAnalysis, phoProducer = cms.InputTag(
'islandPhotons'))