CMS 3D CMS Logo

SiPixelPhase1RecHitsV_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 SiPixelPhase1RecHitsInTimeEvents = DefaultHisto.clone(
6  name = "in_time_bunch",
7  title = "Events (in-time bunch)",
8  range_min = 0, range_max = 10, range_nbins = 10,
9  xlabel = "number of in-time rechits events",
10  dimensions = 1,
11  topFolderName = "PixelPhase1V/RecHits",
12  specs = VPSet(
13  Specification().groupBy("PXBarrel").save(),
14  Specification().groupBy("PXForward").save(),
15  Specification().groupBy("PXBarrel/PXLayer").save(),
16  Specification().groupBy("PXForward/PXDisk").save(),
17  StandardSpecification2DProfile,
18  )
19 )
20 
21 SiPixelPhase1RecHitsOutTimeEvents = DefaultHisto.clone(
22  name = "out_time_bunch",
23  title = "Events (out-time bunch)",
24  range_min = 0, range_max = 10, range_nbins = 10,
25  xlabel = "number of out-time rechit events",
26  dimensions = 1,
27  topFolderName = "PixelPhase1V/RecHits",
28  specs = VPSet(
29  Specification().groupBy("PXBarrel").save(),
30  Specification().groupBy("PXForward").save(),
31  Specification().groupBy("PXBarrel/PXLayer").save(),
32  Specification().groupBy("PXForward/PXDisk").save(),
33  StandardSpecification2DProfile,
34  )
35 )
36 
37 
38 SiPixelPhase1RecHitsNSimHits = DefaultHisto.clone(
39  name = "nsimhits",
40  title = "SimHits",
41  range_min = 0, range_max = 100, range_nbins = 100,
42  xlabel = "sim hit event number in event",
43  dimensions = 1,
44  topFolderName = "PixelPhase1V/RecHits",
45  specs = VPSet(
46  Specification().groupBy("PXBarrel/PXLayer").save(),
47  Specification().groupBy("PXForward/PXDisk").save(),
48  StandardSpecification2DProfile,
49  )
50 )
51 
52 SiPixelPhase1RecHitsPosX = DefaultHisto.clone(
53  name = "rechit_x",
54  title = "X position of RecHits",
55  range_min = -2., range_max = 2., range_nbins = 80,
56  xlabel = "RecHit position X dimension",
57  dimensions = 1,
58  topFolderName = "PixelPhase1V/RecHits",
59  specs = VPSet(
60  Specification().groupBy("PXBarrel").save(),
61  Specification().groupBy("PXForward").save(),
62  Specification().groupBy("PXBarrel/PXLayer").save(),
63  Specification().groupBy("PXForward/PXDisk").save(),
64  StandardSpecification2DProfile,
65  )
66 )
67 
68 SiPixelPhase1RecHitsPosY = SiPixelPhase1RecHitsPosX.clone(
69  name = "rechit_y",
70  title = "Y position of RecHits",
71  xlabel = "RecHit position Y dimension",
72  range_min = -4., range_max = 4., range_nbins = 80,
73 )
74 
75 SiPixelPhase1RecHitsResX = DefaultHisto.clone(
76  name = "res_x",
77  title = "X resolution of RecHits",
78  range_min = -200., range_max = 200., range_nbins = 200,
79  xlabel = "RecHit resolution X dimension",
80  dimensions = 1,
81  topFolderName = "PixelPhase1V/RecHits",
82  specs = VPSet(
83  Specification().groupBy("PXBarrel").save(),
84  Specification().groupBy("PXForward").save(),
85  Specification().groupBy("PXBarrel/PXLayer").save(),
86  Specification().groupBy("PXForward/PXDisk").save(),
87  StandardSpecification2DProfile,
88  )
89 )
90 
91 SiPixelPhase1RecHitsResY = SiPixelPhase1RecHitsResX.clone(
92  name = "res_y",
93  title = "Y resolution of RecHits",
94  xlabel = "RecHit resolution Y dimension"
95 )
96 
97 SiPixelPhase1RecHitsErrorX = DefaultHisto.clone(
98  name = "rechiterror_x",
99  title = "RecHit Error in X-direction",
100  range_min = 0, range_max = 0.02, range_nbins = 100,
101  xlabel = "X error",
102  dimensions = 1,
103  topFolderName = "PixelPhase1V/RecHits",
104  specs = VPSet(
105  Specification().groupBy("").save(),
106  Specification().groupBy("PXBarrel/PXLayer").save(),
107  Specification().groupBy("PXForward/PXDisk").save(),
108  StandardSpecification2DProfile,
109  )
110 )
111 
112 SiPixelPhase1RecHitsErrorY = SiPixelPhase1RecHitsErrorX.clone(
113  name = "rechiterror_y",
114  title = "RecHit Error in Y-direction",
115  xlabel = "Y error"
116 )
117 
118 SiPixelPhase1RecHitsPullX = DefaultHisto.clone(
119  name = "pull_x",
120  title = "RecHit Pull in X-direction",
121  range_min = -10., range_max = 10., range_nbins = 100,
122  xlabel = "X Pull",
123  dimensions = 1,
124  topFolderName = "PixelPhase1V/RecHits",
125  specs = VPSet(
126  Specification().groupBy("PXBarrel/PXLayer").save(),
127  Specification().groupBy("PXForward/PXDisk").save(),
128  StandardSpecification2DProfile,
129  )
130 )
131 
132 SiPixelPhase1RecHitsPullY = SiPixelPhase1RecHitsPullX.clone(
133  name = "pull_y",
134  title = "RecHit Pull in Y-direction",
135  xlabel = "Y Pull"
136 )
137 
138 SiPixelPhase1RecHitsConf = cms.VPSet(
139  SiPixelPhase1RecHitsInTimeEvents,
140  SiPixelPhase1RecHitsOutTimeEvents,
141  SiPixelPhase1RecHitsNSimHits,
142  SiPixelPhase1RecHitsPosX,
143  SiPixelPhase1RecHitsPosY,
144  SiPixelPhase1RecHitsResX,
145  SiPixelPhase1RecHitsResY,
146  SiPixelPhase1RecHitsErrorX,
147  SiPixelPhase1RecHitsErrorY,
148  SiPixelPhase1RecHitsPullX,
149  SiPixelPhase1RecHitsPullY,
150 )
151 
152 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
153 SiPixelPhase1RecHitsAnalyzerV = DQMEDAnalyzer('SiPixelPhase1RecHitsV',
154  src = cms.InputTag("siPixelRecHits"),
155  # Track assoc. parameters
156  associatePixel = cms.bool(True),
157  ROUList = cms.vstring('g4SimHitsTrackerHitsPixelBarrelLowTof',
158  'g4SimHitsTrackerHitsPixelBarrelHighTof',
159  'g4SimHitsTrackerHitsPixelEndcapLowTof',
160  'g4SimHitsTrackerHitsPixelEndcapHighTof'),
161  associateStrip = cms.bool(False),
162  associateRecoTracks = cms.bool(False),
163  pixelSimLinkSrc = cms.InputTag("simSiPixelDigis"),
164  stripSimLinkSrc = cms.InputTag("simSiStripDigis"),
165  histograms = SiPixelPhase1RecHitsConf,
166  geometry = SiPixelPhase1Geometry
167 )
168 
169 SiPixelPhase1RecHitsHarvesterV = DQMEDHarvester("SiPixelPhase1Harvester",
170  histograms = SiPixelPhase1RecHitsConf,
171  geometry = SiPixelPhase1Geometry
172 )
173 
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
HistogramManager_cfi
DQMEDHarvester
Definition: DQMEDHarvester.py:1
HistogramManager_cfi.VPSet
def VPSet(*args)
Definition: HistogramManager_cfi.py:401
cuy.save
save
Definition: cuy.py:1165