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(combinatorialcosmicseedinglayersP5+combinatorialcosmicseedfinderP5*
50  simpleCosmicBONSeedingLayers*simpleCosmicBONSeeds*combinedP5SeedsForCTF*
51  ckfTrackCandidatesP5*ctfWithMaterialTracksCosmics*ctfWithMaterialTracksP5+
52  ckfTrackCandidatesP5LHCNavigation*ctfWithMaterialTracksP5LHCNavigation)
53 
54 
56 cosmicTrackSplitter.tjTkAssociationMapTag = 'cosmictrackfinderCosmics'
57 cosmicTrackSplitter.tracks = 'cosmictrackfinderCosmics'
58 splittedTracksP5 = cosmictrackfinderCosmics.clone(src = cms.InputTag("cosmicTrackSplitter"))
59 
60 cosmictracksP5 = cms.Sequence(cosmicseedfinderP5*cosmicCandidateFinderP5*cosmictrackfinderCosmics*cosmictrackfinderP5*cosmicTrackSplitter*splittedTracksP5)
61 
62 
63 #Top/Bottom tracks NEW
65 trackerCosmics_TopBot = cms.Sequence((trackerlocalrecoTop*tracksP5Top)+(trackerlocalrecoBottom*tracksP5Bottom))
66 
67 #dEdX reconstruction
69 # (SK) keep rstracks commented out in case of resurrection
70 tracksP5 = cms.Sequence(cosmictracksP5*ctftracksP5*doAllCosmicdEdXEstimators)
71 tracksP5_wodEdX = tracksP5.copy()
72 tracksP5_wodEdX.remove(doAllCosmicdEdXEstimators)
73 
74 # explicitely switch on hit splitting
75 ckfTrackCandidatesP5.useHitsSplitting = True
76 
77 # REGIONAL RECONSTRUCTION
79 regionalCosmicTrackerSeeds.RegionInJetsCheckPSet = cms.PSet( doJetsExclusionCheck = cms.bool( False ) )