CMS 3D CMS Logo

SiPixelPhase1TrackResiduals_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
4 
5 SiPixelPhase1TrackResidualsResidualsX = DefaultHistoTrack.clone(
6  name = "residual_x",
7  title = "Track Residuals X",
8  range_min = -0.15, range_max = 0.15, range_nbins = 150,
9  xlabel = "(x_rec - x_pred) [cm]",
10  dimensions = 1,
11  specs = VPSet(
12  StandardSpecification2DProfile,
13  StandardSpecifications1D
14  )
15 )
16 
17 SiPixelPhase1TrackResidualsResidualsY = SiPixelPhase1TrackResidualsResidualsX.clone(
18  name = "residual_y",
19  title = "Track Residuals Y",
20  xlabel = "(y_rec - y_pred) [cm]",
21 )
22 
23 SiPixelPhase1TrackResidualsConf = cms.VPSet(
24  SiPixelPhase1TrackResidualsResidualsX,
25  SiPixelPhase1TrackResidualsResidualsY
26 )
27 
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
34 )
35 
36 SiPixelPhase1TrackResidualsHarvester = DQMEDHarvester("SiPixelPhase1Harvester",
37  histograms = SiPixelPhase1TrackResidualsConf,
38  geometry = SiPixelPhase1Geometry
39 )
DQM Environment