test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelPhase1TrackResiduals_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 SiPixelPhase1TrackResidualsResidualsX = DefaultHisto.clone(
5  name = "residual_x",
6  title = "Track Residuals X",
7  range_min = -0.05, range_max = 0.05, range_nbins = 100,
8  xlabel = "(x_rec - x_pred) [cm]",
9  dimensions = 1,
10  specs = cms.VPSet(
11  StandardSpecification2DProfile,
12  *StandardSpecifications1D
13  )
14 )
15 
16 SiPixelPhase1TrackResidualsResidualsY = SiPixelPhase1TrackResidualsResidualsX.clone(
17  name = "residual_y",
18  title = "Track Residuals Y",
19  xlabel = "(y_rec - y_pred) [cm]",
20 )
21 
22 SiPixelPhase1TrackResidualsConf = cms.VPSet(
23  SiPixelPhase1TrackResidualsResidualsX,
24  SiPixelPhase1TrackResidualsResidualsY
25 )
26 
27 SiPixelPhase1TrackResidualsAnalyzer = cms.EDAnalyzer("SiPixelPhase1TrackResiduals",
28  trajectoryInput = cms.string("generalTracks"),
29  Tracks = cms.InputTag("generalTracks"),
30  histograms = SiPixelPhase1TrackResidualsConf,
31  geometry = SiPixelPhase1Geometry
32 )
33 
34 SiPixelPhase1TrackResidualsHarvester = cms.EDAnalyzer("SiPixelPhase1Harvester",
35  histograms = SiPixelPhase1TrackResidualsConf,
36  geometry = SiPixelPhase1Geometry
37 )