1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
5 SiPixelPhase1TrackResidualsResidualsX = DefaultHistoTrack.clone(
7 title =
"Track Residuals X",
8 range_min = -0.15, range_max = 0.15, range_nbins = 150,
9 xlabel =
"(x_rec - x_pred) [cm]",
12 StandardSpecification2DProfile,
13 StandardSpecifications1D
17 SiPixelPhase1TrackResidualsResidualsY = SiPixelPhase1TrackResidualsResidualsX.clone(
19 title =
"Track Residuals Y",
20 xlabel =
"(y_rec - y_pred) [cm]",
23 SiPixelPhase1TrackResidualsConf = cms.VPSet(
24 SiPixelPhase1TrackResidualsResidualsX,
25 SiPixelPhase1TrackResidualsResidualsY
28 SiPixelPhase1TrackResidualsAnalyzer = cms.EDAnalyzer(
"SiPixelPhase1TrackResiduals",
29 trajectoryInput = cms.string(
"generalTracks"),
30 Tracks = cms.InputTag(
"generalTracks"),
31 vertices = cms.InputTag(
"offlinePrimaryVertices"),
32 histograms = SiPixelPhase1TrackResidualsConf,
33 geometry = SiPixelPhase1Geometry
36 SiPixelPhase1TrackResidualsHarvester =
DQMEDHarvester(
"SiPixelPhase1Harvester",
37 histograms = SiPixelPhase1TrackResidualsConf,
38 geometry = SiPixelPhase1Geometry