CMS 3D CMS Logo

lowPtGsfElectrons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoEgamma.EgammaTools.regressionModifier_cfi import regressionModifier106XUL
4 
5 lowPtRegressionModifier = regressionModifier106XUL.clone(
6  modifierName = 'EGRegressionModifierV3',
7  rhoTag = 'fixedGridRhoFastjetAll',
8  eleRegs = dict(
9  ecalOnlyMean = dict(
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",
15  ),
16  ecalOnlySigma = dict(
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",
22  ),
23  epComb = dict(
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",
30  ),
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",
37  ),
38  )
39  ),
40 )
41 
42 from RecoEgamma.EgammaElectronProducers.lowPtGsfElectronFinalizer_cfi import lowPtGsfElectronFinalizer
43 lowPtGsfElectrons = lowPtGsfElectronFinalizer.clone(
44  previousGsfElectronsTag = "lowPtGsfElectronsPreRegression",
45  regressionConfig = lowPtRegressionModifier,
46 )
47 
48 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff import run2_miniAOD_UL
49 run2_miniAOD_UL.toModify(lowPtGsfElectrons, previousGsfElectronsTag = "lowPtGsfElectrons::@skipCurrentProcess")
regressionModifier_cfi