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