Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop type spec in TrackingTools RecoMuon #32396

Merged
merged 1 commit into from
Dec 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 27 additions & 26 deletions RecoMuon/Configuration/python/DisplacedMuonSeededStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,59 +7,60 @@
#for displaced global muons
import RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi
muonSeededSeedsOutInDisplaced = RecoTracker.SpecialSeedGenerators.outInSeedsFromStandaloneMuons_cfi.outInSeedsFromStandaloneMuons.clone(
src = "earlyDisplacedMuons",
src = "earlyDisplacedMuons",
fromVertex = False
)
muonSeededSeedsOutInDisplaced.fromVertex = cms.bool(False)
###------------- MeasurementEstimator, defining the searcgh window for pattern recongnition ----------------
#for displaced global muons
import TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi
muonSeededMeasurementEstimatorForOutInDisplaced = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
ComponentName = cms.string('muonSeededMeasurementEstimatorForOutInDisplaced'),
MaxChi2 = cms.double(30.0), ## was 30 ## TO BE TUNED
nSigma = cms.double(3.), ## was 3 ## TO BE TUNED
ComponentName = 'muonSeededMeasurementEstimatorForOutInDisplaced',
MaxChi2 = 30.0, ## was 30 ## TO BE TUNED
nSigma = 3., ## was 3 ## TO BE TUNED
)

###------------- TrajectoryFilter, defining selections on the trajectories while building them ----------------
#for displaced global muons
import RecoTracker.IterativeTracking.MuonSeededStep_cff
muonSeededTrajectoryFilterForOutInDisplaced = RecoTracker.IterativeTracking.MuonSeededStep_cff.muonSeededTrajectoryFilterForInOut.clone()
muonSeededTrajectoryFilterForOutInDisplaced.constantValueForLostHitsFractionFilter = 10 ## allow more lost hits
muonSeededTrajectoryFilterForOutInDisplaced.minimumNumberOfHits = 5 ## allow more lost hits
muonSeededTrajectoryFilterForOutInDisplaced = RecoTracker.IterativeTracking.MuonSeededStep_cff.muonSeededTrajectoryFilterForInOut.clone(
constantValueForLostHitsFractionFilter = 10, ## allow more lost hits
minimumNumberOfHits = 5 ## allow more lost hits
)
###------------- TrajectoryBuilders ----------------
#for displaced global muons
muonSeededTrajectoryBuilderForOutInDisplaced = RecoTracker.CkfPattern.GroupedCkfTrajectoryBuilder_cfi.GroupedCkfTrajectoryBuilder.clone(
foundHitBonus = cms.double(1000.0),
lostHitPenalty = cms.double(1.0),
maxCand = cms.int32(3),
estimator = cms.string('muonSeededMeasurementEstimatorForOutInDisplaced'),
trajectoryFilter = cms.PSet(refToPSet_ = cms.string('muonSeededTrajectoryFilterForOutInDisplaced')),
inOutTrajectoryFilter = cms.PSet(refToPSet_ = cms.string('muonSeededTrajectoryFilterForOutInDisplaced')), # not sure if it is used
minNrOfHitsForRebuild = cms.int32(5),
requireSeedHitsInRebuild = cms.bool(True),
keepOriginalIfRebuildFails = cms.bool(False),
foundHitBonus = 1000.0,
lostHitPenalty = 1.0,
maxCand = 3,
estimator = 'muonSeededMeasurementEstimatorForOutInDisplaced',
trajectoryFilter = dict(refToPSet_ = 'muonSeededTrajectoryFilterForOutInDisplaced'),
inOutTrajectoryFilter = dict(refToPSet_ = 'muonSeededTrajectoryFilterForOutInDisplaced'), # not sure if it is used
minNrOfHitsForRebuild = 5,
requireSeedHitsInRebuild = True,
keepOriginalIfRebuildFails = False,
)
######## TRACK CANDIDATE MAKERS
#for displaced global muons
muonSeededTrackCandidatesOutInDisplaced = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
src = cms.InputTag("muonSeededSeedsOutInDisplaced"),
TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string("muonSeededTrajectoryBuilderForOutInDisplaced")),
TrajectoryCleaner = cms.string('muonSeededTrajectoryCleanerBySharedHits'),
src = "muonSeededSeedsOutInDisplaced",
TrajectoryBuilderPSet = dict(refToPSet_ = "muonSeededTrajectoryBuilderForOutInDisplaced"),
TrajectoryCleaner = 'muonSeededTrajectoryCleanerBySharedHits',
numHitsForSeedCleaner = cms.int32(50),
onlyPixelHitsForSeedCleaner = cms.bool(False),
)

