CMS 3D CMS Logo

RecoTrackerP5_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # Tracking configuration file fragment for P5 cosmic running
5 #
7 # TTRHBuilders
9 # COSMIC TRACK FINDER
12 # Final Track Selector for CosmicTF
15 
16 #chi2 set to 40!!
17 # CTF
21 combinedP5SeedsForCTF = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone(
22  seedCollections = ['combinatorialcosmicseedfinderP5',
23  'simpleCosmicBONSeeds']
24 )
25 
27 ckfTrackCandidatesP5.src = 'combinedP5SeedsForCTF'
28 #backward compatibility 2.2/3.1
29 
30 #import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
32 # Final Track Selector for CTF
34 
35 # ROACH SEARCH
36 # Final Track Selector for RS
37 #from RecoTracker.FinalTrackSelectors.RSFinalTrackSelectorP5_cff import *
38 
39 # TRACK INFO
40 
41 ckfTrackCandidatesP5LHCNavigation = ckfTrackCandidatesP5.clone(NavigationSchool = 'SimpleNavigationSchool')
42 ctfWithMaterialTracksP5LHCNavigation = ctfWithMaterialTracksCosmics.clone(src = "ckfTrackCandidatesP5LHCNavigation")
43 
44 ctftracksP5Task = cms.Task(combinatorialcosmicseedinglayersP5Task,
45  combinatorialcosmicseedfinderP5,
46  simpleCosmicBONSeedingLayers,
47  simpleCosmicBONSeeds,
48  combinedP5SeedsForCTF,
49  ckfTrackCandidatesP5,
50  ctfWithMaterialTracksCosmics,
51  ctfWithMaterialTracksP5,
52  ckfTrackCandidatesP5LHCNavigation,
53  ctfWithMaterialTracksP5LHCNavigation)
54 ctftracksP5 = cms.Sequence(ctftracksP5Task)
55 
57 cosmicTrackSplitting = RecoTracker.FinalTrackSelectors.cosmicTrackSplitter_cfi.cosmicTrackSplitter.clone(
58  tjTkAssociationMapTag = 'cosmictrackfinderCosmics',
59  tracks = 'cosmictrackfinderCosmics'
60 )
61 splittedTracksP5 = cosmictrackfinderCosmics.clone(src = "cosmicTrackSplitting")
62 
63 cosmictracksP5Task = cms.Task(cosmicseedfinderP5,
64  cosmicCandidateFinderP5,
65  cosmictrackfinderCosmics,
66  cosmictrackfinderP5,
67  cosmicTrackSplitting,
68  splittedTracksP5)
69 
70 cosmictracksP5 = cms.Sequence(cosmictracksP5Task)
71 
72 #Top/Bottom tracks NEW
74 trackerCosmics_TopBotTask = cms.Task(trackerlocalrecoTopTask,
75  tracksP5TopTask,
76  trackerlocalrecoBottomTask,
77  tracksP5BottomTask)
78 trackerCosmics_TopBot = cms.Sequence(trackerCosmics_TopBotTask)
79 #dEdX reconstruction
81 # (SK) keep rstracks commented out in case of resurrection
82 tracksP5Task = cms.Task(cosmictracksP5Task,
83  ctftracksP5Task,
84  doAllCosmicdEdXEstimatorsTask,
85  siPixelClusterShapeCache)
86 tracksP5 = cms.Sequence(tracksP5Task)
87 tracksP5_wodEdX = tracksP5.copy()
88 tracksP5_wodEdX.remove(doAllCosmicdEdXEstimators)
89 
90 # explicitely switch on hit splitting
91 ckfTrackCandidatesP5.useHitsSplitting = True
92 
93 # REGIONAL RECONSTRUCTION
95 regionalCosmicTrackerSeeds.RegionInJetsCheckPSet = cms.PSet( doJetsExclusionCheck = cms.bool( False ) )
96 
97 # CDC Reconstruction