Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-06 22:54:58

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 RecoPixelVertexing.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     #backward compatibility 2.2/3.1
0025     PairCollection    = cms.InputTag('combinatorialcosmicseedfinderP5'),
0026     TripletCollection = cms.InputTag('simpleCosmicBONSeeds')
0027 )
0028 
0029 from RecoTracker.CkfPattern.CkfTrackCandidatesP5_cff import *
0030 ckfTrackCandidatesP5.src = 'combinedP5SeedsForCTF'
0031 #backward compatibility 2.2/3.1
0032 
0033 #import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
0034 from RecoTracker.TrackProducer.CTFFinalFitWithMaterialP5_cff import *
0035 # Final Track Selector for CTF
0036 from RecoTracker.FinalTrackSelectors.CTFFinalTrackSelectorP5_cff import *
0037 
0038 # ROACH SEARCH
0039 # Final Track Selector for RS
0040 #from RecoTracker.FinalTrackSelectors.RSFinalTrackSelectorP5_cff import *
0041 
0042 # TRACK INFO
0043 
0044 ckfTrackCandidatesP5LHCNavigation    = ckfTrackCandidatesP5.clone(NavigationSchool = 'SimpleNavigationSchool')
0045 ctfWithMaterialTracksP5LHCNavigation = ctfWithMaterialTracksCosmics.clone(src = "ckfTrackCandidatesP5LHCNavigation")
0046 
0047 ctftracksP5Task = cms.Task(combinatorialcosmicseedinglayersP5Task,
0048                                   combinatorialcosmicseedfinderP5,
0049                                   simpleCosmicBONSeedingLayers,
0050                                   simpleCosmicBONSeeds,
0051                                   combinedP5SeedsForCTF,
0052                                   ckfTrackCandidatesP5,
0053                                   ctfWithMaterialTracksCosmics,
0054                                   ctfWithMaterialTracksP5,
0055                                   ckfTrackCandidatesP5LHCNavigation,
0056                                   ctfWithMaterialTracksP5LHCNavigation)
0057 ctftracksP5 = cms.Sequence(ctftracksP5Task)
0058 
0059 from RecoTracker.FinalTrackSelectors.cosmicTrackSplitter_cfi import *
0060 cosmicTrackSplitting = RecoTracker.FinalTrackSelectors.cosmicTrackSplitter_cfi.cosmicTrackSplitter.clone(
0061     tjTkAssociationMapTag = 'cosmictrackfinderCosmics',
0062     tracks = 'cosmictrackfinderCosmics'
0063 )
0064 splittedTracksP5 = cosmictrackfinderCosmics.clone(src = "cosmicTrackSplitting")
0065 
0066 cosmictracksP5Task = cms.Task(cosmicseedfinderP5,
0067                               cosmicCandidateFinderP5,
0068                               cosmictrackfinderCosmics,
0069                               cosmictrackfinderP5,
0070                               cosmicTrackSplitting,
0071                               splittedTracksP5)
0072 
0073 cosmictracksP5 = cms.Sequence(cosmictracksP5Task)
0074 
0075 #Top/Bottom tracks NEW
0076 from RecoTracker.Configuration.RecoTrackerTopBottom_cff import *
0077 trackerCosmics_TopBotTask = cms.Task(trackerlocalrecoTopTask,
0078                                             tracksP5TopTask,
0079                                             trackerlocalrecoBottomTask,
0080                                             tracksP5BottomTask)
0081 trackerCosmics_TopBot = cms.Sequence(trackerCosmics_TopBotTask)
0082 #dEdX reconstruction
0083 from RecoTracker.DeDx.dedxEstimators_Cosmics_cff import *
0084 # (SK) keep rstracks commented out in case of resurrection
0085 tracksP5Task = cms.Task(cosmictracksP5Task,
0086                             ctftracksP5Task,
0087                             doAllCosmicdEdXEstimatorsTask,
0088                             siPixelClusterShapeCache)
0089 tracksP5 = cms.Sequence(tracksP5Task)
0090 tracksP5_wodEdX = tracksP5.copy()
0091 tracksP5_wodEdX.remove(doAllCosmicdEdXEstimators)
0092 
0093 # explicitely switch on hit splitting
0094 ckfTrackCandidatesP5.useHitsSplitting = True
0095 
0096 # REGIONAL RECONSTRUCTION
0097 from RecoTracker.Configuration.RecoTrackerNotStandard_cff import *
0098 regionalCosmicTrackerSeeds.RegionInJetsCheckPSet = cms.PSet( doJetsExclusionCheck   = cms.bool( False ) )
0099 
0100 # CDC Reconstruction
0101 from RecoTracker.SpecialSeedGenerators.cosmicDC_cff import *