######## TRACK PRODUCERS
#for displaced global muon
muonSeededTracksOutInDisplaced = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
src = cms.InputTag("muonSeededTrackCandidatesOutInDisplaced"),
AlgorithmName = cms.string('muonSeededStepOutIn'),
Fitter = cms.string("muonSeededFittingSmootherWithOutliersRejectionAndRK"),
src = "muonSeededTrackCandidatesOutInDisplaced",
AlgorithmName = 'muonSeededStepOutIn',
Fitter = "muonSeededFittingSmootherWithOutliersRejectionAndRK",
)

#for displaced global muons
muonSeededTracksOutInDisplacedClassifier = RecoTracker.IterativeTracking.MuonSeededStep_cff.muonSeededTracksOutInClassifier.clone()
muonSeededTracksOutInDisplacedClassifier.src='muonSeededTracksOutInDisplaced'

muonSeededTracksOutInDisplacedClassifier = RecoTracker.IterativeTracking.MuonSeededStep_cff.muonSeededTracksOutInClassifier.clone(
src='muonSeededTracksOutInDisplaced'
)

#for displaced global muons
muonSeededStepCoreDisplacedTask = cms.Task(
Expand Down
36 changes: 19 additions & 17 deletions RecoMuon/L2MuonProducer/python/L2Muons_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,27 @@
# from Geometry.CommonTopologies.bareGlobalTrackingGeometry_cfi import *
# from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *
import TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi
EstimatorForSTA = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone()
EstimatorForSTA = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
ComponentName = 'Chi2STA',
MaxChi2 = 1000.
)
import TrackingTools.TrackFitters.KFTrajectoryFitter_cfi
KFTrajectoryFitterForSTA = TrackingTools.TrackFitters.KFTrajectoryFitter_cfi.KFTrajectoryFitter.clone()
KFTrajectoryFitterForSTA = TrackingTools.TrackFitters.KFTrajectoryFitter_cfi.KFTrajectoryFitter.clone(
ComponentName = 'KFFitterSTA',
Propagator = 'SteppingHelixPropagatorAny',
Estimator = 'Chi2STA'
)
import TrackingTools.TrackFitters.KFTrajectorySmoother_cfi
KFTrajectorySmootherForSTA = TrackingTools.TrackFitters.KFTrajectorySmoother_cfi.KFTrajectorySmoother.clone()
KFTrajectorySmootherForSTA = TrackingTools.TrackFitters.KFTrajectorySmoother_cfi.KFTrajectorySmoother.clone(
ComponentName = 'KFSmootherSTA',
Propagator = 'SteppingHelixPropagatorOpposite',
Estimator = 'Chi2STA'
)
import TrackingTools.TrackFitters.KFFittingSmoother_cfi
KFFittingSmootheForSTA = TrackingTools.TrackFitters.KFFittingSmoother_cfi.KFFittingSmoother.clone()
KFFittingSmootheForSTA = TrackingTools.TrackFitters.KFFittingSmoother_cfi.KFFittingSmoother.clone(
ComponentName = 'KFFitterSmootherSTA',
Fitter = 'KFFitterSTA',
Smoother = 'KFSmootherSTA'
)
# Stand Alone Muons Producer
from RecoMuon.L2MuonProducer.L2Muons_cfi import *
EstimatorForSTA.ComponentName = 'Chi2STA'
EstimatorForSTA.MaxChi2 = 1000.
KFTrajectoryFitterForSTA.ComponentName = 'KFFitterSTA'
KFTrajectoryFitterForSTA.Propagator = 'SteppingHelixPropagatorAny'
KFTrajectoryFitterForSTA.Estimator = 'Chi2STA'
KFTrajectorySmootherForSTA.ComponentName = 'KFSmootherSTA'
KFTrajectorySmootherForSTA.Propagator = 'SteppingHelixPropagatorOpposite'
KFTrajectorySmootherForSTA.Estimator = 'Chi2STA'
KFFittingSmootheForSTA.ComponentName = 'KFFitterSmootherSTA'
KFFittingSmootheForSTA.Fitter = 'KFFitterSTA'
KFFittingSmootheForSTA.Smoother = 'KFSmootherSTA'


Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
from TrackingTools.GeomPropagators.AnalyticalPropagator_cfi import AnalyticalPropagator
AnalyticalPropagatorParabolicMF = AnalyticalPropagator.clone(
SimpleMagneticField = cms.string('ParabolicMf'),
ComponentName = cms.string('AnalyticalPropagatorParabolicMf')
ComponentName = 'AnalyticalPropagatorParabolicMf'
)

