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 combinedP5SeedsForCTF.seedCollections = cms.VInputTag(
23  cms.InputTag('combinatorialcosmicseedfinderP5'),
24  cms.InputTag('simpleCosmicBONSeeds'),
25 )
26 #backward compatibility 2.2/3.1
27 combinedP5SeedsForCTF.PairCollection = cms.InputTag('combinatorialcosmicseedfinderP5')
28 combinedP5SeedsForCTF.TripletCollection = cms.InputTag('simpleCosmicBONSeeds')
29 
31 ckfTrackCandidatesP5.src = cms.InputTag('combinedP5SeedsForCTF')
32 #backward compatibility 2.2/3.1
33 #ckfTrackCandidatesP5.SeedProducer = 'combinedP5SeedsForCTF'
34 
35 #import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
37 # Final Track Selector for CTF
39 
40 # ROACH SEARCH
41 # Final Track Selector for RS
42 #from RecoTracker.FinalTrackSelectors.RSFinalTrackSelectorP5_cff import *
43 
44 # TRACK INFO
45 #include "AnalysisAlgos/TrackInfoProducer/data/TrackInfoProducerP5.cff"
46 
47 ckfTrackCandidatesP5LHCNavigation = ckfTrackCandidatesP5.clone(NavigationSchool = cms.string('SimpleNavigationSchool'))
48 ctfWithMaterialTracksP5LHCNavigation = ctfWithMaterialTracksCosmics.clone(src = cms.InputTag("ckfTrackCandidatesP5LHCNavigation"))
49 
50 ctftracksP5 = cms.Sequence(combinatorialcosmicseedinglayersP5+combinatorialcosmicseedfinderP5*
51  simpleCosmicBONSeedingLayers*simpleCosmicBONSeeds*combinedP5SeedsForCTF*
52  ckfTrackCandidatesP5*ctfWithMaterialTracksCosmics*ctfWithMaterialTracksP5+
53  ckfTrackCandidatesP5LHCNavigation*ctfWithMaterialTracksP5LHCNavigation)
54 
55 
57 cosmicTrackSplitter.tjTkAssociationMapTag = 'cosmictrackfinderCosmics'
58 cosmicTrackSplitter.tracks = 'cosmictrackfinderCosmics'
59 splittedTracksP5 = cosmictrackfinderCosmics.clone(src = cms.InputTag("cosmicTrackSplitter"))
60 
61 cosmictracksP5 = cms.Sequence(cosmicseedfinderP5*cosmicCandidateFinderP5*cosmictrackfinderCosmics*cosmictrackfinderP5*cosmicTrackSplitter*splittedTracksP5)
62 
63 
64 #Top/Bottom tracks NEW
66 trackerCosmics_TopBot = cms.Sequence((trackerlocalrecoTop*tracksP5Top)+(trackerlocalrecoBottom*tracksP5Bottom))
67 
68 #dEdX reconstruction
70 # (SK) keep rstracks commented out in case of resurrection
71 tracksP5 = cms.Sequence(cosmictracksP5*ctftracksP5*doAllCosmicdEdXEstimators*siPixelClusterShapeCache)
72 tracksP5_wodEdX = tracksP5.copy()
73 tracksP5_wodEdX.remove(doAllCosmicdEdXEstimators)
74 
75 # explicitely switch on hit splitting
76 ckfTrackCandidatesP5.useHitsSplitting = True
77 
78 # REGIONAL RECONSTRUCTION
80 regionalCosmicTrackerSeeds.RegionInJetsCheckPSet = cms.PSet( doJetsExclusionCheck = cms.bool( False ) )
81 
82 # CDC Reconstruction