Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:17:34

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoEgamma.EgammaTools.regressionModifier_cfi import regressionModifier106XUL
0004 
0005 lowPtRegressionModifier = regressionModifier106XUL.clone(
0006     modifierName = 'EGRegressionModifierV3',
0007     rhoTag = 'fixedGridRhoFastjetAll',
0008     eleRegs = dict(
0009         ecalOnlyMean = dict(
0010             lowEtHighEtBoundary = 20.,
0011             ebLowEtForestName = ":lowPtElectron_eb_ecalOnly_05To50_mean",
0012             ebHighEtForestName = ":lowPtElectron_eb_ecalOnly_05To50_mean",
0013             eeLowEtForestName = ":lowPtElectron_ee_ecalOnly_05To50_mean",
0014             eeHighEtForestName = ":lowPtElectron_ee_ecalOnly_05To50_mean",
0015             ),
0016         ecalOnlySigma = dict(
0017             lowEtHighEtBoundary = 20.,
0018             ebLowEtForestName = ":lowPtElectron_eb_ecalOnly_05To50_sigma",
0019             ebHighEtForestName = ":lowPtElectron_eb_ecalOnly_05To50_sigma",
0020             eeLowEtForestName = ":lowPtElectron_ee_ecalOnly_05To50_sigma",
0021             eeHighEtForestName = ":lowPtElectron_ee_ecalOnly_05To50_sigma",
0022             ),
0023         epComb = dict(
0024             ecalTrkRegressionConfig = dict(
0025                 lowEtHighEtBoundary = 20.,
0026                 ebLowEtForestName = ":lowPtElectron_eb_ecalTrk_05To50_mean",
0027                 ebHighEtForestName = ":lowPtElectron_eb_ecalTrk_05To50_mean",
0028                 eeLowEtForestName = ":lowPtElectron_ee_ecalTrk_05To50_mean",
0029                 eeHighEtForestName = ":lowPtElectron_ee_ecalTrk_05To50_mean",
0030                 ),
0031             ecalTrkRegressionUncertConfig = dict(
0032                 lowEtHighEtBoundary = 20.,
0033                 ebLowEtForestName = ":lowPtElectron_eb_ecalTrk_05To50_sigma",
0034                 ebHighEtForestName = ":lowPtElectron_eb_ecalTrk_05To50_sigma",
0035                 eeLowEtForestName = ":lowPtElectron_ee_ecalTrk_05To50_sigma",
0036                 eeHighEtForestName = ":lowPtElectron_ee_ecalTrk_05To50_sigma",
0037                 ),
0038         )
0039     ),
0040 )
0041 
0042 from RecoEgamma.EgammaElectronProducers.lowPtGsfElectronFinalizer_cfi import lowPtGsfElectronFinalizer
0043 lowPtGsfElectrons = lowPtGsfElectronFinalizer.clone(
0044     previousGsfElectronsTag = "lowPtGsfElectronsPreRegression",
0045     regressionConfig = lowPtRegressionModifier,
0046 )
0047 
0048 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff import run2_miniAOD_UL
0049 run2_miniAOD_UL.toModify(lowPtGsfElectrons, previousGsfElectronsTag = "lowPtGsfElectrons::@skipCurrentProcess")