CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoTrackerP5_cff.py
Go to the documentation of this file.
2 
3 #
4 # Tracking configuration file fragment for P5 cosmic running
5 #
7 # TTRHBuilders
9 # COSMIC TRACK FINDER
12 # Final Track Selector for CosmicTF
14 
15 #chi2 set to 40!!
16 # CTF
20 combinedP5SeedsForCTF = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone()
21 combinedP5SeedsForCTF.seedCollections = cms.VInputTag(
22  cms.InputTag('combinatorialcosmicseedfinderP5'),
23  cms.InputTag('simpleCosmicBONSeeds'),
24 )
25 #backward compatibility 2.2/3.1
26 combinedP5SeedsForCTF.PairCollection = cms.InputTag('combinatorialcosmicseedfinderP5')
27 combinedP5SeedsForCTF.TripletCollection = cms.InputTag('simpleCosmicBONSeeds')
28 
30 ckfTrackCandidatesP5.src = cms.InputTag('combinedP5SeedsForCTF')
31 #backward compatibility 2.2/3.1
32 #ckfTrackCandidatesP5.SeedProducer = 'combinedP5SeedsForCTF'
33 
34 #import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
36 # Final Track Selector for CTF
38 
39 # ROACH SEARCH
40 # Final Track Selector for RS
41 #from RecoTracker.FinalTrackSelectors.RSFinalTrackSelectorP5_cff import *
42 
43 # TRACK INFO
44 #include "AnalysisAlgos/TrackInfoProducer/data/TrackInfoProducerP5.cff"
45 
46 ckfTrackCandidatesP5LHCNavigation = ckfTrackCandidatesP5.clone(NavigationSchool = cms.string('SimpleNavigationSchool'))
47 ctfWithMaterialTracksP5LHCNavigation = ctfWithMaterialTracksCosmics.clone(src = cms.InputTag("ckfTrackCandidatesP5LHCNavigation"))
48 
49 ctftracksP5 = cms.Sequence(combinatorialcosmicseedfinderP5*simpleCosmicBONSeeds*combinedP5SeedsForCTF*
50  ckfTrackCandidatesP5*ctfWithMaterialTracksCosmics*ctfWithMaterialTracksP5+
51  ckfTrackCandidatesP5LHCNavigation*ctfWithMaterialTracksP5LHCNavigation)
52 
53 
55 cosmicTrackSplitter.tjTkAssociationMapTag = 'cosmictrackfinderCosmics'
56 cosmicTrackSplitter.tracks = 'cosmictrackfinderCosmics'
57 splittedTracksP5 = cosmictrackfinderCosmics.clone(src = cms.InputTag("cosmicTrackSplitter"))
58 
59 cosmictracksP5 = cms.Sequence(cosmicseedfinderP5*cosmicCandidateFinderP5*cosmictrackfinderCosmics*cosmictrackfinderP5*cosmicTrackSplitter*splittedTracksP5)
60 
61 
62 #Top/Bottom tracks NEW
64 trackerCosmics_TopBot = cms.Sequence((trackerlocalrecoTop*tracksP5Top)+(trackerlocalrecoBottom*tracksP5Bottom))
65 
66 #dEdX reconstruction
68 # (SK) keep rstracks commented out in case of resurrection
69 tracksP5 = cms.Sequence(cosmictracksP5*ctftracksP5*trackerCosmics_TopBot*doAllCosmicdEdXEstimators)
70 tracksP5_wodEdX = tracksP5.copy()
71 tracksP5_wodEdX.remove(doAllCosmicdEdXEstimators)
72 
73 # explicitely switch on hit splitting
74 ckfTrackCandidatesP5.useHitsSplitting = True
75 
76 # REGIONAL RECONSTRUCTION
77 from RecoTracker.Configuration.RecoTrackerNotStandard_cff import regionalCosmicTrackerSeeds,regionalCosmicCkfTrackCandidates,regionalCosmicTracks,regionalCosmicTracksSeq
78 regionalCosmicTrackerSeeds.RegionInJetsCheckPSet = cms.PSet( doJetsExclusionCheck = cms.bool( False ) )