Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-14 04:15:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #
0004 # Tracking configuration file fragment for P5 cosmic running
0005 #
0006 from RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cff import *
0007 # TTRHBuilders
0008 from RecoTracker.TransientTrackingRecHit.TTRHBuilders_cff import *
0009 # COSMIC TRACK FINDER
0010 from RecoTracker.SpecialSeedGenerators.CosmicSeedP5Pairs_cff import *
0011 from RecoTracker.SingleTrackPattern.CosmicTrackFinderP5_cff import *
0012 # Final Track Selector for CosmicTF
0013 from RecoTracker.FinalTrackSelectors.CosmicTFFinalTrackSelectorP5_cff import *
0014 from RecoTracker.PixelLowPtUtilities.siPixelClusterShapeCache_cfi import *
0015 
0016 #chi2 set to 40!!
0017 # CTF
0018 from RecoTracker.SpecialSeedGenerators.CombinatorialSeedGeneratorForCosmicsP5_cff import *
0019 from RecoTracker.SpecialSeedGenerators.SimpleCosmicBONSeeder_cff import *
0020 from RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cff import *
0021 combinedP5SeedsForCTF = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone(
0022     seedCollections   = ['combinatorialcosmicseedfinderP5',
0023                      'simpleCosmicBONSeeds']
0024 )
0025 
0026 from RecoTracker.CkfPattern.CkfTrackCandidatesP5_cff import *
0027 ckfTrackCandidatesP5.src = 'combinedP5SeedsForCTF'
0028 #backward compatibility 2.2/3.1
0029 
0030 #import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
0031 from RecoTracker.TrackProducer.CTFFinalFitWithMaterialP5_cff import *
0032 # Final Track Selector for CTF
0033 from RecoTracker.FinalTrackSelectors.CTFFinalTrackSelectorP5_cff import *
0034 
0035 # ROACH SEARCH
0036 # Final Track Selector for RS
0037 #from RecoTracker.FinalTrackSelectors.RSFinalTrackSelectorP5_cff import *
0038 
0039 # TRACK INFO
0040 
0041 ckfTrackCandidatesP5LHCNavigation    = ckfTrackCandidatesP5.clone(NavigationSchool = 'SimpleNavigationSchool')
0042 ctfWithMaterialTracksP5LHCNavigation = ctfWithMaterialTracksCosmics.clone(src = "ckfTrackCandidatesP5LHCNavigation")
0043 
0044 ctftracksP5Task = cms.Task(combinatorialcosmicseedinglayersP5Task,
0045                                   combinatorialcosmicseedfinderP5,
0046                                   simpleCosmicBONSeedingLayers,
0047                                   simpleCosmicBONSeeds,
0048                                   combinedP5SeedsForCTF,
0049                                   ckfTrackCandidatesP5,
0050                                   ctfWithMaterialTracksCosmics,
0051                                   ctfWithMaterialTracksP5,
0052                                   ckfTrackCandidatesP5LHCNavigation,
0053                                   ctfWithMaterialTracksP5LHCNavigation)
0054 ctftracksP5 = cms.Sequence(ctftracksP5Task)
0055 
0056 from RecoTracker.FinalTrackSelectors.cosmicTrackSplitter_cfi import *
0057 cosmicTrackSplitting = RecoTracker.FinalTrackSelectors.cosmicTrackSplitter_cfi.cosmicTrackSplitter.clone(
0058     tjTkAssociationMapTag = 'cosmictrackfinderCosmics',
0059     tracks = 'cosmictrackfinderCosmics'
0060 )
0061 splittedTracksP5 = cosmictrackfinderCosmics.clone(src = "cosmicTrackSplitting")
0062 
0063 cosmictracksP5Task = cms.Task(cosmicseedfinderP5,
0064                               cosmicCandidateFinderP5,
0065                               cosmictrackfinderCosmics,
0066                               cosmictrackfinderP5,
0067                               cosmicTrackSplitting,
0068                               splittedTracksP5)
0069 
0070 cosmictracksP5 = cms.Sequence(cosmictracksP5Task)
0071 
0072 #Top/Bottom tracks NEW
0073 from RecoTracker.Configuration.RecoTrackerTopBottom_cff import *
0074 trackerCosmics_TopBotTask = cms.Task(trackerlocalrecoTopTask,
0075                                             tracksP5TopTask,
0076                                             trackerlocalrecoBottomTask,
0077                                             tracksP5BottomTask)
0078 trackerCosmics_TopBot = cms.Sequence(trackerCosmics_TopBotTask)
0079 #dEdX reconstruction
0080 from RecoTracker.DeDx.dedxEstimators_Cosmics_cff import *
0081 # (SK) keep rstracks commented out in case of resurrection
0082 tracksP5Task = cms.Task(cosmictracksP5Task,
0083                             ctftracksP5Task,
0084                             doAllCosmicdEdXEstimatorsTask,
0085                             siPixelClusterShapeCache)
0086 tracksP5 = cms.Sequence(tracksP5Task)
0087 tracksP5_wodEdX = tracksP5.copy()
0088 tracksP5_wodEdX.remove(doAllCosmicdEdXEstimators)
0089 
0090 # explicitely switch on hit splitting
0091 ckfTrackCandidatesP5.useHitsSplitting = True
0092 
0093 # REGIONAL RECONSTRUCTION
0094 from RecoTracker.Configuration.RecoTrackerNotStandard_cff import *
0095 regionalCosmicTrackerSeeds.RegionInJetsCheckPSet = cms.PSet( doJetsExclusionCheck   = cms.bool( False ) )
0096 
0097 # CDC Reconstruction
0098 from RecoTracker.SpecialSeedGenerators.cosmicDC_cff import *