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 #
32 
33 # MeasurementTrackerEvent
36 from FastSimulation.Tracking.MeasurementTrackerEventProducer_cfi import MeasurementTrackerEvent
37 
38 # services needed by tracking
39 from TrackingTools.TransientTrack.TransientTrackBuilder_cfi import TransientTrackBuilderESProducer
40 from RecoTracker.TkNavigation.NavigationSchoolESProducer_cfi import navigationSchoolESProducer
41 
42 
45 
46 reconstruction_befmix = cms.Sequence(
47  offlineBeamSpot
48  * siTrackerGaussianSmearingRecHits
49  * fastMatchedTrackerRecHits
50  * fastMatchedTrackerRecHitCombinations
51  * MeasurementTrackerEvent
52  * iterTracking
53  )