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 # confusing name for the file that imports
26 # the fitters used by the TrackProducer
27 #
33 
34 # MeasurementTrackerEvent
37 from FastSimulation.Tracking.MeasurementTrackerEventProducer_cfi import MeasurementTrackerEvent
38 # services needed by tracking
39 from TrackingTools.TransientTrack.TransientTrackBuilder_cfi import TransientTrackBuilderESProducer
40 from RecoTracker.TkNavigation.NavigationSchoolESProducer_cfi import navigationSchoolESProducer
41 
44 
45 reconstruction_befmix = cms.Sequence(
46  offlineBeamSpot
47  * fastTrackerRecHits
48  * fastMatchedTrackerRecHits
49  * fastMatchedTrackerRecHitCombinations
50  * MeasurementTrackerEvent
51  * iterTracking
52  )