CMS 3D CMS Logo

CkfTrajectories_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # for parabolic magnetic field
4 from Configuration.ProcessModifiers.trackingParabolicMf_cff import trackingParabolicMf
5 
6 #
7 # This cfi should be included to run the CkfTrajectoryMaker
8 #
9 ckfTrajectories = cms.EDProducer("CkfTrajectoryMaker",
10  # these two needed by HLT
11  cleanTrajectoryAfterInOut = cms.bool( False ),
12  maxNSeeds = cms.uint32( 100000 ),
13  # set it as "none" to avoid redundant seed cleaner
14  RedundantSeedCleaner = cms.string('CachingSeedCleanerBySharedInput'),
15  TrajectoryCleaner = cms.string('TrajectoryCleanerBySharedHits'),
16  #string RedundantSeedCleaner = "none"
17  useHitsSplitting = cms.bool(False),
18  doSeedingRegionRebuilding = cms.bool(False),
19 
20  reverseTrajectories = cms.bool(False),
21  trackCandidateAlso = cms.bool(False),
22  #bool seedCleaning = false
23  src = cms.InputTag('globalMixedSeeds'),
24  NavigationSchool = cms.string('SimpleNavigationSchool'),
25  TrajectoryBuilder = cms.string('GroupedCkfTrajectoryBuilder'),
26  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('GroupedCkfTrajectoryBuilder')),
27  # nested parameter set for TransientInitialStateEstimator
28  TransientInitialStateEstimatorParameters = cms.PSet(
29  propagatorAlongTISE = cms.string('PropagatorWithMaterial'),
30  propagatorOppositeTISE = cms.string('PropagatorWithMaterialOpposite'),
31 # propagatorAlongTISE = cms.string('PropagatorWithMaterialParabolicMf'),
32 # propagatorOppositeTISE = cms.string('PropagatorWithMaterialParabolicMfOpposite'),
33  numberMeasurementsForFit = cms.int32(4)
34  ),
35  MeasurementTrackerEvent = cms.InputTag("MeasurementTrackerEvent")
36 )
37 
38 ckfTrajectoriesIterativeDefault = ckfTrajectories.clone(
39  TrajectoryBuilder = cms.string('GroupedCkfTrajectoryBuilderIterativeDefault'),
40  TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('GroupedCkfTrajectoryBuilderIterativeDefault')),
41 )
42 trackingParabolicMf.toModify(ckfTrajectoriesIterativeDefault,
43  NavigationSchool='SimpleNavigationSchoolParabolicMf')
44 trackingParabolicMf.toModify(ckfTrajectoriesIterativeDefault.TransientInitialStateEstimatorParameters,
45  propagatorAlongTISE ='PropagatorWithMaterialParabolicMf',
46  propagatorOppositeTISE='PropagatorWithMaterialParabolicMfOpposite')