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.string(
'GsfTrajectoryFitter_forPreId'),
18 Smoother = cms.string(
'GsfTrajectorySmoother_forPreId'),
19 TTRHBuilder = cms.string(
'WithAngleAndTemplate'),
20 ModelNames = cms.vstring([
24 ModelWeights = cms.vstring([
25 'RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_unbiased.xml.gz',
26 'RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_displaced_pt_eta_biased.xml.gz',
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 = cms.InputTag(
"generalTracksBeforeMixing"))
38 import FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi
39 _fastSim_lowPtGsfElectronSeeds = FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi.fixedTrackerDrivenElectronSeeds.clone()
40 _fastSim_lowPtGsfElectronSeeds.seedCollection = cms.InputTag(
"lowPtGsfElectronSeedsTmp",
"")
41 _fastSim_lowPtGsfElectronSeeds.idCollection = cms.VInputTag(
"lowPtGsfElectronSeedsTmp",
"lowPtGsfElectronSeedsTmp:HCAL")
42 _fastSim_lowPtGsfElectronSeeds.PreIdLabel = cms.vstring(
"",
"HCAL")
43 _fastSim_lowPtGsfElectronSeeds.PreGsfLabel = cms.string(
"")
44 fastSim.toReplaceWith(lowPtGsfElectronSeeds,_fastSim_lowPtGsfElectronSeeds)
47 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
48 phase2_tracker.toModify(lowPtGsfElectronSeeds, TTRHBuilder =
'WithTrackAngle')
51 from Configuration.Eras.Modifier_bParking_cff
import bParking
52 bParking.toModify(lowPtGsfElectronSeeds, ModelThresholds =
thresholds(
"VL") )
53 bParking.toModify(lowPtGsfElectronSeeds, MinPtThreshold = 0.5)
T get(const Candidate &c)