CMS 3D CMS Logo

SiPixelPhase1RecHits_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 SiPixelPhase1RecHitsNRecHits = DefaultHistoTrack.clone(
6  name = "rechits",
7  title = "RecHits",
8  range_min = 0, range_max = 30, range_nbins = 30,
9  xlabel = "rechits",
10  dimensions = 0,
11  specs = VPSet(
12  StandardSpecificationInclusive_Num,
13  StandardSpecificationTrend_Num
14  # StandardSpecification2DProfile_Num,
15  # StandardSpecificationInclusive_Num,
16  # StandardSpecifications1D_Num
17  )
18 )
19 
20 SiPixelPhase1RecHitsClustX = DefaultHistoTrack.clone(
21  name = "rechitsize_x",
22  title = "X size of RecHit clusters",
23  range_min = 0, range_max = 50, range_nbins = 50,
24  xlabel = "RecHit X-Size",
25  dimensions = 1,
26  specs = VPSet(
27  StandardSpecification2DProfile
28  )
29 )
30 
31 SiPixelPhase1RecHitsClustY = SiPixelPhase1RecHitsClustX.clone(
32  name = "rechitsize_y",
33  title = "Y size of RecHit clusters",
34  xlabel = "RecHit Y-Size"
35 )
36 
37 SiPixelPhase1RecHitsErrorX = DefaultHistoTrack.clone(
38  enabled=False,
39  name = "rechiterror_x",
40  title = "RecHit Error in X-direction",
41  range_min = 0, range_max = 0.02, range_nbins = 100,
42  xlabel = "X error",
43  dimensions = 1,
44  specs = VPSet(
45  StandardSpecification2DProfile
46  )
47 )
48 
49 SiPixelPhase1RecHitsErrorY = SiPixelPhase1RecHitsErrorX.clone(
50  enabled=False,
51  name = "rechiterror_y",
52  title = "RecHit Error in Y-direction",
53  xlabel = "Y error"
54 )
55 
56 SiPixelPhase1RecHitsPosition = DefaultHistoTrack.clone(
57  enabled = False,
58  name = "rechit_pos",
59  title = "Position of RecHits on Module",
60  range_min = -1, range_max = 1, range_nbins = 100,
61  range_y_min = -4, range_y_max = 4, range_y_nbins = 100,
62  xlabel = "x offset",
63  ylabel = "y offset",
64  dimensions = 2,
65  specs = VPSet(
66  Specification(PerModule).groupBy("PXBarrel/PXLayer/DetId").save(),
67  Specification(PerModule).groupBy("PXForward/PXDisk/DetId").save(),
68  )
69 )
70 
71 SiPixelPhase1RecHitsProb = DefaultHistoTrack.clone(
72  name = "clusterprob",
73  title = "Cluster Probability",
74  xlabel = "log_10(Pr)",
75  range_min = -10, range_max = 1, range_nbins = 50,
76  dimensions = 1,
77  specs = VPSet(
78  StandardSpecifications1D
79  )
80 )
81 
82 
83 SiPixelPhase1RecHitsConf = cms.VPSet(
84  SiPixelPhase1RecHitsNRecHits,
85  SiPixelPhase1RecHitsClustX,
86  SiPixelPhase1RecHitsClustY,
87  SiPixelPhase1RecHitsErrorX,
88  SiPixelPhase1RecHitsErrorY,
89  SiPixelPhase1RecHitsPosition,
90  SiPixelPhase1RecHitsProb,
91 )
92 
93 SiPixelPhase1RecHitsAnalyzer = cms.EDAnalyzer("SiPixelPhase1RecHits",
94  src = cms.InputTag("generalTracks"),
95  histograms = SiPixelPhase1RecHitsConf,
96  geometry = SiPixelPhase1Geometry,
97  onlyValidHits = cms.bool(False)
98 
99 )
100 
101 SiPixelPhase1RecHitsHarvester = DQMEDHarvester("SiPixelPhase1Harvester",
102  histograms = SiPixelPhase1RecHitsConf,
103  geometry = SiPixelPhase1Geometry
104 )
DQM Environment
save
Definition: cuy.py:1163