1 import FWCore.ParameterSet.Config
as cms
6 from RecoEgamma.EgammaIsolationAlgos.electronTrackIsolations_cfi
import trkIsol03CfgV1,trkIsol04CfgV1,trkIsol03CfgV2,trkIsol04CfgV2
9 gedGsfElectronsTmp = cms.EDProducer(
"GEDGsfElectronProducer",
12 previousGsfElectronsTag = cms.InputTag(
""),
13 pflowGsfElectronsTag = cms.InputTag(
""),
14 gsfElectronCoresTag = cms.InputTag(
"gedGsfElectronCores"),
15 pfMvaTag = cms.InputTag(
""),
18 applyPreselection = cms.bool(
True),
19 ecalDrivenEcalEnergyFromClassBasedParameterization = cms.bool(
False),
20 ecalDrivenEcalErrorFromClassBasedParameterization = cms.bool(
False),
21 applyAmbResolution = cms.bool(
False),
22 useEcalRegression = cms.bool(
True),
23 useCombinationRegression = cms.bool(
True),
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(
"gedelectron_EBCorrection_offline_v1",
53 "gedelectron_EECorrection_offline_v1",
54 "gedelectron_EBUncertainty_offline_v1",
55 "gedelectron_EEUncertainty_offline_v1"),
56 combinationRegressionWeightLabels = cms.vstring(
"gedelectron_p4combination_offline"),
59 useIsolationValues = cms.bool(
False),
63 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
64 pp_on_AA_2018.toModify(gedGsfElectronsTmp.preselection, minSCEtBarrel = 15.0)
65 pp_on_AA_2018.toModify(gedGsfElectronsTmp.preselection, minSCEtEndcaps = 15.0)