CMS 3D CMS Logo

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 
18 from FastSimulation.TrackingRecHitProducer.FastTrackerRecHitMatcher_cfi import fastMatchedTrackerRecHits
19 import FastSimulation.Tracking.FastTrackerRecHitCombiner_cfi
20 
21 fastMatchedTrackerRecHitCombinations = FastSimulation.Tracking.FastTrackerRecHitCombiner_cfi.fastTrackerRecHitCombinations.clone(
22  simHit2RecHitMap = cms.InputTag("fastMatchedTrackerRecHits","simHit2RecHitMap")
23  )
24 
25 # FastSim stores the IdealMagneticFieldRecord and the TrackerInteractionGeometryRecord in a particular structure
26 # This extra layer is probably more confusing than it is useful and we should consider to remove it
28 
29 # confusing name for the file that imports
30 # the fitters used by the TrackProducer
31 #
37 
38 # MeasurementTrackerEvent
41 from FastSimulation.Tracking.MeasurementTrackerEventProducer_cfi import MeasurementTrackerEvent
42 # services needed by tracking
43 from TrackingTools.TransientTrack.TransientTrackBuilder_cfi import TransientTrackBuilderESProducer
44 from RecoTracker.TkNavigation.NavigationSchoolESProducer_cfi import navigationSchoolESProducer
45 
48 
49 reconstruction_befmix = cms.Sequence(
50  offlineBeamSpot
51  * fastTrackerRecHits
52  * fastMatchedTrackerRecHits
53  * fastMatchedTrackerRecHitCombinations
54  * MeasurementTrackerEvent
55  * iterTracking
56  )