1 import FWCore.ParameterSet.Config
as cms
2 materialDumperAnalyzer = cms.EDAnalyzer(
"TrackingRecoMaterialAnalyser",
3 folder = cms.string(
'Tracking/RecoMaterial/'),
4 tracks = cms.InputTag(
"generalTracks"),
5 beamspot = cms.InputTag(
"offlineBeamSpot"),
6 usePV = cms.bool(
False),
7 vertices = cms.InputTag(
"offlinePrimaryVertices"),
8 DoPredictionsOnly = cms.bool(
False),
9 Fitter = cms.string(
'KFFitterForRefitInsideOut'),
10 TrackerRecHitBuilder = cms.string(
'WithAngleAndTemplate'),
11 Smoother = cms.string(
'KFSmootherForRefitInsideOut'),
12 MuonRecHitBuilder = cms.string(
'MuonRecHitBuilder'),
13 RefitDirection = cms.string(
'alongMomentum'),
14 RefitRPCHits = cms.bool(
True),
15 Propagator = cms.string(
'SmartPropagatorAnyRKOpposite'),
17 PropagatorAlong = cms.string(
"RungeKuttaTrackerPropagator"),
18 PropagatorOpposite = cms.string(
"RungeKuttaTrackerPropagatorOpposite")
21 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
22 phase2_tracker.toModify(materialDumperAnalyzer, TrackerRecHitBuilder=
'WithTrackAngle')
24 materialDumper = cms.Sequence(materialDumperAnalyzer)
25 materialDumper_step = cms.Path(materialDumper)