1 import FWCore.ParameterSet.Config
as cms
4 return cms.vdouble([{
"VL": 0.19,
"L":1.20,
"M":2.02,
"T":3.05}.get(wp,1.e6),
5 {
"VL":-1.99,
"L":0.01,
"M":1.29,
"T":2.42}.get(wp,1.e6)])
7 lowPtGsfElectronSeeds = cms.EDProducer(
8 "LowPtGsfElectronSeedProducer",
9 tracks = cms.InputTag(
"generalTracks"),
10 pfTracks = cms.InputTag(
"lowPtGsfElePfTracks"),
11 ecalClusters = cms.InputTag(
"particleFlowClusterECAL"),
12 hcalClusters = cms.InputTag(
"particleFlowClusterHCAL"),
13 EBRecHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
14 EERecHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
15 rho = cms.InputTag(
'fixedGridRhoFastjetAllTmp'),
16 BeamSpot = cms.InputTag(
"offlineBeamSpot"),
17 Fitter = cms.ESInputTag(
"",
'GsfTrajectoryFitter_forPreId'),
18 Smoother = cms.ESInputTag(
"",
'GsfTrajectorySmoother_forPreId'),
19 TTRHBuilder = cms.ESInputTag(
"",
'WithAngleAndTemplate'),
20 ModelNames = cms.vstring([
24 ModelWeights = cms.vstring([
25 'RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_unbiased.root',
26 'RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_displaced_pt_eta_biased.root',
29 PassThrough = cms.bool(
False),
30 UsePfTracks = cms.bool(
True),
31 MinPtThreshold = cms.double(1.0),
32 MaxPtThreshold = cms.double(15.),
36 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
37 lowPtGsfElectronSeedsTmp = lowPtGsfElectronSeeds.clone(tracks =
"generalTracksBeforeMixing")
38 import FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi
39 _fastSim_lowPtGsfElectronSeeds = FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi.fixedTrackerDrivenElectronSeeds.clone(
40 seedCollection =
"lowPtGsfElectronSeedsTmp:",
41 idCollection = [
"lowPtGsfElectronSeedsTmp",
"lowPtGsfElectronSeedsTmp:HCAL"],
42 PreIdLabel = [
"",
"HCAL"],
45 fastSim.toReplaceWith(lowPtGsfElectronSeeds,_fastSim_lowPtGsfElectronSeeds)
48 from Configuration.Eras.Modifier_bParking_cff
import bParking
49 bParking.toModify(lowPtGsfElectronSeeds,
53 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
54 pp_on_AA.toModify(lowPtGsfElectronSeeds,MinPtThreshold = 5.0)