from TrackingTools.GeomPropagators.OppositeAnalyticalPropagator_cfi import OppositeAnalyticalPropagator
OppositeAnalyticalPropagatorParabolicMF = OppositeAnalyticalPropagator.clone(
SimpleMagneticField = cms.string('ParabolicMf'),
ComponentName = cms.string('AnalyticalPropagatorParabolicMfOpposite')
ComponentName = 'AnalyticalPropagatorParabolicMfOpposite'
)
44 changes: 23 additions & 21 deletions TrackingTools/GeomPropagators/python/BeamHaloPropagator_cff.py
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
import FWCore.ParameterSet.Config as cms

import copy
from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi import *
# clone the steppinghelix propagators
BeamHaloSHPropagatorAlong = copy.deepcopy(SteppingHelixPropagatorAlong)
import copy
from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi import *
BeamHaloSHPropagatorOpposite = copy.deepcopy(SteppingHelixPropagatorOpposite)
import copy
from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi import *
BeamHaloSHPropagatorAny = copy.deepcopy(SteppingHelixPropagatorAny)
import copy
from TrackingTools.MaterialEffects.MaterialPropagator_cfi import *
# clone some material propagators
BeamHaloMPropagatorAlong = copy.deepcopy(MaterialPropagator)
import copy
from TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi import *
BeamHaloMPropagatorOpposite = copy.deepcopy(OppositeMaterialPropagator)
#
# special propagator
from TrackingTools.GeomPropagators.BeamHaloPropagatorAlong_cfi import *
from TrackingTools.GeomPropagators.BeamHaloPropagatorOpposite_cfi import *
from TrackingTools.GeomPropagators.BeamHaloPropagatorAny_cfi import *
BeamHaloSHPropagatorAlong.ComponentName = 'BeamHaloSHPropagatorAlong'
BeamHaloSHPropagatorOpposite.ComponentName = 'BeamHaloSHPropagatorOpposite'
BeamHaloSHPropagatorAny.ComponentName = 'BeamHaloSHPropagatorAny'
BeamHaloMPropagatorAlong.ComponentName = 'BeamHaloMPropagatorAlong'
BeamHaloMPropagatorAlong.MaxDPhi = 10000
BeamHaloMPropagatorOpposite.ComponentName = 'BeamHaloMPropagatorOpposite'
BeamHaloMPropagatorOpposite.MaxDPhi = 10000

BeamHaloMPropagatorAlong.useRungeKutta = True
BeamHaloMPropagatorOpposite.useRungeKutta = True

# clone the steppinghelix propagators
BeamHaloSHPropagatorAlong = SteppingHelixPropagatorAlong.clone(
ComponentName = 'BeamHaloSHPropagatorAlong'
)
BeamHaloSHPropagatorOpposite = SteppingHelixPropagatorOpposite.clone(
ComponentName = 'BeamHaloSHPropagatorOpposite'
)
BeamHaloSHPropagatorAny = SteppingHelixPropagatorAny.clone(
ComponentName = 'BeamHaloSHPropagatorAny'
)
# clone some material propagators
BeamHaloMPropagatorAlong = MaterialPropagator.clone(
ComponentName = 'BeamHaloMPropagatorAlong',
MaxDPhi = 10000,
useRungeKutta = True
)

BeamHaloMPropagatorOpposite = OppositeMaterialPropagator.clone(
ComponentName = 'BeamHaloMPropagatorOpposite',
MaxDPhi = 10000,
useRungeKutta = True
)
8 changes: 4 additions & 4 deletions TrackingTools/GsfTracking/python/BwdElectronPropagator_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# "backward" propagator for electrons
#
bwdElectronPropagator = TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi.OppositeMaterialPropagator.clone()
bwdElectronPropagator.Mass = 0.000511
bwdElectronPropagator.ComponentName = 'bwdElectronPropagator'

bwdElectronPropagator = TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi.OppositeMaterialPropagator.clone(
Mass = 0.000511,
ComponentName = 'bwdElectronPropagator'
)
86 changes: 43 additions & 43 deletions TrackingTools/GsfTracking/python/CkfElectronCandidateMaker_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,64 +2,65 @@

#Chi2 estimator
import TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi
ElectronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone()
ElectronChi2.ComponentName = 'ElectronChi2'
ElectronChi2.MaxChi2 = 2000.
ElectronChi2.nSigma = 3.
ElectronChi2.MaxDisplacement = 100
ElectronChi2.MaxSagitta = -1

ElectronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
ComponentName = 'ElectronChi2',
MaxChi2 = 2000.,
nSigma = 3.,
MaxDisplacement = 100,
MaxSagitta = -1
)
# Trajectory Filter
import TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff
TrajectoryFilterForElectrons = TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff.CkfBaseTrajectoryFilter_block.clone(
chargeSignificance = cms.double(-1.0),
minPt = cms.double(2.0),
minHitsMinPt = cms.int32(-1),
ComponentType = cms.string('CkfBaseTrajectoryFilter'),
maxLostHits = cms.int32(1),
maxNumberOfHits = cms.int32(-1),
maxConsecLostHits = cms.int32(1),
nSigmaMinPt = cms.double(5.0),
minimumNumberOfHits = cms.int32(5),
maxCCCLostHits = cms.int32(9999),
minGoodStripCharge = cms.PSet(refToPSet_ = cms.string('SiStripClusterChargeCutNone'))
chargeSignificance = -1.0,
minPt = 2.0,
minHitsMinPt = -1,
ComponentType = 'CkfBaseTrajectoryFilter',
maxLostHits = 1,
maxNumberOfHits = -1,
maxConsecLostHits = 1,
nSigmaMinPt = 5.0,
minimumNumberOfHits = 5,
maxCCCLostHits = 9999,
minGoodStripCharge = dict(refToPSet_ = 'SiStripClusterChargeCutNone')
)

# Trajectory Builder
import RecoTracker.CkfPattern.CkfTrajectoryBuilder_cfi
TrajectoryBuilderForElectrons = RecoTracker.CkfPattern.CkfTrajectoryBuilder_cfi.CkfTrajectoryBuilder.clone()
TrajectoryBuilderForElectrons.trajectoryFilter.refToPSet_ = 'TrajectoryFilterForElectrons'
TrajectoryBuilderForElectrons.maxCand = 5
TrajectoryBuilderForElectrons.intermediateCleaning = False
TrajectoryBuilderForElectrons.propagatorAlong = 'fwdGsfElectronPropagator'
TrajectoryBuilderForElectrons.propagatorOpposite = 'bwdGsfElectronPropagator'
TrajectoryBuilderForElectrons.estimator = 'ElectronChi2'
TrajectoryBuilderForElectrons.MeasurementTrackerName = ''
TrajectoryBuilderForElectrons.lostHitPenalty = 90.
TrajectoryBuilderForElectrons.alwaysUseInvalidHits = True
TrajectoryBuilderForElectrons.TTRHBuilder = 'WithTrackAngle'
TrajectoryBuilderForElectrons.updator = 'KFUpdator'

TrajectoryBuilderForElectrons = RecoTracker.CkfPattern.CkfTrajectoryBuilder_cfi.CkfTrajectoryBuilder.clone(
trajectoryFilter = dict(refToPSet_ = 'TrajectoryFilterForElectrons'),
maxCand = 5,
intermediateCleaning = False,
propagatorAlong = 'fwdGsfElectronPropagator',
propagatorOpposite = 'bwdGsfElectronPropagator',
estimator = 'ElectronChi2',
MeasurementTrackerName = '',
lostHitPenalty = 90.,
alwaysUseInvalidHits = True,
TTRHBuilder = 'WithTrackAngle',
updator = 'KFUpdator'
)



# CKFTrackCandidateMaker
from RecoTracker.CkfPattern.CkfTrackCandidates_cff import *
import RecoTracker.CkfPattern.CkfTrackCandidates_cfi
electronCkfTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone()
electronCkfTrackCandidates.src = cms.InputTag('electronMergedSeeds')
electronCkfTrackCandidates.TrajectoryBuilderPSet.refToPSet_ = 'TrajectoryBuilderForElectrons'
#electronCkfTrackCandidates.TrajectoryCleaner = 'TrajectoryCleanerBySharedHits'
electronCkfTrackCandidates.NavigationSchool = 'SimpleNavigationSchool'
electronCkfTrackCandidates.RedundantSeedCleaner = 'CachingSeedCleanerBySharedInput'
electronCkfTrackCandidates = RecoTracker.CkfPattern.CkfTrackCandidates_cfi.ckfTrackCandidates.clone(
src = 'electronMergedSeeds',
TrajectoryBuilderPSet = dict(refToPSet_ = 'TrajectoryBuilderForElectrons'),
#TrajectoryCleaner = 'TrajectoryCleanerBySharedHits'
NavigationSchool = 'SimpleNavigationSchool',
RedundantSeedCleaner = 'CachingSeedCleanerBySharedInput',
TrajectoryCleaner = 'electronTrajectoryCleanerBySharedHits'
)

