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 MTDRecHitBuilder = cms.string(
'MTDRecHitBuilder'),
15 RefitDirection = cms.string(
'alongMomentum'),
16 RefitRPCHits = cms.bool(
True),
17 Propagator = cms.string(
'SmartPropagatorAnyRKOpposite'),
19 PropagatorAlong = cms.string(
"RungeKuttaTrackerPropagator"),
20 PropagatorOpposite = cms.string(
"RungeKuttaTrackerPropagatorOpposite")
23 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
24 phase2_tracker.toModify(materialDumperAnalyzer, TrackerRecHitBuilder=
'WithTrackAngle')
26 materialDumper = cms.Sequence(materialDumperAnalyzer)
27 materialDumper_step = cms.Path(materialDumper)