1 import FWCore.ParameterSet.Config
as cms
5 lowPtRegressionModifier = regressionModifier106XUL.clone(
6 modifierName =
'EGRegressionModifierV3',
7 rhoTag =
'fixedGridRhoFastjetAll',
10 lowEtHighEtBoundary = 20.,
11 ebLowEtForestName =
":lowPtElectron_eb_ecalOnly_05To50_mean",
12 ebHighEtForestName =
":lowPtElectron_eb_ecalOnly_05To50_mean",
13 eeLowEtForestName =
":lowPtElectron_ee_ecalOnly_05To50_mean",
14 eeHighEtForestName =
":lowPtElectron_ee_ecalOnly_05To50_mean",
17 lowEtHighEtBoundary = 20.,
18 ebLowEtForestName =
":lowPtElectron_eb_ecalOnly_05To50_sigma",
19 ebHighEtForestName =
":lowPtElectron_eb_ecalOnly_05To50_sigma",
20 eeLowEtForestName =
":lowPtElectron_ee_ecalOnly_05To50_sigma",
21 eeHighEtForestName =
":lowPtElectron_ee_ecalOnly_05To50_sigma",
24 ecalTrkRegressionConfig = dict(
25 lowEtHighEtBoundary = 20.,
26 ebLowEtForestName =
":lowPtElectron_eb_ecalTrk_05To50_mean",
27 ebHighEtForestName =
":lowPtElectron_eb_ecalTrk_05To50_mean",
28 eeLowEtForestName =
":lowPtElectron_ee_ecalTrk_05To50_mean",
29 eeHighEtForestName =
":lowPtElectron_ee_ecalTrk_05To50_mean",
31 ecalTrkRegressionUncertConfig = dict(
32 lowEtHighEtBoundary = 20.,
33 ebLowEtForestName =
":lowPtElectron_eb_ecalTrk_05To50_sigma",
34 ebHighEtForestName =
":lowPtElectron_eb_ecalTrk_05To50_sigma",
35 eeLowEtForestName =
":lowPtElectron_ee_ecalTrk_05To50_sigma",
36 eeHighEtForestName =
":lowPtElectron_ee_ecalTrk_05To50_sigma",
42 from RecoEgamma.EgammaElectronProducers.lowPtGsfElectronFinalizer_cfi
import lowPtGsfElectronFinalizer
43 lowPtGsfElectrons = lowPtGsfElectronFinalizer.clone(
44 previousGsfElectronsTag =
"lowPtGsfElectronsPreRegression",
45 regressionConfig = lowPtRegressionModifier,
48 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff
import run2_miniAOD_UL
49 run2_miniAOD_UL.toModify(lowPtGsfElectrons, previousGsfElectronsTag =
"lowPtGsfElectrons::@skipCurrentProcess")