1 import FWCore.ParameterSet.Config
as cms
10 photonTask = cms.Task(photonCore,photons)
11 photonSequence = cms.Sequence(photonTask)
13 _photonTaskHGC = photonTask.copy()
14 _photonTaskHGC.add(photonCoreHGC,photonsHGC)
15 _photonTaskWithIsland = photonTask.copy()
16 _photonTaskWithIsland.add(islandPhotonCore,islandPhotons)
19 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
20 phase2_hgcal.toReplaceWith(
21 photonTask, _photonTaskHGC
24 from Configuration.Eras.Modifier_pA_2016_cff
import pA_2016
25 from Configuration.Eras.Modifier_peripheralPbPb_cff
import peripheralPbPb
26 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
27 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
28 from Configuration.Eras.Modifier_ppRef_2017_cff
import ppRef_2017
29 for e
in [pA_2016, peripheralPbPb, pp_on_AA, pp_on_XeXe_2017, ppRef_2017]:
30 e.toReplaceWith(photonTask, _photonTaskWithIsland)