CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  #backward compatibility 2.2/3.1
25  PairCollection = cms.InputTag('combinatorialcosmicseedfinderP5'),
26  TripletCollection = cms.InputTag('simpleCosmicBONSeeds')
27 )
28 
30 ckfTrackCandidatesP5.src = 'combinedP5SeedsForCTF'
31 #backward compatibility 2.2/3.1
32 
33 #import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
35 # Final Track Selector for CTF
37 
38 # ROACH SEARCH
39 # Final Track Selector for RS
40 #from RecoTracker.FinalTrackSelectors.RSFinalTrackSelectorP5_cff import *
41 
42 # TRACK INFO
43 
44 ckfTrackCandidatesP5LHCNavigation = ckfTrackCandidatesP5.clone(NavigationSchool = 'SimpleNavigationSchool')
45 ctfWithMaterialTracksP5LHCNavigation = ctfWithMaterialTracksCosmics.clone(src = "ckfTrackCandidatesP5LHCNavigation")
46 
47 ctftracksP5Task = cms.Task(combinatorialcosmicseedinglayersP5Task,
48  combinatorialcosmicseedfinderP5,
49  simpleCosmicBONSeedingLayers,
50  simpleCosmicBONSeeds,
51  combinedP5SeedsForCTF,
52  ckfTrackCandidatesP5,
53  ctfWithMaterialTracksCosmics,
54  ctfWithMaterialTracksP5,
55  ckfTrackCandidatesP5LHCNavigation,
56  ctfWithMaterialTracksP5LHCNavigation)
57 ctftracksP5 = cms.Sequence(ctftracksP5Task)
58 
60 cosmicTrackSplitting = RecoTracker.FinalTrackSelectors.cosmicTrackSplitter_cfi.cosmicTrackSplitter.clone(
61  tjTkAssociationMapTag = 'cosmictrackfinderCosmics',
62  tracks = 'cosmictrackfinderCosmics'
63 )
64 splittedTracksP5 = cosmictrackfinderCosmics.clone(src = "cosmicTrackSplitting")
65 
66 cosmictracksP5Task = cms.Task(cosmicseedfinderP5,
67  cosmicCandidateFinderP5,
68  cosmictrackfinderCosmics,
69  cosmictrackfinderP5,
70  cosmicTrackSplitting,
71  splittedTracksP5)
72 
73 cosmictracksP5 = cms.Sequence(cosmictracksP5Task)
74 
75 #Top/Bottom tracks NEW
77 trackerCosmics_TopBotTask = cms.Task(trackerlocalrecoTopTask,
78  tracksP5TopTask,
79  trackerlocalrecoBottomTask,
80  tracksP5BottomTask)
81 trackerCosmics_TopBot = cms.Sequence(trackerCosmics_TopBotTask)
82 #dEdX reconstruction
84 # (SK) keep rstracks commented out in case of resurrection
85 tracksP5Task = cms.Task(cosmictracksP5Task,
86  ctftracksP5Task,
87  doAllCosmicdEdXEstimatorsTask,
88  siPixelClusterShapeCache)
89 tracksP5 = cms.Sequence(tracksP5Task)
90 tracksP5_wodEdX = tracksP5.copy()
91 tracksP5_wodEdX.remove(doAllCosmicdEdXEstimators)
92 
93 # explicitely switch on hit splitting
94 ckfTrackCandidatesP5.useHitsSplitting = True
95 
96 # REGIONAL RECONSTRUCTION
98 regionalCosmicTrackerSeeds.RegionInJetsCheckPSet = cms.PSet( doJetsExclusionCheck = cms.bool( False ) )
99 
100 # CDC Reconstruction