Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:55:57

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Geometry.GeometryRecoDB_cff import *
0004 from Configuration.AlCa.GlobalTag import GlobalTag
0005 from Configuration.StandardSequences.MagneticField_cff import *
0006 from RecoVertex.BeamSpotProducer.BeamSpot_cfi import *
0007 
0008 from RecoTracker.TrackProducer.TrackRefitters_cff import *
0009 TrackRefitterForApeEstimator = RecoTracker.TrackProducer.TrackRefitter_cfi.TrackRefitter.clone(
0010     src = "MuSkim",
0011     TrajectoryInEvent = True,
0012     TTRHBuilder = "WithAngleAndTemplate",
0013     NavigationSchool = ''
0014 )
0015 
0016 TrackRefitterHighPurityForApeEstimator = TrackRefitterForApeEstimator.clone(
0017     src = 'HighPuritySelector'
0018 )
0019 
0020 
0021 ## FILTER for high purity tracks
0022 import Alignment.APEEstimation.AlignmentTrackSelector_cff
0023 HighPuritySelector = Alignment.APEEstimation.AlignmentTrackSelector_cff.HighPuritySelector
0024 HighPuritySelector.src = 'MuSkim'
0025 
0026 NoPuritySelector = Alignment.APEEstimation.AlignmentTrackSelector_cff.NoPuritySelector
0027 NoPuritySelector.src = 'MuSkim'
0028 
0029 ## SEQUENCE
0030 
0031 RefitterHighPuritySequence = cms.Sequence(
0032     offlineBeamSpot*
0033     HighPuritySelector*
0034     TrackRefitterForApeEstimator
0035 )
0036 
0037 RefitterNoPuritySequence = cms.Sequence(
0038     offlineBeamSpot*
0039     NoPuritySelector*
0040     TrackRefitterForApeEstimator
0041 )
0042 
0043 
0044