1 import FWCore.ParameterSet.Config
as cms
23 egammaGlobalReco = cms.Sequence(electronGsfTracking*conversionTrackSequence*allConversionSequence)
25 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
26 _fastSim_egammaGlobalReco = egammaGlobalReco.copy()
27 _fastSim_egammaGlobalReco.replace(conversionTrackSequence,conversionTrackSequenceNoEcalSeeded)
28 fastSim.toReplaceWith(egammaGlobalReco, _fastSim_egammaGlobalReco)
30 egammareco = cms.Sequence(electronSequence*conversionSequence*photonSequence)
31 egammaHighLevelRecoPrePF = cms.Sequence(gsfEcalDrivenElectronSequence*uncleanedOnlyElectronSequence*conversionSequence*photonSequence)
33 fastSim.toReplaceWith(egammareco, egammareco.copyAndExclude([conversionSequence]))
34 fastSim.toReplaceWith(egammaHighLevelRecoPrePF,egammaHighLevelRecoPrePF.copyAndExclude([uncleanedOnlyElectronSequence,conversionSequence]))
39 egammaHighLevelRecoPostPF = cms.Sequence(interestingEgammaIsoDetIds*egmIsolationSequence*photonIDSequence*photonIDSequenceGED*eIdSequence*hfEMClusteringSequence)
42 egammarecoFull = cms.Sequence(egammareco*interestingEgammaIsoDetIds*egmIsolationSequence*photonIDSequence*eIdSequence*hfEMClusteringSequence)
43 egammarecoWithID = cms.Sequence(egammareco*photonIDSequence*eIdSequence)
44 egammareco_woConvPhotons = cms.Sequence(electronSequence*photonSequence)
45 egammareco_withIsolation = cms.Sequence(egammareco*egammaIsolationSequence)
46 egammareco_withIsolation_woConvPhotons = cms.Sequence(egammareco_woConvPhotons*egammaIsolationSequence)
47 egammareco_withPhotonID = cms.Sequence(egammareco*photonIDSequence)
48 egammareco_withElectronID = cms.Sequence(egammareco*eIdSequence)
50 egammarecoFull_woHFElectrons = cms.Sequence(egammareco*interestingEgammaIsoDetIds*photonIDSequence*eIdSequence)
52 from Configuration.Eras.Modifier_pA_2016_cff
import pA_2016
53 from Configuration.Eras.Modifier_peripheralPbPb_cff
import peripheralPbPb
54 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
55 from Configuration.Eras.Modifier_ppRef_2017_cff
import ppRef_2017
57 from RecoHI.HiEgammaAlgos.photonIsolationHIProducer_cfi
import photonIsolationHIProducerpp
58 from RecoHI.HiEgammaAlgos.photonIsolationHIProducer_cfi
import photonIsolationHIProducerppGED
59 from RecoHI.HiEgammaAlgos.photonIsolationHIProducer_cfi
import photonIsolationHIProducerppIsland
61 _egammaHighLevelRecoPostPF_HI = egammaHighLevelRecoPostPF.copy()
62 _egammaHighLevelRecoPostPF_HI += photonIsolationHIProducerpp
63 _egammaHighLevelRecoPostPF_HI += photonIsolationHIProducerppGED
64 _egammaHighLevelRecoPostPF_HI += photonIsolationHIProducerppIsland
65 for e
in [pA_2016, peripheralPbPb, pp_on_XeXe_2017, ppRef_2017]:
66 e.toReplaceWith(egammaHighLevelRecoPostPF, _egammaHighLevelRecoPostPF_HI)