1 import FWCore.ParameterSet.Config
as cms
2 from RecoEgamma.EgammaElectronProducers.lowPtGsfElectronsPreRegression_cfi
import lowPtGsfElectronsPreRegression
4 lowPtGsfElectrons = lowPtGsfElectronsPreRegression.clone()
11 lowPtRegressionModifier = regressionModifier106XUL.clone(
12 modifierName =
'EGRegressionModifierV3',
13 rhoTag =
'fixedGridRhoFastjetAll',
16 lowEtHighEtBoundary = 20.,
17 ebLowEtForestName =
"lowPtElectron_eb_ecalOnly_05To50_mean",
18 ebHighEtForestName =
"lowPtElectron_eb_ecalOnly_05To50_mean",
19 eeLowEtForestName =
"lowPtElectron_ee_ecalOnly_05To50_mean",
20 eeHighEtForestName =
"lowPtElectron_ee_ecalOnly_05To50_mean",
23 lowEtHighEtBoundary = 20.,
24 ebLowEtForestName =
"lowPtElectron_eb_ecalOnly_05To50_sigma",
25 ebHighEtForestName =
"lowPtElectron_eb_ecalOnly_05To50_sigma",
26 eeLowEtForestName =
"lowPtElectron_ee_ecalOnly_05To50_sigma",
27 eeHighEtForestName =
"lowPtElectron_ee_ecalOnly_05To50_sigma",
30 ecalTrkRegressionConfig =
dict(
31 lowEtHighEtBoundary = 20.,
32 ebLowEtForestName =
"lowPtElectron_eb_ecalTrk_05To50_mean",
33 ebHighEtForestName =
"lowPtElectron_eb_ecalTrk_05To50_mean",
34 eeLowEtForestName =
"lowPtElectron_ee_ecalTrk_05To50_mean",
35 eeHighEtForestName =
"lowPtElectron_ee_ecalTrk_05To50_mean",
37 ecalTrkRegressionUncertConfig =
dict(
38 lowEtHighEtBoundary = 20.,
39 ebLowEtForestName =
"lowPtElectron_eb_ecalTrk_05To50_sigma",
40 ebHighEtForestName =
"lowPtElectron_eb_ecalTrk_05To50_sigma",
41 eeLowEtForestName =
"lowPtElectron_ee_ecalTrk_05To50_sigma",
42 eeHighEtForestName =
"lowPtElectron_ee_ecalTrk_05To50_sigma",
48 from RecoEgamma.EgammaElectronProducers.lowPtGsfElectronFinalizer_cfi
import lowPtGsfElectronFinalizer
49 _lowPtGsfElectrons = lowPtGsfElectronFinalizer.clone(
50 previousGsfElectronsTag =
"lowPtGsfElectrons::@skipCurrentProcess",
51 regressionConfig = lowPtRegressionModifier,
54 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff
import run2_miniAOD_UL
55 run2_miniAOD_UL.toReplaceWith(lowPtGsfElectrons,_lowPtGsfElectrons)