CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Reconstruction_BefMix_cff.py
Go to the documentation of this file.
1 #############################
2 # This cfg configures the part of reconstruction
3 # in FastSim to be done before event mixing
4 # FastSim mixes tracker information on reconstruction level,
5 # so tracks are recontructed before mixing.
6 # At present, only the generalTrack collection, produced with iterative tracking is mixed.
7 #############################
8 
9 import FWCore.ParameterSet.Config as cms
10 
11 
12 # iterative tracking relies on the beamspot
13 from RecoVertex.BeamSpotProducer.BeamSpot_cff import offlineBeamSpot
14 
15 # and of course it needs tracker hits
17 from FastSimulation.TrackingRecHitProducer.FastTrackerRecHitMatcher_cfi import fastMatchedTrackerRecHits
18 import FastSimulation.Tracking.FastTrackerRecHitCombiner_cfi
19 
20 fastMatchedTrackerRecHitCombinations = FastSimulation.Tracking.FastTrackerRecHitCombiner_cfi.fastTrackerRecHitCombinations.clone(
21  simHit2RecHitMap = cms.InputTag("fastMatchedTrackerRecHits","simHit2RecHitMap")
22  )
23 
24 # FastSim stores the IdealMagneticFieldRecord and the TrackerInteractionGeometryRecord in a particular structure
25 # This extra layer is probably more confusing than it is useful and we should consider to remove it
27 
28 # confusing name for the file that imports
29 # the fitters used by the TrackProducer
30 #
36 
37 # MeasurementTrackerEvent
40 from FastSimulation.Tracking.MeasurementTrackerEventProducer_cfi import MeasurementTrackerEvent
41 # services needed by tracking
42 from TrackingTools.TransientTrack.TransientTrackBuilder_cfi import TransientTrackBuilderESProducer
43 from RecoTracker.TkNavigation.NavigationSchoolESProducer_cfi import navigationSchoolESProducer
44 
47 
48 reconstruction_befmix = cms.Sequence(
49  offlineBeamSpot
50  * siTrackerGaussianSmearingRecHits
51  * fastMatchedTrackerRecHits
52  * fastMatchedTrackerRecHitCombinations
53  * MeasurementTrackerEvent
54  * iterTracking
55  )