Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:59

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # for parabolic magnetic field
0004 from Configuration.ProcessModifiers.trackingParabolicMf_cff import trackingParabolicMf
0005 
0006 # to resolve the refToPSet_
0007 from TrackingTools.TrajectoryFiltering.TrajectoryFilter_cff import CkfBaseTrajectoryFilter_block
0008 
0009 GroupedCkfTrajectoryBuilder = cms.PSet(
0010     ComponentType = cms.string('GroupedCkfTrajectoryBuilder'),
0011     bestHitOnly = cms.bool(True),
0012     propagatorAlong = cms.string('PropagatorWithMaterial'),
0013 #    propagatorAlong = cms.string('PropagatorWithMaterialParabolicMf'),
0014     # Filter used on tracks at end of all tracking (in-out + out-in)
0015     trajectoryFilter = cms.PSet(refToPSet_ = cms.string('CkfBaseTrajectoryFilter_block')),
0016     # Filter used on tracks at end of in-out tracking phase
0017     inOutTrajectoryFilter = cms.PSet(refToPSet_ = cms.string('CkfBaseTrajectoryFilter_block')),
0018 #    inOutTrajectoryFilter = cms.PSet(refToPSet_ = cms.string('ckfBaseInOutTrajectoryFilter')),
0019     # If true, then the inOutTrajectoryFilter will be ignored
0020     # and the trajectoryFilter will be used for in-out tracking too.
0021     useSameTrajFilter = cms.bool(True),
0022     # Maximum number of track candidates followed at each step of
0023     # track building
0024     maxCand = cms.int32(5),
0025     intermediateCleaning = cms.bool(True),
0026     # Chi2 added to track candidate if no hit found in layer
0027     lostHitPenalty = cms.double(30.0),
0028     foundHitBonus = cms.double(10.0),
0029     lockHits = cms.bool(True),
0030     TTRHBuilder = cms.string('WithTrackAngle'),
0031     updator = cms.string('KFUpdator'),
0032     # If true, track building will allow for possibility of no hit
0033     # in a given layer, even if it finds compatible hits there.
0034     alwaysUseInvalidHits = cms.bool(True),
0035     requireSeedHitsInRebuild = cms.bool(True),
0036     keepOriginalIfRebuildFails = cms.bool(False),
0037     estimator = cms.string('Chi2'),
0038     propagatorOpposite = cms.string('PropagatorWithMaterialOpposite'),
0039 #    propagatorOpposite = cms.string('PropagatorWithMaterialParabolicMfOpposite'),
0040     # Out-in tracking will not be attempted unless this many hits
0041     # are on track after in-out tracking phase.
0042     minNrOfHitsForRebuild = cms.int32(5),
0043     seedAs5DHit = cms.bool(False),
0044     maxPtForLooperReconstruction = cms.double(0.),
0045     maxDPhiForLooperReconstruction = cms.double(2.),
0046 )
0047 
0048 GroupedCkfTrajectoryBuilderIterativeDefault = GroupedCkfTrajectoryBuilder.clone()
0049 trackingParabolicMf.toModify(GroupedCkfTrajectoryBuilderIterativeDefault,
0050                              propagatorAlong='PropagatorWithMaterialParabolicMf',
0051                              propagatorOpposite='PropagatorWithMaterialParabolicMfOpposite')