1 import FWCore.ParameterSet.Config
as cms
5 from RecoEgamma.EgammaIsolationAlgos.electronTrackIsolations_cfi
import trkIsol03CfgV1,trkIsol04CfgV1
6 from RecoEgamma.EgammaIsolationAlgos.electronTrackIsolations_cfi
import trkIsol03CfgV2,trkIsol04CfgV2
8 lowPtGsfElectrons = cms.EDProducer(
9 "LowPtGsfElectronProducer",
12 previousGsfElectronsTag = cms.InputTag(
""),
13 pflowGsfElectronsTag = cms.InputTag(
""),
14 gsfElectronCoresTag = cms.InputTag(
"lowPtGsfElectronCores"),
15 pfMvaTag = cms.InputTag(
""),
18 applyPreselection = cms.bool(
False),
19 ecalDrivenEcalEnergyFromClassBasedParameterization = cms.bool(
True),
20 ecalDrivenEcalErrorFromClassBasedParameterization = cms.bool(
True),
21 applyAmbResolution = cms.bool(
False),
22 useEcalRegression = cms.bool(
False),
23 useCombinationRegression = cms.bool(
False),
26 preselection = cms.PSet(
27 minSCEtBarrel = cms.double(4.0),
28 minSCEtEndcaps = cms.double(4.0),
29 maxDeltaEtaBarrel = cms.double(0.02),
30 maxDeltaEtaEndcaps = cms.double(0.02),
31 maxDeltaPhiBarrel = cms.double(0.15),
32 maxDeltaPhiEndcaps = cms.double(0.15),
33 maxHOverEBarrelCone = cms.double(0.15),
34 maxHOverEEndcapsCone = cms.double(0.15),
35 maxHOverEBarrelTower = cms.double(0.15),
36 maxHOverEEndcapsTower = cms.double(0.15),
40 recHitFlagsToBeExcludedBarrel = cleanedHybridSuperClusters.RecHitFlagToBeExcluded,
41 recHitFlagsToBeExcludedEndcaps = multi5x5BasicClustersCleaned.RecHitFlagToBeExcluded,
42 recHitSeverityToBeExcludedBarrel = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
43 recHitSeverityToBeExcludedEndcaps = cleanedHybridSuperClusters.RecHitSeverityToBeExcluded,
46 trkIsol03Cfg = trkIsol03CfgV1,
47 trkIsol04Cfg = trkIsol04CfgV1,
48 trkIsolHEEP03Cfg = trkIsol03CfgV2,
49 trkIsolHEEP04Cfg = trkIsol04CfgV2,
52 ecalRefinedRegressionWeightLabels = cms.vstring(),
57 combinationRegressionWeightLabels = cms.vstring(),
61 useIsolationValues = cms.bool(
False),
65 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
66 fastSim.toModify(lowPtGsfElectrons,ctfTracksTag = cms.InputTag(
"generalTracksBeforeMixing"))
68 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
69 pp_on_AA_2018.toModify(lowPtGsfElectrons.preselection, minSCEtBarrel = 15.0)
70 pp_on_AA_2018.toModify(lowPtGsfElectrons.preselection, minSCEtEndcaps = 15.0)