from TrackingTools.TrajectoryCleaning.TrajectoryCleanerBySharedHits_cfi import trajectoryCleanerBySharedHits
electronTrajectoryCleanerBySharedHits = trajectoryCleanerBySharedHits.clone(
ComponentName = cms.string('electronTrajectoryCleanerBySharedHits'),
ValidHitBonus = cms.double(1000.0),
MissingHitPenalty = cms.double(0.0)
)
electronCkfTrackCandidates.TrajectoryCleaner = 'electronTrajectoryCleanerBySharedHits'
ComponentName = 'electronTrajectoryCleanerBySharedHits',
ValidHitBonus = 1000.0,
MissingHitPenalty = 0.0
)


# "backward" propagator for electrons
Expand All @@ -71,4 +72,3 @@
electronCkfTrackCandidatesFromMultiCl = electronCkfTrackCandidates.clone(
src = 'electronMergedSeedsFromMultiCl'
)

Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
# (definition should be moved?)
#
import TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi
electronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone()
electronChi2.ComponentName = cms.string('electronChi2')
electronChi2.nSigma = 3.0
electronChi2.MaxChi2 = 100.0


electronChi2 = TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator.clone(
ComponentName = 'electronChi2',
nSigma = 3.0,
MaxChi2 = 100.0
)
8 changes: 4 additions & 4 deletions TrackingTools/GsfTracking/python/FwdElectronPropagator_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# "forward" propagator for electrons
#
fwdElectronPropagator = TrackingTools.MaterialEffects.MaterialPropagator_cfi.MaterialPropagator.clone()
fwdElectronPropagator.Mass = 0.000511
fwdElectronPropagator.ComponentName = 'fwdElectronPropagator'

fwdElectronPropagator = TrackingTools.MaterialEffects.MaterialPropagator_cfi.MaterialPropagator.clone(
Mass = 0.000511,
ComponentName = 'fwdElectronPropagator'
)
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import FWCore.ParameterSet.Config as cms

import TrackingTools.TrackFitters.KFFittingSmoother_cfi
GsfElectronFittingSmoother = TrackingTools.TrackFitters.KFFittingSmoother_cfi.KFFittingSmoother.clone()
GsfElectronFittingSmoother.ComponentName = 'GsfElectronFittingSmoother'
GsfElectronFittingSmoother.Fitter = 'GsfTrajectoryFitter'
GsfElectronFittingSmoother.Smoother = 'GsfTrajectorySmoother'


GsfElectronFittingSmoother = TrackingTools.TrackFitters.KFFittingSmoother_cfi.KFFittingSmoother.clone(
ComponentName = 'GsfElectronFittingSmoother',
Fitter = 'GsfTrajectoryFitter',
Smoother = 'GsfTrajectorySmoother'
)
15 changes: 7 additions & 8 deletions TrackingTools/GsfTracking/python/GsfElectronGsfFit_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
from TrackingTools.GsfTracking.fwdGsfElectronPropagator_cff import *
from TrackingTools.GsfTracking.GsfElectronFit_cff import *
import TrackingTools.GsfTracking.GsfElectronFit_cfi
electronGsfTracks = TrackingTools.GsfTracking.GsfElectronFit_cfi.GsfGlobalElectronTest.clone()
electronGsfTracks.src = 'electronCkfTrackCandidates'
electronGsfTracks.Propagator = 'fwdGsfElectronPropagator'
electronGsfTracks.Fitter = 'GsfElectronFittingSmoother'
electronGsfTracks.TTRHBuilder = 'WithTrackAngle'
electronGsfTracks.TrajectoryInEvent = False

electronGsfTracks = TrackingTools.GsfTracking.GsfElectronFit_cfi.GsfGlobalElectronTest.clone(
src = 'electronCkfTrackCandidates',
Propagator = 'fwdGsfElectronPropagator',
Fitter = 'GsfElectronFittingSmoother',
TTRHBuilder = 'WithTrackAngle',
TrajectoryInEvent = False
)
# FastSim has no template fit on tracker hits
# replace the ECAL driven electron track candidates with the FastSim emulated ones
from Configuration.Eras.Modifier_fastSim_cff import fastSim
Expand All @@ -21,4 +21,3 @@
electronGsfTracksFromMultiCl = electronGsfTracks.clone(
src = 'electronCkfTrackCandidatesFromMultiCl'
)

Loading