CMS 3D CMS Logo

SiStripDigiValid.cc
Go to the documentation of this file.
21 #include "SiStripDigiValid.h"
22 
24  : dbe_(nullptr),
25  runStandalone(ps.getParameter<bool>("runStandalone")),
26  outputFile_(ps.getUntrackedParameter<std::string>("outputFile", "stripdigihisto.root")),
27  edmDetSetVector_SiStripDigi_Token_(
28  consumes<edm::DetSetVector<SiStripDigi>>(ps.getParameter<edm::InputTag>("src"))) {}
29 
31 
33  dbe_ = edm::Service<DQMStore>().operator->();
34 
35  if (dbe_) {
36  ibooker.setCurrentFolder("TrackerDigisV/TrackerDigis/Strip");
37 
38  for (int i = 0; i < 3; i++) {
39  Char_t histo[200];
40  // Z Plus Side
41  sprintf(histo, "adc_tib_layer1_extmodule%d_zp", i + 1);
42  meAdcTIBLayer1Extzp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
43  sprintf(histo, "adc_tib_layer1_intmodule%d_zp", i + 1);
44  meAdcTIBLayer1Intzp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
45  sprintf(histo, "adc_tib_layer2_extmodule%d_zp", i + 1);
46  meAdcTIBLayer2Extzp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
47  sprintf(histo, "adc_tib_layer2_intmodule%d_zp", i + 1);
48  meAdcTIBLayer2Intzp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
49  sprintf(histo, "adc_tib_layer3_extmodule%d_zp", i + 1);
50  meAdcTIBLayer3Extzp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
51  sprintf(histo, "adc_tib_layer3_intmodule%d_zp", i + 1);
52  meAdcTIBLayer3Intzp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
53  sprintf(histo, "adc_tib_layer4_extmodule%d_zp", i + 1);
54  meAdcTIBLayer4Extzp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
55  sprintf(histo, "adc_tib_layer4_intmodule%d_zp", i + 1);
56  meAdcTIBLayer4Intzp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
57  sprintf(histo, "strip_tib_layer1_extmodule%d_zp", i + 1);
58  meStripTIBLayer1Extzp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
59  sprintf(histo, "strip_tib_layer1_intmodule%d_zp", i + 1);
60  meStripTIBLayer1Intzp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
61  sprintf(histo, "strip_tib_layer2_extmodule%d_zp", i + 1);
62  meStripTIBLayer2Extzp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
63  sprintf(histo, "strip_tib_layer2_intmodule%d_zp", i + 1);
64  meStripTIBLayer2Intzp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
65  sprintf(histo, "strip_tib_layer3_extmodule%d_zp", i + 1);
66  meStripTIBLayer3Extzp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
67  sprintf(histo, "strip_tib_layer3_intmodule%d_zp", i + 1);
68  meStripTIBLayer3Intzp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
69  sprintf(histo, "strip_tib_layer4_extmodule%d_zp", i + 1);
70  meStripTIBLayer4Extzp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
71  sprintf(histo, "strip_tib_layer4_intmodule%d_zp", i + 1);
72  meStripTIBLayer4Intzp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
73  // Z Minus Side
74  sprintf(histo, "adc_tib_layer1_extmodule%d_zm", i + 1);
75  meAdcTIBLayer1Extzm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
76  sprintf(histo, "adc_tib_layer1_intmodule%d_zm", i + 1);
77  meAdcTIBLayer1Intzm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
78  sprintf(histo, "adc_tib_layer2_extmodule%d_zm", i + 1);
79  meAdcTIBLayer2Extzm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
80  sprintf(histo, "adc_tib_layer2_intmodule%d_zm", i + 1);
81  meAdcTIBLayer2Intzm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
82  sprintf(histo, "adc_tib_layer3_extmodule%d_zm", i + 1);
83  meAdcTIBLayer3Extzm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
84  sprintf(histo, "adc_tib_layer3_intmodule%d_zm", i + 1);
85  meAdcTIBLayer3Intzm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
86  sprintf(histo, "adc_tib_layer4_extmodule%d_zm", i + 1);
87  meAdcTIBLayer4Extzm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
88  sprintf(histo, "adc_tib_layer4_intmodule%d_zm", i + 1);
89  meAdcTIBLayer4Intzm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
90  sprintf(histo, "strip_tib_layer1_extmodule%d_zm", i + 1);
91  meStripTIBLayer1Extzm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
92  sprintf(histo, "strip_tib_layer1_intmodule%d_zm", i + 1);
93  meStripTIBLayer1Intzm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
94  sprintf(histo, "strip_tib_layer2_extmodule%d_zm", i + 1);
95  meStripTIBLayer2Extzm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
96  sprintf(histo, "strip_tib_layer2_intmodule%d_zm", i + 1);
97  meStripTIBLayer2Intzm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
98  sprintf(histo, "strip_tib_layer3_extmodule%d_zm", i + 1);
99  meStripTIBLayer3Extzm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
100  sprintf(histo, "strip_tib_layer3_intmodule%d_zm", i + 1);
101  meStripTIBLayer3Intzm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
102  sprintf(histo, "strip_tib_layer4_extmodule%d_zm", i + 1);
103  meStripTIBLayer4Extzm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
104  sprintf(histo, "strip_tib_layer4_intmodule%d_zm", i + 1);
105  meStripTIBLayer4Intzm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
106  }
107 
108  for (int i = 0; i < 6; i++) {
109  Char_t histo[200];
110  // Z Plus Side
111  sprintf(histo, "adc_tob_layer1_module%d_zp", i + 1);
112  meAdcTOBLayer1zp_[i] = ibooker.book1D(histo, "Digis ADC", 10, 0., 300.);
113  sprintf(histo, "strip_tob_layer1_module%d_zp", i + 1);
114  meStripTOBLayer1zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
115  sprintf(histo, "adc_tob_layer2_module%d_zp", i + 1);
116  meAdcTOBLayer2zp_[i] = ibooker.book1D(histo, "Digis ADC", 10, 0., 300.);
117  sprintf(histo, "strip_tob_layer2_module%d_zp", i + 1);
118  meStripTOBLayer2zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
119  sprintf(histo, "adc_tob_layer3_module%d_zp", i + 1);
120  meAdcTOBLayer3zp_[i] = ibooker.book1D(histo, "Digis ADC", 10, 0., 300.);
121  sprintf(histo, "strip_tob_layer3_module%d_zp", i + 1);
122  meStripTOBLayer3zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
123  sprintf(histo, "adc_tob_layer4_module%d_zp", i + 1);
124  meAdcTOBLayer4zp_[i] = ibooker.book1D(histo, "Digis ADC", 10, 0., 300.);
125  sprintf(histo, "strip_tob_layer4_module%d_zp", i + 1);
126  meStripTOBLayer4zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
127  sprintf(histo, "adc_tob_layer5_module%d_zp", i + 1);
128  meAdcTOBLayer5zp_[i] = ibooker.book1D(histo, "Digis ADC", 10, 0., 300.);
129  sprintf(histo, "strip_tob_layer5_module%d_zp", i + 1);
130  meStripTOBLayer5zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
131  sprintf(histo, "adc_tob_layer6_module%d_zp", i + 1);
132  meAdcTOBLayer6zp_[i] = ibooker.book1D(histo, "Digis ADC", 10, 0., 300.);
133  sprintf(histo, "strip_tob_layer6_module%d_zp", i + 1);
134  meStripTOBLayer6zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
135  // Z Minus Side
136  sprintf(histo, "adc_tob_layer1_module%d_zm", i + 1);
137  meAdcTOBLayer1zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
138  sprintf(histo, "strip_tob_layer1_module%d_zm", i + 1);
139  meStripTOBLayer1zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
140  sprintf(histo, "adc_tob_layer2_module%d_zm", i + 1);
141  meAdcTOBLayer2zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
142  sprintf(histo, "strip_tob_layer2_module%d_zm", i + 1);
143  meStripTOBLayer2zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
144  sprintf(histo, "adc_tob_layer3_module%d_zm", i + 1);
145  meAdcTOBLayer3zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
146  sprintf(histo, "strip_tob_layer3_module%d_zm", i + 1);
147  meStripTOBLayer3zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
148  sprintf(histo, "adc_tob_layer4_module%d_zm", i + 1);
149  meAdcTOBLayer4zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
150  sprintf(histo, "strip_tob_layer4_module%d_zm", i + 1);
151  meStripTOBLayer4zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
152  sprintf(histo, "adc_tob_layer5_module%d_zm", i + 1);
153  meAdcTOBLayer5zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
154  sprintf(histo, "strip_tob_layer5_module%d_zm", i + 1);
155  meStripTOBLayer5zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
156  sprintf(histo, "adc_tob_layer6_module%d_zm", i + 1);
157  meAdcTOBLayer6zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
158  sprintf(histo, "strip_tob_layer6_module%d_zm", i + 1);
159  meStripTOBLayer6zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
160  }
161 
162  for (int i = 0; i < 3; i++) {
163  Char_t histo[200];
164  // Z Plus Side
165  sprintf(histo, "adc_tid_wheel1_ring%d_zp", i + 1);
166  meAdcTIDWheel1zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
167  sprintf(histo, "adc_tid_wheel2_ring%d_zp", i + 1);
168  meAdcTIDWheel2zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
169  sprintf(histo, "adc_tid_wheel3_ring%d_zp", i + 1);
170  meAdcTIDWheel3zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
171  sprintf(histo, "strip_tid_wheel1_ring%d_zp", i + 1);
172  meStripTIDWheel1zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
173  sprintf(histo, "strip_tid_wheel2_ring%d_zp", i + 1);
174  meStripTIDWheel2zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
175  sprintf(histo, "strip_tid_wheel3_ring%d_zp", i + 1);
176  meStripTIDWheel3zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
177  // Z minus Side
178  sprintf(histo, "adc_tid_wheel1_ring%d_zm", i + 1);
179  meAdcTIDWheel1zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
180  sprintf(histo, "adc_tid_wheel2_ring%d_zm", i + 1);
181  meAdcTIDWheel2zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
182  sprintf(histo, "adc_tid_wheel3_ring%d_zm", i + 1);
183  meAdcTIDWheel3zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
184  sprintf(histo, "strip_tid_wheel1_ring%d_zm", i + 1);
185  meStripTIDWheel1zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
186  sprintf(histo, "strip_tid_wheel2_ring%d_zm", i + 1);
187  meStripTIDWheel2zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
188  sprintf(histo, "strip_tid_wheel3_ring%d_zm", i + 1);
189  meStripTIDWheel3zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
190  }
191 
192  for (int i = 0; i < 7; i++) {
193  Char_t histo[200];
194  // Z Plus Side
195  sprintf(histo, "adc_tec_wheel1_ring%d_zp", i + 1);
196  meAdcTECWheel1zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
197  sprintf(histo, "adc_tec_wheel2_ring%d_zp", i + 1);
198  meAdcTECWheel2zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
199  sprintf(histo, "adc_tec_wheel3_ring%d_zp", i + 1);
200  meAdcTECWheel3zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
201  sprintf(histo, "strip_tec_wheel1_ring%d_zp", i + 1);
202  meStripTECWheel1zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
203  sprintf(histo, "strip_tec_wheel2_ring%d_zp", i + 1);
204  meStripTECWheel2zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
205  sprintf(histo, "strip_tec_wheel3_ring%d_zp", i + 1);
206  meStripTECWheel3zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
207 
208  // Z Minus Side
209  sprintf(histo, "adc_tec_wheel1_ring%d_zm", i + 1);
210  meAdcTECWheel1zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
211  sprintf(histo, "adc_tec_wheel2_ring%d_zm", i + 1);
212  meAdcTECWheel2zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
213  sprintf(histo, "adc_tec_wheel3_ring%d_zm", i + 1);
214  meAdcTECWheel3zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
215  sprintf(histo, "strip_tec_wheel1_ring%d_zm", i + 1);
216  meStripTECWheel1zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
217  sprintf(histo, "strip_tec_wheel2_ring%d_zm", i + 1);
218  meStripTECWheel2zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
219  sprintf(histo, "strip_tec_wheel3_ring%d_zm", i + 1);
220  meStripTECWheel3zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
221  }
222 
223  for (int i = 0; i < 6; i++) {
224  Char_t histo[200];
225  // Z Plus Side
226  sprintf(histo, "adc_tec_wheel4_ring%d_zp", i + 1);
227  meAdcTECWheel4zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
228  sprintf(histo, "adc_tec_wheel5_ring%d_zp", i + 1);
229  meAdcTECWheel5zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
230  sprintf(histo, "adc_tec_wheel6_ring%d_zp", i + 1);
231  meAdcTECWheel6zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
232  sprintf(histo, "strip_tec_wheel4_ring%d_zp", i + 1);
233  meStripTECWheel4zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
234  sprintf(histo, "strip_tec_wheel5_ring%d_zp", i + 1);
235  meStripTECWheel5zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
236  sprintf(histo, "strip_tec_wheel6_ring%d_zp", i + 1);
237  meStripTECWheel6zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
238 
239  // Z Minus Side
240  sprintf(histo, "adc_tec_wheel4_ring%d_zm", i + 1);
241  meAdcTECWheel4zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
242  sprintf(histo, "adc_tec_wheel5_ring%d_zm", i + 1);
243  meAdcTECWheel5zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
244  sprintf(histo, "adc_tec_wheel6_ring%d_zm", i + 1);
245  meAdcTECWheel6zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
246  sprintf(histo, "strip_tec_wheel4_ring%d_zm", i + 1);
247  meStripTECWheel4zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
248  sprintf(histo, "strip_tec_wheel5_ring%d_zm", i + 1);
249  meStripTECWheel5zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
250  sprintf(histo, "strip_tec_wheel6_ring%d_zm", i + 1);
251  meStripTECWheel6zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
252  }
253 
254  for (int i = 0; i < 5; i++) {
255  Char_t histo[200];
256  // Z Plus Side
257  sprintf(histo, "adc_tec_wheel7_ring%d_zp", i + 1);
258  meAdcTECWheel7zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
259  sprintf(histo, "adc_tec_wheel8_ring%d_zp", i + 1);
260  meAdcTECWheel8zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
261  sprintf(histo, "strip_tec_wheel7_ring%d_zp", i + 1);
262  meStripTECWheel7zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
263  sprintf(histo, "strip_tec_wheel8_ring%d_zp", i + 1);
264  meStripTECWheel8zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
265 
266  // Z Minus Side
267  sprintf(histo, "adc_tec_wheel7_ring%d_zm", i + 1);
268  meAdcTECWheel7zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
269  sprintf(histo, "adc_tec_wheel8_ring%d_zm", i + 1);
270  meAdcTECWheel8zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
271  sprintf(histo, "strip_tec_wheel7_ring%d_zm", i + 1);
272  meStripTECWheel7zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
273  sprintf(histo, "strip_tec_wheel8_ring%d_zm", i + 1);
274  meStripTECWheel8zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
275  }
276 
277  for (int i = 0; i < 4; i++) {
278  Char_t histo[200];
279  // Z Plus Side
280  sprintf(histo, "adc_tec_wheel9_ring%d_zp", i + 1);
281  meAdcTECWheel9zp_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
282  sprintf(histo, "strip_tec_wheel9_ring%d_zp", i + 1);
283  meStripTECWheel9zp_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
284 
285  // Z Minus Side
286  sprintf(histo, "adc_tec_wheel9_ring%d_zm", i + 1);
287  meAdcTECWheel9zm_[i] = ibooker.book1D(histo, "Digis ADC", 50, 0., 300.);
288  sprintf(histo, "strip_tec_wheel9_ring%d_zm", i + 1);
289  meStripTECWheel9zm_[i] = ibooker.book1D(histo, "Digis Strip Num.", 200, 0., 800.);
290  }
291 
292  for (int i = 0; i < 4; i++) {
293  Char_t histo[200];
294  sprintf(histo, "ndigi_tib_layer_%d_zm", i + 1);
295  meNDigiTIBLayerzm_[i] = ibooker.book1D(histo, "Digi Multiplicity", 100, 0., 500.);
296  sprintf(histo, "ndigi_tib_layer_%d_zp", i + 1);
297  meNDigiTIBLayerzp_[i] = ibooker.book1D(histo, "Digi Multiplicity", 100, 0., 500.);
298  }
299 
300  for (int i = 0; i < 6; i++) {
301  Char_t histo[200];
302  sprintf(histo, "ndigi_tob_layer_%d_zm", i + 1);
303  meNDigiTOBLayerzm_[i] = ibooker.book1D(histo, "Digi Multiplicity", 100, 0., 500.);
304  sprintf(histo, "ndigi_tob_layer_%d_zp", i + 1);
305  meNDigiTOBLayerzp_[i] = ibooker.book1D(histo, "Digi Multiplicity", 100, 0., 500.);
306  }
307 
308  for (int i = 0; i < 3; i++) {
309  Char_t histo[200];
310  sprintf(histo, "ndigi_tid_wheel_%d_zm", i + 1);
311  meNDigiTIDWheelzm_[i] = ibooker.book1D(histo, "Digi Multiplicity", 100, 0., 500.);
312  sprintf(histo, "ndigi_tid_wheel_%d_zp", i + 1);
313  meNDigiTIDWheelzp_[i] = ibooker.book1D(histo, "Digi Multiplicity", 100, 0., 500.);
314  }
315 
316  for (int i = 0; i < 9; i++) {
317  Char_t histo[200];
318  sprintf(histo, "ndigi_tec_wheel_%d_zm", i + 1);
319  meNDigiTECWheelzm_[i] = ibooker.book1D(histo, "Digi Multiplicity", 100, 0., 500.);
320  sprintf(histo, "ndigi_tec_wheel_%d_zp", i + 1);
321  meNDigiTECWheelzp_[i] = ibooker.book1D(histo, "Digi Multiplicity", 100, 0., 500.);
322  }
323  }
324 }
325 
327  // Retrieve tracker topology from geometry
328  edm::ESHandle<TrackerTopology> tTopoHandle;
329  c.get<TrackerTopologyRcd>().get(tTopoHandle);
330  const TrackerTopology *const tTopo = tTopoHandle.product();
331 
332  int ndigilayertibzp[4];
333  int ndigilayertibzm[4];
334 
335  for (int i = 0; i < 4; i++) {
336  ndigilayertibzp[i] = 0;
337  ndigilayertibzm[i] = 0;
338  }
339 
340  int ndigilayertobzp[6];
341  int ndigilayertobzm[6];
342 
343  for (int i = 0; i < 6; i++) {
344  ndigilayertobzp[i] = 0;
345  ndigilayertobzm[i] = 0;
346  }
347 
348  int ndigiwheeltidzp[3];
349  int ndigiwheeltidzm[3];
350 
351  for (int i = 0; i < 3; i++) {
352  ndigiwheeltidzp[i] = 0;
353  ndigiwheeltidzm[i] = 0;
354  }
355 
356  int ndigiwheelteczp[9];
357  int ndigiwheelteczm[9];
358 
359  for (int i = 0; i < 9; i++) {
360  ndigiwheelteczp[i] = 0;
361  ndigiwheelteczm[i] = 0;
362  }
363 
364  // LogInfo("EventInfo") << " Run = " << e.id().run() << " Event = " <<
365  // e.id().event();
368 
369  std::string digiProducer = "siStripDigis";
371  e.getByToken(edmDetSetVector_SiStripDigi_Token_, stripDigis);
372  edm::DetSetVector<SiStripDigi>::const_iterator DSViter = stripDigis->begin();
373  for (; DSViter != stripDigis->end(); DSViter++) {
374  unsigned int id = DSViter->id;
375  DetId detId(id);
379 
380  if (detId.subdetId() == StripSubdetector::TIB) {
381  for (iter = begin; iter != end; iter++) { // loop digis
382  if (tTopo->tibStringInfo(id)[0] == 1) {
383  ++ndigilayertibzm[tTopo->tibLayer(id) - 1];
384  if (tTopo->tibLayer(id) == 1) {
385  if (tTopo->tibStringInfo(id)[1] == 1) {
386  if (tTopo->tibModule(id) == 1) {
387  meAdcTIBLayer1Intzm_[0]->Fill((*iter).adc());
388  meStripTIBLayer1Intzm_[0]->Fill((*iter).strip());
389  }
390  if (tTopo->tibModule(id) == 2) {
391  meAdcTIBLayer1Intzm_[1]->Fill((*iter).adc());
392  meStripTIBLayer1Intzm_[1]->Fill((*iter).strip());
393  }
394  if (tTopo->tibModule(id) == 3) {
395  meAdcTIBLayer1Intzm_[2]->Fill((*iter).adc());
396  meStripTIBLayer1Intzm_[2]->Fill((*iter).strip());
397  }
398  } else {
399  if (tTopo->tibModule(id) == 1) {
400  meAdcTIBLayer1Extzm_[0]->Fill((*iter).adc());
401  meStripTIBLayer1Extzm_[0]->Fill((*iter).strip());
402  }
403  if (tTopo->tibModule(id) == 2) {
404  meAdcTIBLayer1Extzm_[1]->Fill((*iter).adc());
405  meStripTIBLayer1Extzm_[1]->Fill((*iter).strip());
406  }
407  if (tTopo->tibModule(id) == 3) {
408  meAdcTIBLayer1Extzm_[2]->Fill((*iter).adc());
409  meStripTIBLayer1Extzm_[2]->Fill((*iter).strip());
410  }
411  }
412  }
413  if (tTopo->tibLayer(id) == 2) {
414  if (tTopo->tibStringInfo(id)[1] == 1) {
415  if (tTopo->tibModule(id) == 1) {
416  meAdcTIBLayer2Intzm_[0]->Fill((*iter).adc());
417  meStripTIBLayer2Intzm_[0]->Fill((*iter).strip());
418  }
419  if (tTopo->tibModule(id) == 2) {
420  meAdcTIBLayer2Intzm_[1]->Fill((*iter).adc());
421  meStripTIBLayer2Intzm_[1]->Fill((*iter).strip());
422  }
423  if (tTopo->tibModule(id) == 3) {
424  meAdcTIBLayer2Intzm_[2]->Fill((*iter).adc());
425  meStripTIBLayer2Intzm_[2]->Fill((*iter).strip());
426  }
427  } else {
428  if (tTopo->tibModule(id) == 1) {
429  meAdcTIBLayer2Extzm_[0]->Fill((*iter).adc());
430  meStripTIBLayer2Extzm_[0]->Fill((*iter).strip());
431  }
432  if (tTopo->tibModule(id) == 2) {
433  meAdcTIBLayer2Extzm_[1]->Fill((*iter).adc());
434  meStripTIBLayer2Extzm_[1]->Fill((*iter).strip());
435  }
436  if (tTopo->tibModule(id) == 3) {
437  meAdcTIBLayer2Extzm_[2]->Fill((*iter).adc());
438  meStripTIBLayer2Extzm_[2]->Fill((*iter).strip());
439  }
440  }
441  }
442  if (tTopo->tibLayer(id) == 3) {
443  if (tTopo->tibStringInfo(id)[1] == 1) {
444  if (tTopo->tibModule(id) == 1) {
445  meAdcTIBLayer3Intzm_[0]->Fill((*iter).adc());
446  meStripTIBLayer3Intzm_[0]->Fill((*iter).strip());
447  }
448  if (tTopo->tibModule(id) == 2) {
449  meAdcTIBLayer3Intzm_[1]->Fill((*iter).adc());
450  meStripTIBLayer3Intzm_[1]->Fill((*iter).strip());
451  }
452  if (tTopo->tibModule(id) == 3) {
453  meAdcTIBLayer3Intzm_[2]->Fill((*iter).adc());
454  meStripTIBLayer3Intzm_[2]->Fill((*iter).strip());
455  }
456  } else {
457  if (tTopo->tibModule(id) == 1) {
458  meAdcTIBLayer3Extzm_[0]->Fill((*iter).adc());
459  meStripTIBLayer3Extzm_[0]->Fill((*iter).strip());
460  }
461  if (tTopo->tibModule(id) == 2) {
462  meAdcTIBLayer3Extzm_[1]->Fill((*iter).adc());
463  meStripTIBLayer3Extzm_[1]->Fill((*iter).strip());
464  }
465  if (tTopo->tibModule(id) == 3) {
466  meAdcTIBLayer3Extzm_[2]->Fill((*iter).adc());
467  meStripTIBLayer3Extzm_[2]->Fill((*iter).strip());
468  }
469  }
470  }
471  if (tTopo->tibLayer(id) == 4) {
472  if (tTopo->tibStringInfo(id)[1] == 1) {
473  if (tTopo->tibModule(id) == 1) {
474  meAdcTIBLayer4Intzm_[0]->Fill((*iter).adc());
475  meStripTIBLayer4Intzm_[0]->Fill((*iter).strip());
476  }
477  if (tTopo->tibModule(id) == 2) {
478  meAdcTIBLayer4Intzm_[1]->Fill((*iter).adc());
479  meStripTIBLayer4Intzm_[1]->Fill((*iter).strip());
480  }
481  if (tTopo->tibModule(id) == 3) {
482  meAdcTIBLayer4Intzm_[2]->Fill((*iter).adc());
483  meStripTIBLayer4Intzm_[2]->Fill((*iter).strip());
484  }
485  } else {
486  if (tTopo->tibModule(id) == 1) {
487  meAdcTIBLayer4Extzm_[0]->Fill((*iter).adc());
488  meStripTIBLayer4Extzm_[0]->Fill((*iter).strip());
489  }
490  if (tTopo->tibModule(id) == 2) {
491  meAdcTIBLayer4Extzm_[1]->Fill((*iter).adc());
492  meStripTIBLayer4Extzm_[1]->Fill((*iter).strip());
493  }
494  if (tTopo->tibModule(id) == 3) {
495  meAdcTIBLayer4Extzm_[2]->Fill((*iter).adc());
496  meStripTIBLayer4Extzm_[2]->Fill((*iter).strip());
497  }
498  }
499  }
500  } else {
501  ++ndigilayertibzp[tTopo->tibLayer(id) - 1];
502  if (tTopo->tibLayer(id) == 1) {
503  if (tTopo->tibStringInfo(id)[1] == 1) {
504  if (tTopo->tibModule(id) == 1) {
505  meAdcTIBLayer1Intzp_[0]->Fill((*iter).adc());
506  meStripTIBLayer1Intzp_[0]->Fill((*iter).strip());
507  }
508  if (tTopo->tibModule(id) == 2) {
509  meAdcTIBLayer1Intzp_[1]->Fill((*iter).adc());
510  meStripTIBLayer1Intzp_[1]->Fill((*iter).strip());
511  }
512  if (tTopo->tibModule(id) == 3) {
513  meAdcTIBLayer1Intzp_[2]->Fill((*iter).adc());
514  meStripTIBLayer1Intzp_[2]->Fill((*iter).strip());
515  }
516  } else {
517  if (tTopo->tibModule(id) == 1) {
518  meAdcTIBLayer1Extzp_[0]->Fill((*iter).adc());
519  meStripTIBLayer1Extzp_[0]->Fill((*iter).strip());
520  }
521  if (tTopo->tibModule(id) == 2) {
522  meAdcTIBLayer1Extzp_[1]->Fill((*iter).adc());
523  meStripTIBLayer1Extzp_[1]->Fill((*iter).strip());
524  }
525  if (tTopo->tibModule(id) == 3) {
526  meAdcTIBLayer1Extzp_[2]->Fill((*iter).adc());
527  meStripTIBLayer1Extzp_[2]->Fill((*iter).strip());
528  }
529  }
530  }
531  if (tTopo->tibLayer(id) == 2) {
532  if (tTopo->tibStringInfo(id)[1] == 1) {
533  if (tTopo->tibModule(id) == 1) {
534  meAdcTIBLayer2Intzp_[0]->Fill((*iter).adc());
535  meStripTIBLayer2Intzp_[0]->Fill((*iter).strip());
536  }
537  if (tTopo->tibModule(id) == 2) {
538  meAdcTIBLayer2Intzp_[1]->Fill((*iter).adc());
539  meStripTIBLayer2Intzp_[1]->Fill((*iter).strip());
540  }
541  if (tTopo->tibModule(id) == 3) {
542  meAdcTIBLayer2Intzp_[2]->Fill((*iter).adc());
543  meStripTIBLayer2Intzp_[2]->Fill((*iter).strip());
544  }
545  } else {
546  if (tTopo->tibModule(id) == 1) {
547  meAdcTIBLayer2Extzp_[0]->Fill((*iter).adc());
548  meStripTIBLayer2Extzp_[0]->Fill((*iter).strip());
549  }
550  if (tTopo->tibModule(id) == 2) {
551  meAdcTIBLayer2Extzp_[1]->Fill((*iter).adc());
552  meStripTIBLayer2Extzp_[1]->Fill((*iter).strip());
553  }
554  if (tTopo->tibModule(id) == 3) {
555  meAdcTIBLayer2Extzp_[2]->Fill((*iter).adc());
556  meStripTIBLayer2Extzp_[2]->Fill((*iter).strip());
557  }
558  }
559  }
560  if (tTopo->tibLayer(id) == 3) {
561  if (tTopo->tibStringInfo(id)[1] == 1) {
562  if (tTopo->tibModule(id) == 1) {
563  meAdcTIBLayer3Intzp_[0]->Fill((*iter).adc());
564  meStripTIBLayer3Intzp_[0]->Fill((*iter).strip());
565  }
566  if (tTopo->tibModule(id) == 2) {
567  meAdcTIBLayer3Intzp_[1]->Fill((*iter).adc());
568  meStripTIBLayer3Intzp_[1]->Fill((*iter).strip());
569  }
570  if (tTopo->tibModule(id) == 3) {
571  meAdcTIBLayer3Intzp_[2]->Fill((*iter).adc());
572  meStripTIBLayer3Intzp_[2]->Fill((*iter).strip());
573  }
574  } else {
575  if (tTopo->tibModule(id) == 1) {
576  meAdcTIBLayer3Extzp_[0]->Fill((*iter).adc());
577  meStripTIBLayer3Extzp_[0]->Fill((*iter).strip());
578  }
579  if (tTopo->tibModule(id) == 2) {
580  meAdcTIBLayer3Extzp_[1]->Fill((*iter).adc());
581  meStripTIBLayer3Extzp_[1]->Fill((*iter).strip());
582  }
583  if (tTopo->tibModule(id) == 3) {
584  meAdcTIBLayer3Extzp_[2]->Fill((*iter).adc());
585  meStripTIBLayer3Extzp_[2]->Fill((*iter).strip());
586  }
587  }
588  }
589  if (tTopo->tibLayer(id) == 4) {
590  if (tTopo->tibStringInfo(id)[1] == 1) {
591  if (tTopo->tibModule(id) == 1) {
592  meAdcTIBLayer4Intzp_[0]->Fill((*iter).adc());
593  meStripTIBLayer4Intzp_[0]->Fill((*iter).strip());
594  }
595  if (tTopo->tibModule(id) == 2) {
596  meAdcTIBLayer4Intzp_[1]->Fill((*iter).adc());
597  meStripTIBLayer4Intzp_[1]->Fill((*iter).strip());
598  }
599  if (tTopo->tibModule(id) == 3) {
600  meAdcTIBLayer4Intzp_[2]->Fill((*iter).adc());
601  meStripTIBLayer4Intzp_[2]->Fill((*iter).strip());
602  }
603  } else {
604  if (tTopo->tibModule(id) == 1) {
605  meAdcTIBLayer4Extzp_[0]->Fill((*iter).adc());
606  meStripTIBLayer4Extzp_[0]->Fill((*iter).strip());
607  }
608  if (tTopo->tibModule(id) == 2) {
609  meAdcTIBLayer4Extzp_[1]->Fill((*iter).adc());
610  meStripTIBLayer4Extzp_[1]->Fill((*iter).strip());
611  }
612  if (tTopo->tibModule(id) == 3) {
613  meAdcTIBLayer4Extzp_[2]->Fill((*iter).adc());
614  meStripTIBLayer4Extzp_[2]->Fill((*iter).strip());
615  }
616  }
617  }
618  }
619  }
620  }
621  if (detId.subdetId() == StripSubdetector::TOB) {
622  for (iter = begin; iter != end; iter++) { // loop digis
623  if (tTopo->tobRodInfo(id)[0] == 1) {
624  ++ndigilayertobzm[tTopo->tobLayer(id) - 1];
625  if (tTopo->tobLayer(id) == 1) {
626  if (tTopo->tobModule(id) == 1) {
627  meAdcTOBLayer1zm_[0]->Fill((*iter).adc());
628  meStripTOBLayer1zm_[0]->Fill((*iter).strip());
629  }
630  if (tTopo->tobModule(id) == 2) {
631  meAdcTOBLayer1zm_[1]->Fill((*iter).adc());
632  meStripTOBLayer1zm_[1]->Fill((*iter).strip());
633  }
634  if (tTopo->tobModule(id) == 3) {
635  meAdcTOBLayer1zm_[2]->Fill((*iter).adc());
636  meStripTOBLayer1zm_[2]->Fill((*iter).strip());
637  }
638  if (tTopo->tobModule(id) == 4) {
639  meAdcTOBLayer1zm_[3]->Fill((*iter).adc());
640  meStripTOBLayer1zm_[3]->Fill((*iter).strip());
641  }
642  if (tTopo->tobModule(id) == 5) {
643  meAdcTOBLayer1zm_[4]->Fill((*iter).adc());
644  meStripTOBLayer1zm_[4]->Fill((*iter).strip());
645  }
646  if (tTopo->tobModule(id) == 6) {
647  meAdcTOBLayer1zm_[5]->Fill((*iter).adc());
648  meStripTOBLayer1zm_[5]->Fill((*iter).strip());
649  }
650  }
651  if (tTopo->tobLayer(id) == 2) {
652  if (tTopo->tobModule(id) == 1) {
653  meAdcTOBLayer2zm_[0]->Fill((*iter).adc());
654  meStripTOBLayer2zm_[0]->Fill((*iter).strip());
655  }
656  if (tTopo->tobModule(id) == 2) {
657  meAdcTOBLayer2zm_[1]->Fill((*iter).adc());
658  meStripTOBLayer2zm_[1]->Fill((*iter).strip());
659  }
660  if (tTopo->tobModule(id) == 3) {
661  meAdcTOBLayer2zm_[2]->Fill((*iter).adc());
662  meStripTOBLayer2zm_[2]->Fill((*iter).strip());
663  }
664  if (tTopo->tobModule(id) == 4) {
665  meAdcTOBLayer2zm_[3]->Fill((*iter).adc());
666  meStripTOBLayer2zm_[3]->Fill((*iter).strip());
667  }
668  if (tTopo->tobModule(id) == 5) {
669  meAdcTOBLayer2zm_[4]->Fill((*iter).adc());
670  meStripTOBLayer2zm_[4]->Fill((*iter).strip());
671  }
672  if (tTopo->tobModule(id) == 6) {
673  meAdcTOBLayer2zm_[5]->Fill((*iter).adc());
674  meStripTOBLayer2zm_[5]->Fill((*iter).strip());
675  }
676  }
677  if (tTopo->tobLayer(id) == 3) {
678  if (tTopo->tobModule(id) == 1) {
679  meAdcTOBLayer3zm_[0]->Fill((*iter).adc());
680  meStripTOBLayer3zm_[0]->Fill((*iter).strip());
681  }
682  if (tTopo->tobModule(id) == 2) {
683  meAdcTOBLayer3zm_[1]->Fill((*iter).adc());
684  meStripTOBLayer3zm_[1]->Fill((*iter).strip());
685  }
686  if (tTopo->tobModule(id) == 3) {
687  meAdcTOBLayer3zm_[2]->Fill((*iter).adc());
688  meStripTOBLayer3zm_[2]->Fill((*iter).strip());
689  }
690  if (tTopo->tobModule(id) == 4) {
691  meAdcTOBLayer3zm_[3]->Fill((*iter).adc());
692  meStripTOBLayer3zm_[3]->Fill((*iter).strip());
693  }
694  if (tTopo->tobModule(id) == 5) {
695  meAdcTOBLayer3zm_[4]->Fill((*iter).adc());
696  meStripTOBLayer3zm_[4]->Fill((*iter).strip());
697  }
698  if (tTopo->tobModule(id) == 6) {
699  meAdcTOBLayer3zm_[5]->Fill((*iter).adc());
700  meStripTOBLayer3zm_[5]->Fill((*iter).strip());
701  }
702  }
703  if (tTopo->tobLayer(id) == 4) {
704  if (tTopo->tobModule(id) == 1) {
705  meAdcTOBLayer4zm_[0]->Fill((*iter).adc());
706  meStripTOBLayer4zm_[0]->Fill((*iter).strip());
707  }
708  if (tTopo->tobModule(id) == 2) {
709  meAdcTOBLayer4zm_[1]->Fill((*iter).adc());
710  meStripTOBLayer4zm_[1]->Fill((*iter).strip());
711  }
712  if (tTopo->tobModule(id) == 3) {
713  meAdcTOBLayer4zm_[2]->Fill((*iter).adc());
714  meStripTOBLayer4zm_[2]->Fill((*iter).strip());
715  }
716  if (tTopo->tobModule(id) == 4) {
717  meAdcTOBLayer4zm_[3]->Fill((*iter).adc());
718  meStripTOBLayer4zm_[3]->Fill((*iter).strip());
719  }
720  if (tTopo->tobModule(id) == 5) {
721  meAdcTOBLayer4zm_[4]->Fill((*iter).adc());
722  meStripTOBLayer4zm_[4]->Fill((*iter).strip());
723  }
724  if (tTopo->tobModule(id) == 6) {
725  meAdcTOBLayer4zm_[5]->Fill((*iter).adc());
726  meStripTOBLayer4zm_[5]->Fill((*iter).strip());
727  }
728  }
729  if (tTopo->tobLayer(id) == 5) {
730  if (tTopo->tobModule(id) == 1) {
731  meAdcTOBLayer5zm_[0]->Fill((*iter).adc());
732  meStripTOBLayer5zm_[0]->Fill((*iter).strip());
733  }
734  if (tTopo->tobModule(id) == 2) {
735  meAdcTOBLayer5zm_[1]->Fill((*iter).adc());
736  meStripTOBLayer5zm_[1]->Fill((*iter).strip());
737  }
738  if (tTopo->tobModule(id) == 3) {
739  meAdcTOBLayer5zm_[2]->Fill((*iter).adc());
740  meStripTOBLayer5zm_[2]->Fill((*iter).strip());
741  }
742  if (tTopo->tobModule(id) == 4) {
743  meAdcTOBLayer5zm_[3]->Fill((*iter).adc());
744  meStripTOBLayer5zm_[3]->Fill((*iter).strip());
745  }
746  if (tTopo->tobModule(id) == 5) {
747  meAdcTOBLayer5zm_[4]->Fill((*iter).adc());
748  meStripTOBLayer5zm_[4]->Fill((*iter).strip());
749  }
750  if (tTopo->tobModule(id) == 6) {
751  meAdcTOBLayer5zm_[5]->Fill((*iter).adc());
752  meStripTOBLayer5zm_[5]->Fill((*iter).strip());
753  }
754  }
755  if (tTopo->tobLayer(id) == 6) {
756  if (tTopo->tobModule(id) == 1) {
757  meAdcTOBLayer6zm_[0]->Fill((*iter).adc());
758  meStripTOBLayer6zm_[0]->Fill((*iter).strip());
759  }
760  if (tTopo->tobModule(id) == 2) {
761  meAdcTOBLayer6zm_[1]->Fill((*iter).adc());
762  meStripTOBLayer6zm_[1]->Fill((*iter).strip());
763  }
764  if (tTopo->tobModule(id) == 3) {
765  meAdcTOBLayer6zm_[2]->Fill((*iter).adc());
766  meStripTOBLayer6zm_[2]->Fill((*iter).strip());
767  }
768  if (tTopo->tobModule(id) == 4) {
769  meAdcTOBLayer6zm_[3]->Fill((*iter).adc());
770  meStripTOBLayer6zm_[3]->Fill((*iter).strip());
771  }
772  if (tTopo->tobModule(id) == 5) {
773  meAdcTOBLayer6zm_[4]->Fill((*iter).adc());
774  meStripTOBLayer6zm_[4]->Fill((*iter).strip());
775  }
776  if (tTopo->tobModule(id) == 6) {
777  meAdcTOBLayer6zm_[5]->Fill((*iter).adc());
778  meStripTOBLayer6zm_[5]->Fill((*iter).strip());
779  }
780  }
781 
782  } else {
783  ++ndigilayertobzp[tTopo->tobLayer(id) - 1];
784  if (tTopo->tobLayer(id) == 1) {
785  if (tTopo->tobModule(id) == 1) {
786  meAdcTOBLayer1zp_[0]->Fill((*iter).adc());
787  meStripTOBLayer1zp_[0]->Fill((*iter).strip());
788  }
789  if (tTopo->tobModule(id) == 2) {
790  meAdcTOBLayer1zp_[1]->Fill((*iter).adc());
791  meStripTOBLayer1zp_[1]->Fill((*iter).strip());
792  }
793  if (tTopo->tobModule(id) == 3) {
794  meAdcTOBLayer1zp_[2]->Fill((*iter).adc());
795  meStripTOBLayer1zp_[2]->Fill((*iter).strip());
796  }
797  if (tTopo->tobModule(id) == 4) {
798  meAdcTOBLayer1zp_[3]->Fill((*iter).adc());
799  meStripTOBLayer1zp_[3]->Fill((*iter).strip());
800  }
801  if (tTopo->tobModule(id) == 5) {
802  meAdcTOBLayer1zp_[4]->Fill((*iter).adc());
803  meStripTOBLayer1zp_[4]->Fill((*iter).strip());
804  }
805  if (tTopo->tobModule(id) == 6) {
806  meAdcTOBLayer1zp_[5]->Fill((*iter).adc());
807  meStripTOBLayer1zp_[5]->Fill((*iter).strip());
808  }
809  }
810  if (tTopo->tobLayer(id) == 2) {
811  if (tTopo->tobModule(id) == 1) {
812  meAdcTOBLayer2zp_[0]->Fill((*iter).adc());
813  meStripTOBLayer2zp_[0]->Fill((*iter).strip());
814  }
815  if (tTopo->tobModule(id) == 2) {
816  meAdcTOBLayer2zp_[1]->Fill((*iter).adc());
817  meStripTOBLayer2zp_[1]->Fill((*iter).strip());
818  }
819  if (tTopo->tobModule(id) == 3) {
820  meAdcTOBLayer2zp_[2]->Fill((*iter).adc());
821  meStripTOBLayer2zp_[2]->Fill((*iter).strip());
822  }
823  if (tTopo->tobModule(id) == 4) {
824  meAdcTOBLayer2zp_[3]->Fill((*iter).adc());
825  meStripTOBLayer2zp_[3]->Fill((*iter).strip());
826  }
827  if (tTopo->tobModule(id) == 5) {
828  meAdcTOBLayer2zp_[4]->Fill((*iter).adc());
829  meStripTOBLayer2zp_[4]->Fill((*iter).strip());
830  }
831  if (tTopo->tobModule(id) == 6) {
832  meAdcTOBLayer2zp_[5]->Fill((*iter).adc());
833  meStripTOBLayer2zp_[5]->Fill((*iter).strip());
834  }
835  }
836  if (tTopo->tobLayer(id) == 3) {
837  if (tTopo->tobModule(id) == 1) {
838  meAdcTOBLayer3zp_[0]->Fill((*iter).adc());
839  meStripTOBLayer3zp_[0]->Fill((*iter).strip());
840  }
841  if (tTopo->tobModule(id) == 2) {
842  meAdcTOBLayer3zp_[1]->Fill((*iter).adc());
843  meStripTOBLayer3zp_[1]->Fill((*iter).strip());
844  }
845  if (tTopo->tobModule(id) == 3) {
846  meAdcTOBLayer3zp_[2]->Fill((*iter).adc());
847  meStripTOBLayer3zp_[2]->Fill((*iter).strip());
848  }
849  if (tTopo->tobModule(id) == 4) {
850  meAdcTOBLayer3zp_[3]->Fill((*iter).adc());
851  meStripTOBLayer3zp_[3]->Fill((*iter).strip());
852  }
853  if (tTopo->tobModule(id) == 5) {
854  meAdcTOBLayer3zp_[4]->Fill((*iter).adc());
855  meStripTOBLayer3zp_[4]->Fill((*iter).strip());
856  }
857  if (tTopo->tobModule(id) == 6) {
858  meAdcTOBLayer3zp_[5]->Fill((*iter).adc());
859  meStripTOBLayer3zp_[5]->Fill((*iter).strip());
860  }
861  }
862  if (tTopo->tobLayer(id) == 4) {
863  if (tTopo->tobModule(id) == 1) {
864  meAdcTOBLayer4zp_[0]->Fill((*iter).adc());
865  meStripTOBLayer4zp_[0]->Fill((*iter).strip());
866  }
867  if (tTopo->tobModule(id) == 2) {
868  meAdcTOBLayer4zp_[1]->Fill((*iter).adc());
869  meStripTOBLayer4zp_[1]->Fill((*iter).strip());
870  }
871  if (tTopo->tobModule(id) == 3) {
872  meAdcTOBLayer4zp_[2]->Fill((*iter).adc());
873  meStripTOBLayer4zp_[2]->Fill((*iter).strip());
874  }
875  if (tTopo->tobModule(id) == 4) {
876  meAdcTOBLayer4zp_[3]->Fill((*iter).adc());
877  meStripTOBLayer4zp_[3]->Fill((*iter).strip());
878  }
879  if (tTopo->tobModule(id) == 5) {
880  meAdcTOBLayer4zp_[4]->Fill((*iter).adc());
881  meStripTOBLayer4zp_[4]->Fill((*iter).strip());
882  }
883  if (tTopo->tobModule(id) == 6) {
884  meAdcTOBLayer4zp_[5]->Fill((*iter).adc());
885  meStripTOBLayer4zp_[5]->Fill((*iter).strip());
886  }
887  }
888  if (tTopo->tobLayer(id) == 5) {
889  if (tTopo->tobModule(id) == 1) {
890  meAdcTOBLayer5zp_[0]->Fill((*iter).adc());
891  meStripTOBLayer5zp_[0]->Fill((*iter).strip());
892  }
893  if (tTopo->tobModule(id) == 2) {
894  meAdcTOBLayer5zp_[1]->Fill((*iter).adc());
895  meStripTOBLayer5zp_[1]->Fill((*iter).strip());
896  }
897  if (tTopo->tobModule(id) == 3) {
898  meAdcTOBLayer5zp_[2]->Fill((*iter).adc());
899  meStripTOBLayer5zp_[2]->Fill((*iter).strip());
900  }
901  if (tTopo->tobModule(id) == 4) {
902  meAdcTOBLayer5zp_[3]->Fill((*iter).adc());
903  meStripTOBLayer5zp_[3]->Fill((*iter).strip());
904  }
905  if (tTopo->tobModule(id) == 5) {
906  meAdcTOBLayer5zp_[4]->Fill((*iter).adc());
907  meStripTOBLayer5zp_[4]->Fill((*iter).strip());
908  }
909  if (tTopo->tobModule(id) == 6) {
910  meAdcTOBLayer5zp_[5]->Fill((*iter).adc());
911  meStripTOBLayer5zp_[5]->Fill((*iter).strip());
912  }
913  }
914  if (tTopo->tobLayer(id) == 6) {
915  if (tTopo->tobModule(id) == 1) {
916  meAdcTOBLayer6zp_[0]->Fill((*iter).adc());
917  meStripTOBLayer6zp_[0]->Fill((*iter).strip());
918  }
919  if (tTopo->tobModule(id) == 2) {
920  meAdcTOBLayer6zp_[1]->Fill((*iter).adc());
921  meStripTOBLayer6zp_[1]->Fill((*iter).strip());
922  }
923  if (tTopo->tobModule(id) == 3) {
924  meAdcTOBLayer6zp_[2]->Fill((*iter).adc());
925  meStripTOBLayer6zp_[2]->Fill((*iter).strip());
926  }
927  if (tTopo->tobModule(id) == 4) {
928  meAdcTOBLayer6zp_[3]->Fill((*iter).adc());
929  meStripTOBLayer6zp_[3]->Fill((*iter).strip());
930  }
931  if (tTopo->tobModule(id) == 5) {
932  meAdcTOBLayer6zp_[4]->Fill((*iter).adc());
933  meStripTOBLayer6zp_[4]->Fill((*iter).strip());
934  }
935  if (tTopo->tobModule(id) == 6) {
936  meAdcTOBLayer6zp_[5]->Fill((*iter).adc());
937  meStripTOBLayer6zp_[5]->Fill((*iter).strip());
938  }
939  }
940  }
941  }
942  }
943 
944  if (detId.subdetId() == StripSubdetector::TID) {
945  for (iter = begin; iter != end; iter++) {
946  if (tTopo->tidSide(id) == 1) {
947  ++ndigiwheeltidzm[tTopo->tidWheel(id) - 1];
948  if (tTopo->tidWheel(id) == 1) {
949  if (tTopo->tidRing(id) == 1) {
950  meAdcTIDWheel1zm_[0]->Fill((*iter).adc());
951  meStripTIDWheel1zm_[0]->Fill((*iter).strip());
952  }
953  if (tTopo->tidRing(id) == 2) {
954  meAdcTIDWheel1zm_[1]->Fill((*iter).adc());
955  meStripTIDWheel1zm_[1]->Fill((*iter).strip());
956  }
957  if (tTopo->tidRing(id) == 3) {
958  meAdcTIDWheel1zm_[2]->Fill((*iter).adc());
959  meStripTIDWheel1zm_[2]->Fill((*iter).strip());
960  }
961  }
962  if (tTopo->tidWheel(id) == 2) {
963  if (tTopo->tidRing(id) == 1) {
964  meAdcTIDWheel2zm_[0]->Fill((*iter).adc());
965  meStripTIDWheel2zm_[0]->Fill((*iter).strip());
966  }
967  if (tTopo->tidRing(id) == 2) {
968  meAdcTIDWheel2zm_[1]->Fill((*iter).adc());
969  meStripTIDWheel2zm_[1]->Fill((*iter).strip());
970  }
971  if (tTopo->tidRing(id) == 3) {
972  meAdcTIDWheel2zm_[2]->Fill((*iter).adc());
973  meStripTIDWheel2zm_[2]->Fill((*iter).strip());
974  }
975  }
976  if (tTopo->tidWheel(id) == 3) {
977  if (tTopo->tidRing(id) == 1) {
978  meAdcTIDWheel3zm_[0]->Fill((*iter).adc());
979  meStripTIDWheel3zm_[0]->Fill((*iter).strip());
980  }
981  if (tTopo->tidRing(id) == 2) {
982  meAdcTIDWheel3zm_[1]->Fill((*iter).adc());
983  meStripTIDWheel3zm_[1]->Fill((*iter).strip());
984  }
985  if (tTopo->tidRing(id) == 3) {
986  meAdcTIDWheel3zm_[2]->Fill((*iter).adc());
987  meStripTIDWheel3zm_[2]->Fill((*iter).strip());
988  }
989  }
990 
991  } else {
992  ++ndigiwheeltidzp[tTopo->tidWheel(id) - 1];
993  if (tTopo->tidWheel(id) == 1) {
994  if (tTopo->tidRing(id) == 1) {
995  meAdcTIDWheel1zp_[0]->Fill((*iter).adc());
996  meStripTIDWheel1zp_[0]->Fill((*iter).strip());
997  }
998  if (tTopo->tidRing(id) == 2) {
999  meAdcTIDWheel1zp_[1]->Fill((*iter).adc());
1000  meStripTIDWheel1zp_[1]->Fill((*iter).strip());
1001  }
1002  if (tTopo->tidRing(id) == 3) {
1003  meAdcTIDWheel1zp_[2]->Fill((*iter).adc());
1004  meStripTIDWheel1zp_[2]->Fill((*iter).strip());
1005  }
1006  }
1007  if (tTopo->tidWheel(id) == 2) {
1008  if (tTopo->tidRing(id) == 1) {
1009  meAdcTIDWheel2zp_[0]->Fill((*iter).adc());
1010  meStripTIDWheel2zp_[0]->Fill((*iter).strip());
1011  }
1012  if (tTopo->tidRing(id) == 2) {
1013  meAdcTIDWheel2zp_[1]->Fill((*iter).adc());
1014  meStripTIDWheel2zp_[1]->Fill((*iter).strip());
1015  }
1016  if (tTopo->tidRing(id) == 3) {
1017  meAdcTIDWheel2zp_[2]->Fill((*iter).adc());
1018  meStripTIDWheel2zp_[2]->Fill((*iter).strip());
1019  }
1020  }
1021  if (tTopo->tidWheel(id) == 3) {
1022  if (tTopo->tidRing(id) == 1) {
1023  meAdcTIDWheel3zp_[0]->Fill((*iter).adc());
1024  meStripTIDWheel3zp_[0]->Fill((*iter).strip());
1025  }
1026  if (tTopo->tidRing(id) == 2) {
1027  meAdcTIDWheel3zp_[1]->Fill((*iter).adc());
1028  meStripTIDWheel3zp_[1]->Fill((*iter).strip());
1029  }
1030  if (tTopo->tidRing(id) == 3) {
1031  meAdcTIDWheel3zp_[2]->Fill((*iter).adc());
1032  meStripTIDWheel3zp_[2]->Fill((*iter).strip());
1033  }
1034  }
1035  }
1036  }
1037  }
1038  if (detId.subdetId() == StripSubdetector::TEC) {
1039  for (iter = begin; iter != end; iter++) {
1040  if (tTopo->tecSide(id) == 1) {
1041  ++ndigiwheelteczm[tTopo->tecWheel(id) - 1];
1042  if (tTopo->tecWheel(id) == 1) {
1043  if (tTopo->tecRing(id) == 1) {
1044  meAdcTECWheel1zm_[0]->Fill((*iter).adc());
1045  meStripTECWheel1zm_[0]->Fill((*iter).strip());
1046  }
1047  if (tTopo->tecRing(id) == 2) {
1048  meAdcTECWheel1zm_[1]->Fill((*iter).adc());
1049  meStripTECWheel1zm_[1]->Fill((*iter).strip());
1050  }
1051  if (tTopo->tecRing(id) == 3) {
1052  meAdcTECWheel1zm_[2]->Fill((*iter).adc());
1053  meStripTECWheel1zm_[2]->Fill((*iter).strip());
1054  }
1055  if (tTopo->tecRing(id) == 4) {
1056  meAdcTECWheel1zm_[3]->Fill((*iter).adc());
1057  meStripTECWheel1zm_[3]->Fill((*iter).strip());
1058  }
1059  if (tTopo->tecRing(id) == 5) {
1060  meAdcTECWheel1zm_[4]->Fill((*iter).adc());
1061  meStripTECWheel1zm_[4]->Fill((*iter).strip());
1062  }
1063  if (tTopo->tecRing(id) == 6) {
1064  meAdcTECWheel1zm_[5]->Fill((*iter).adc());
1065  meStripTECWheel1zm_[5]->Fill((*iter).strip());
1066  }
1067  if (tTopo->tecRing(id) == 7) {
1068  meAdcTECWheel1zm_[6]->Fill((*iter).adc());
1069  meStripTECWheel1zm_[6]->Fill((*iter).strip());
1070  }
1071  }
1072  if (tTopo->tecWheel(id) == 2) {
1073  if (tTopo->tecRing(id) == 1) {
1074  meAdcTECWheel2zm_[0]->Fill((*iter).adc());
1075  meStripTECWheel2zm_[0]->Fill((*iter).strip());
1076  }
1077  if (tTopo->tecRing(id) == 2) {
1078  meAdcTECWheel2zm_[1]->Fill((*iter).adc());
1079  meStripTECWheel2zm_[1]->Fill((*iter).strip());
1080  }
1081  if (tTopo->tecRing(id) == 3) {
1082  meAdcTECWheel2zm_[2]->Fill((*iter).adc());
1083  meStripTECWheel2zm_[2]->Fill((*iter).strip());
1084  }
1085  if (tTopo->tecRing(id) == 4) {
1086  meAdcTECWheel2zm_[3]->Fill((*iter).adc());
1087  meStripTECWheel2zm_[3]->Fill((*iter).strip());
1088  }
1089  if (tTopo->tecRing(id) == 5) {
1090  meAdcTECWheel2zm_[4]->Fill((*iter).adc());
1091  meStripTECWheel2zm_[4]->Fill((*iter).strip());
1092  }
1093  if (tTopo->tecRing(id) == 6) {
1094  meAdcTECWheel2zm_[5]->Fill((*iter).adc());
1095  meStripTECWheel2zm_[5]->Fill((*iter).strip());
1096  }
1097  if (tTopo->tecRing(id) == 7) {
1098  meAdcTECWheel2zm_[6]->Fill((*iter).adc());
1099  meStripTECWheel2zm_[6]->Fill((*iter).strip());
1100  }
1101  }
1102  if (tTopo->tecWheel(id) == 3) {
1103  if (tTopo->tecRing(id) == 1) {
1104  meAdcTECWheel3zm_[0]->Fill((*iter).adc());
1105  meStripTECWheel3zm_[0]->Fill((*iter).strip());
1106  }
1107  if (tTopo->tecRing(id) == 2) {
1108  meAdcTECWheel3zm_[1]->Fill((*iter).adc());
1109  meStripTECWheel3zm_[1]->Fill((*iter).strip());
1110  }
1111  if (tTopo->tecRing(id) == 3) {
1112  meAdcTECWheel3zm_[2]->Fill((*iter).adc());
1113  meStripTECWheel3zm_[2]->Fill((*iter).strip());
1114  }
1115  if (tTopo->tecRing(id) == 4) {
1116  meAdcTECWheel3zm_[3]->Fill((*iter).adc());
1117  meStripTECWheel3zm_[3]->Fill((*iter).strip());
1118  }
1119  if (tTopo->tecRing(id) == 5) {
1120  meAdcTECWheel3zm_[4]->Fill((*iter).adc());
1121  meStripTECWheel3zm_[4]->Fill((*iter).strip());
1122  }
1123  if (tTopo->tecRing(id) == 6) {
1124  meAdcTECWheel3zm_[5]->Fill((*iter).adc());
1125  meStripTECWheel3zm_[5]->Fill((*iter).strip());
1126  }
1127  if (tTopo->tecRing(id) == 7) {
1128  meAdcTECWheel3zm_[6]->Fill((*iter).adc());
1129  meStripTECWheel3zm_[6]->Fill((*iter).strip());
1130  }
1131  }
1132  if (tTopo->tecWheel(id) == 4) {
1133  if (tTopo->tecRing(id) == 2) {
1134  meAdcTECWheel4zm_[0]->Fill((*iter).adc());
1135  meStripTECWheel4zm_[0]->Fill((*iter).strip());
1136  }
1137  if (tTopo->tecRing(id) == 3) {
1138  meAdcTECWheel4zm_[1]->Fill((*iter).adc());
1139  meStripTECWheel4zm_[1]->Fill((*iter).strip());
1140  }
1141  if (tTopo->tecRing(id) == 4) {
1142  meAdcTECWheel4zm_[2]->Fill((*iter).adc());
1143  meStripTECWheel4zm_[2]->Fill((*iter).strip());
1144  }
1145  if (tTopo->tecRing(id) == 5) {
1146  meAdcTECWheel4zm_[3]->Fill((*iter).adc());
1147  meStripTECWheel4zm_[3]->Fill((*iter).strip());
1148  }
1149  if (tTopo->tecRing(id) == 6) {
1150  meAdcTECWheel4zm_[4]->Fill((*iter).adc());
1151  meStripTECWheel4zm_[4]->Fill((*iter).strip());
1152  }
1153  if (tTopo->tecRing(id) == 7) {
1154  meAdcTECWheel4zm_[5]->Fill((*iter).adc());
1155  meStripTECWheel4zm_[5]->Fill((*iter).strip());
1156  }
1157  }
1158  if (tTopo->tecWheel(id) == 5) {
1159  if (tTopo->tecRing(id) == 2) {
1160  meAdcTECWheel5zm_[0]->Fill((*iter).adc());
1161  meStripTECWheel5zm_[0]->Fill((*iter).strip());
1162  }
1163  if (tTopo->tecRing(id) == 3) {
1164  meAdcTECWheel5zm_[1]->Fill((*iter).adc());
1165  meStripTECWheel5zm_[1]->Fill((*iter).strip());
1166  }
1167  if (tTopo->tecRing(id) == 4) {
1168  meAdcTECWheel5zm_[2]->Fill((*iter).adc());
1169  meStripTECWheel5zm_[2]->Fill((*iter).strip());
1170  }
1171  if (tTopo->tecRing(id) == 5) {
1172  meAdcTECWheel5zm_[3]->Fill((*iter).adc());
1173  meStripTECWheel5zm_[3]->Fill((*iter).strip());
1174  }
1175  if (tTopo->tecRing(id) == 6) {
1176  meAdcTECWheel5zm_[4]->Fill((*iter).adc());
1177  meStripTECWheel5zm_[4]->Fill((*iter).strip());
1178  }
1179  if (tTopo->tecRing(id) == 7) {
1180  meAdcTECWheel5zm_[5]->Fill((*iter).adc());
1181  meStripTECWheel5zm_[5]->Fill((*iter).strip());
1182  }
1183  }
1184  if (tTopo->tecWheel(id) == 6) {
1185  if (tTopo->tecRing(id) == 2) {
1186  meAdcTECWheel6zm_[0]->Fill((*iter).adc());
1187  meStripTECWheel6zm_[0]->Fill((*iter).strip());
1188  }
1189  if (tTopo->tecRing(id) == 3) {
1190  meAdcTECWheel6zm_[1]->Fill((*iter).adc());
1191  meStripTECWheel6zm_[1]->Fill((*iter).strip());
1192  }
1193  if (tTopo->tecRing(id) == 4) {
1194  meAdcTECWheel6zm_[2]->Fill((*iter).adc());
1195  meStripTECWheel6zm_[2]->Fill((*iter).strip());
1196  }
1197  if (tTopo->tecRing(id) == 5) {
1198  meAdcTECWheel6zm_[3]->Fill((*iter).adc());
1199  meStripTECWheel6zm_[3]->Fill((*iter).strip());
1200  }
1201  if (tTopo->tecRing(id) == 6) {
1202  meAdcTECWheel6zm_[4]->Fill((*iter).adc());
1203  meStripTECWheel6zm_[4]->Fill((*iter).strip());
1204  }
1205  if (tTopo->tecRing(id) == 7) {
1206  meAdcTECWheel6zm_[5]->Fill((*iter).adc());
1207  meStripTECWheel6zm_[5]->Fill((*iter).strip());
1208  }
1209  }
1210  if (tTopo->tecWheel(id) == 7) {
1211  if (tTopo->tecRing(id) == 3) {
1212  meAdcTECWheel7zm_[0]->Fill((*iter).adc());
1213  meStripTECWheel7zm_[0]->Fill((*iter).strip());
1214  }
1215  if (tTopo->tecRing(id) == 4) {
1216  meAdcTECWheel7zm_[1]->Fill((*iter).adc());
1217  meStripTECWheel7zm_[1]->Fill((*iter).strip());
1218  }
1219  if (tTopo->tecRing(id) == 5) {
1220  meAdcTECWheel7zm_[2]->Fill((*iter).adc());
1221  meStripTECWheel7zm_[2]->Fill((*iter).strip());
1222  }
1223  if (tTopo->tecRing(id) == 6) {
1224  meAdcTECWheel7zm_[3]->Fill((*iter).adc());
1225  meStripTECWheel7zm_[3]->Fill((*iter).strip());
1226  }
1227  if (tTopo->tecRing(id) == 7) {
1228  meAdcTECWheel7zm_[4]->Fill((*iter).adc());
1229  meStripTECWheel7zm_[4]->Fill((*iter).strip());
1230  }
1231  }
1232  if (tTopo->tecWheel(id) == 8) {
1233  if (tTopo->tecRing(id) == 3) {
1234  meAdcTECWheel8zm_[0]->Fill((*iter).adc());
1235  meStripTECWheel8zm_[0]->Fill((*iter).strip());
1236  }
1237  if (tTopo->tecRing(id) == 4) {
1238  meAdcTECWheel8zm_[1]->Fill((*iter).adc());
1239  meStripTECWheel8zm_[1]->Fill((*iter).strip());
1240  }
1241  if (tTopo->tecRing(id) == 5) {
1242  meAdcTECWheel8zm_[2]->Fill((*iter).adc());
1243  meStripTECWheel8zm_[2]->Fill((*iter).strip());
1244  }
1245  if (tTopo->tecRing(id) == 6) {
1246  meAdcTECWheel8zm_[3]->Fill((*iter).adc());
1247  meStripTECWheel8zm_[3]->Fill((*iter).strip());
1248  }
1249  if (tTopo->tecRing(id) == 7) {
1250  meAdcTECWheel8zm_[4]->Fill((*iter).adc());
1251  meStripTECWheel8zm_[4]->Fill((*iter).strip());
1252  }
1253  }
1254  if (tTopo->tecWheel(id) == 9) {
1255  if (tTopo->tecRing(id) == 4) {
1256  meAdcTECWheel9zm_[0]->Fill((*iter).adc());
1257  meStripTECWheel9zm_[0]->Fill((*iter).strip());
1258  }
1259  if (tTopo->tecRing(id) == 5) {
1260  meAdcTECWheel9zm_[1]->Fill((*iter).adc());
1261  meStripTECWheel9zm_[1]->Fill((*iter).strip());
1262  }
1263  if (tTopo->tecRing(id) == 6) {
1264  meAdcTECWheel9zm_[2]->Fill((*iter).adc());
1265  meStripTECWheel9zm_[2]->Fill((*iter).strip());
1266  }
1267  if (tTopo->tecRing(id) == 7) {
1268  meAdcTECWheel9zm_[3]->Fill((*iter).adc());
1269  meStripTECWheel9zm_[3]->Fill((*iter).strip());
1270  }
1271  }
1272  } else {
1273  ++ndigiwheelteczp[tTopo->tecWheel(id) - 1];
1274  if (tTopo->tecWheel(id) == 1) {
1275  if (tTopo->tecRing(id) == 1) {
1276  meAdcTECWheel1zp_[0]->Fill((*iter).adc());
1277  meStripTECWheel1zp_[0]->Fill((*iter).strip());
1278  }
1279  if (tTopo->tecRing(id) == 2) {
1280  meAdcTECWheel1zp_[1]->Fill((*iter).adc());
1281  meStripTECWheel1zp_[1]->Fill((*iter).strip());
1282  }
1283  if (tTopo->tecRing(id) == 3) {
1284  meAdcTECWheel1zp_[2]->Fill((*iter).adc());
1285  meStripTECWheel1zp_[2]->Fill((*iter).strip());
1286  }
1287  if (tTopo->tecRing(id) == 4) {
1288  meAdcTECWheel1zp_[3]->Fill((*iter).adc());
1289  meStripTECWheel1zp_[3]->Fill((*iter).strip());
1290  }
1291  if (tTopo->tecRing(id) == 5) {
1292  meAdcTECWheel1zp_[4]->Fill((*iter).adc());
1293  meStripTECWheel1zp_[4]->Fill((*iter).strip());
1294  }
1295  if (tTopo->tecRing(id) == 6) {
1296  meAdcTECWheel1zp_[5]->Fill((*iter).adc());
1297  meStripTECWheel1zp_[5]->Fill((*iter).strip());
1298  }
1299  if (tTopo->tecRing(id) == 7) {
1300  meAdcTECWheel1zp_[6]->Fill((*iter).adc());
1301  meStripTECWheel1zp_[6]->Fill((*iter).strip());
1302  }
1303  }
1304  if (tTopo->tecWheel(id) == 2) {
1305  if (tTopo->tecRing(id) == 1) {
1306  meAdcTECWheel2zp_[0]->Fill((*iter).adc());
1307  meStripTECWheel2zp_[0]->Fill((*iter).strip());
1308  }
1309  if (tTopo->tecRing(id) == 2) {
1310  meAdcTECWheel2zp_[1]->Fill((*iter).adc());
1311  meStripTECWheel2zp_[1]->Fill((*iter).strip());
1312  }
1313  if (tTopo->tecRing(id) == 3) {
1314  meAdcTECWheel2zp_[2]->Fill((*iter).adc());
1315  meStripTECWheel2zp_[2]->Fill((*iter).strip());
1316  }
1317  if (tTopo->tecRing(id) == 4) {
1318  meAdcTECWheel2zp_[3]->Fill((*iter).adc());
1319  meStripTECWheel2zp_[3]->Fill((*iter).strip());
1320  }
1321  if (tTopo->tecRing(id) == 5) {
1322  meAdcTECWheel2zp_[4]->Fill((*iter).adc());
1323  meStripTECWheel2zp_[4]->Fill((*iter).strip());
1324  }
1325  if (tTopo->tecRing(id) == 6) {
1326  meAdcTECWheel2zp_[5]->Fill((*iter).adc());
1327  meStripTECWheel2zp_[5]->Fill((*iter).strip());
1328  }
1329  if (tTopo->tecRing(id) == 7) {
1330  meAdcTECWheel2zp_[6]->Fill((*iter).adc());
1331  meStripTECWheel2zp_[6]->Fill((*iter).strip());
1332  }
1333  }
1334  if (tTopo->tecWheel(id) == 3) {
1335  if (tTopo->tecRing(id) == 1) {
1336  meAdcTECWheel3zp_[0]->Fill((*iter).adc());
1337  meStripTECWheel3zp_[0]->Fill((*iter).strip());
1338  }
1339  if (tTopo->tecRing(id) == 2) {
1340  meAdcTECWheel3zp_[1]->Fill((*iter).adc());
1341  meStripTECWheel3zp_[1]->Fill((*iter).strip());
1342  }
1343  if (tTopo->tecRing(id) == 3) {
1344  meAdcTECWheel3zp_[2]->Fill((*iter).adc());
1345  meStripTECWheel3zp_[2]->Fill((*iter).strip());
1346  }
1347  if (tTopo->tecRing(id) == 4) {
1348  meAdcTECWheel3zp_[3]->Fill((*iter).adc());
1349  meStripTECWheel3zp_[3]->Fill((*iter).strip());
1350  }
1351  if (tTopo->tecRing(id) == 5) {
1352  meAdcTECWheel3zp_[4]->Fill((*iter).adc());
1353  meStripTECWheel3zp_[4]->Fill((*iter).strip());
1354  }
1355  if (tTopo->tecRing(id) == 6) {
1356  meAdcTECWheel3zp_[5]->Fill((*iter).adc());
1357  meStripTECWheel3zp_[5]->Fill((*iter).strip());
1358  }
1359  if (tTopo->tecRing(id) == 7) {
1360  meAdcTECWheel3zp_[6]->Fill((*iter).adc());
1361  meStripTECWheel3zp_[6]->Fill((*iter).strip());
1362  }
1363  }
1364  if (tTopo->tecWheel(id) == 4) {
1365  if (tTopo->tecRing(id) == 2) {
1366  meAdcTECWheel4zp_[0]->Fill((*iter).adc());
1367  meStripTECWheel4zp_[0]->Fill((*iter).strip());
1368  }
1369  if (tTopo->tecRing(id) == 3) {
1370  meAdcTECWheel4zp_[1]->Fill((*iter).adc());
1371  meStripTECWheel4zp_[1]->Fill((*iter).strip());
1372  }
1373  if (tTopo->tecRing(id) == 4) {
1374  meAdcTECWheel4zp_[2]->Fill((*iter).adc());
1375  meStripTECWheel4zp_[2]->Fill((*iter).strip());
1376  }
1377  if (tTopo->tecRing(id) == 5) {
1378  meAdcTECWheel4zp_[3]->Fill((*iter).adc());
1379  meStripTECWheel4zp_[3]->Fill((*iter).strip());
1380  }
1381  if (tTopo->tecRing(id) == 6) {
1382  meAdcTECWheel4zp_[4]->Fill((*iter).adc());
1383  meStripTECWheel4zp_[4]->Fill((*iter).strip());
1384  }
1385  if (tTopo->tecRing(id) == 7) {
1386  meAdcTECWheel4zp_[5]->Fill((*iter).adc());
1387  meStripTECWheel4zp_[5]->Fill((*iter).strip());
1388  }
1389  }
1390  if (tTopo->tecWheel(id) == 5) {
1391  if (tTopo->tecRing(id) == 2) {
1392  meAdcTECWheel5zp_[0]->Fill((*iter).adc());
1393  meStripTECWheel5zp_[0]->Fill((*iter).strip());
1394  }
1395  if (tTopo->tecRing(id) == 3) {
1396  meAdcTECWheel5zp_[1]->Fill((*iter).adc());
1397  meStripTECWheel5zp_[1]->Fill((*iter).strip());
1398  }
1399  if (tTopo->tecRing(id) == 4) {
1400  meAdcTECWheel5zp_[2]->Fill((*iter).adc());
1401  meStripTECWheel5zp_[2]->Fill((*iter).strip());
1402  }
1403  if (tTopo->tecRing(id) == 5) {
1404  meAdcTECWheel5zp_[3]->Fill((*iter).adc());
1405  meStripTECWheel5zp_[3]->Fill((*iter).strip());
1406  }
1407  if (tTopo->tecRing(id) == 6) {
1408  meAdcTECWheel5zp_[4]->Fill((*iter).adc());
1409  meStripTECWheel5zp_[4]->Fill((*iter).strip());
1410  }
1411  if (tTopo->tecRing(id) == 7) {
1412  meAdcTECWheel5zp_[5]->Fill((*iter).adc());
1413  meStripTECWheel5zp_[5]->Fill((*iter).strip());
1414  }
1415  }
1416  if (tTopo->tecWheel(id) == 6) {
1417  if (tTopo->tecRing(id) == 2) {
1418  meAdcTECWheel6zp_[0]->Fill((*iter).adc());
1419  meStripTECWheel6zp_[0]->Fill((*iter).strip());
1420  }
1421  if (tTopo->tecRing(id) == 3) {
1422  meAdcTECWheel6zp_[1]->Fill((*iter).adc());
1423  meStripTECWheel6zp_[1]->Fill((*iter).strip());
1424  }
1425  if (tTopo->tecRing(id) == 4) {
1426  meAdcTECWheel6zp_[2]->Fill((*iter).adc());
1427  meStripTECWheel6zp_[2]->Fill((*iter).strip());
1428  }
1429  if (tTopo->tecRing(id) == 5) {
1430  meAdcTECWheel6zp_[3]->Fill((*iter).adc());
1431  meStripTECWheel6zp_[3]->Fill((*iter).strip());
1432  }
1433  if (tTopo->tecRing(id) == 6) {
1434  meAdcTECWheel6zp_[4]->Fill((*iter).adc());
1435  meStripTECWheel6zp_[4]->Fill((*iter).strip());
1436  }
1437  if (tTopo->tecRing(id) == 7) {
1438  meAdcTECWheel6zp_[5]->Fill((*iter).adc());
1439  meStripTECWheel6zp_[5]->Fill((*iter).strip());
1440  }
1441  }
1442  if (tTopo->tecWheel(id) == 7) {
1443  if (tTopo->tecRing(id) == 3) {
1444  meAdcTECWheel7zp_[0]->Fill((*iter).adc());
1445  meStripTECWheel7zp_[0]->Fill((*iter).strip());
1446  }
1447  if (tTopo->tecRing(id) == 4) {
1448  meAdcTECWheel7zp_[1]->Fill((*iter).adc());
1449  meStripTECWheel7zp_[1]->Fill((*iter).strip());
1450  }
1451  if (tTopo->tecRing(id) == 5) {
1452  meAdcTECWheel7zp_[2]->Fill((*iter).adc());
1453  meStripTECWheel7zp_[2]->Fill((*iter).strip());
1454  }
1455  if (tTopo->tecRing(id) == 6) {
1456  meAdcTECWheel7zp_[3]->Fill((*iter).adc());
1457  meStripTECWheel7zp_[3]->Fill((*iter).strip());
1458  }
1459  if (tTopo->tecRing(id) == 7) {
1460  meAdcTECWheel7zp_[4]->Fill((*iter).adc());
1461  meStripTECWheel7zp_[4]->Fill((*iter).strip());
1462  }
1463  }
1464  if (tTopo->tecWheel(id) == 8) {
1465  if (tTopo->tecRing(id) == 3) {
1466  meAdcTECWheel8zp_[0]->Fill((*iter).adc());
1467  meStripTECWheel8zp_[0]->Fill((*iter).strip());
1468  }
1469  if (tTopo->tecRing(id) == 4) {
1470  meAdcTECWheel8zp_[1]->Fill((*iter).adc());
1471  meStripTECWheel8zp_[1]->Fill((*iter).strip());
1472  }
1473  if (tTopo->tecRing(id) == 5) {
1474  meAdcTECWheel8zp_[2]->Fill((*iter).adc());
1475  meStripTECWheel8zp_[2]->Fill((*iter).strip());
1476  }
1477  if (tTopo->tecRing(id) == 6) {
1478  meAdcTECWheel8zp_[3]->Fill((*iter).adc());
1479  meStripTECWheel8zp_[3]->Fill((*iter).strip());
1480  }
1481  if (tTopo->tecRing(id) == 7) {
1482  meAdcTECWheel8zp_[4]->Fill((*iter).adc());
1483  meStripTECWheel8zp_[4]->Fill((*iter).strip());
1484  }
1485  }
1486  if (tTopo->tecWheel(id) == 9) {
1487  if (tTopo->tecRing(id) == 4) {
1488  meAdcTECWheel9zp_[0]->Fill((*iter).adc());
1489  meStripTECWheel9zp_[0]->Fill((*iter).strip());
1490  }
1491  if (tTopo->tecRing(id) == 5) {
1492  meAdcTECWheel9zp_[1]->Fill((*iter).adc());
1493  meStripTECWheel9zp_[1]->Fill((*iter).strip());
1494  }
1495  if (tTopo->tecRing(id) == 6) {
1496  meAdcTECWheel9zp_[2]->Fill((*iter).adc());
1497  meStripTECWheel9zp_[2]->Fill((*iter).strip());
1498  }
1499  if (tTopo->tecRing(id) == 7) {
1500  meAdcTECWheel9zp_[3]->Fill((*iter).adc());
1501  meStripTECWheel9zp_[3]->Fill((*iter).strip());
1502  }
1503  }
1504  }
1505  }
1506  }
1507  }
1508 
1509  for (int i = 0; i < 4; i++) {
1510  meNDigiTIBLayerzm_[i]->Fill(ndigilayertibzm[i]);
1511  meNDigiTIBLayerzp_[i]->Fill(ndigilayertibzp[i]);
1512  }
1513 
1514  for (int i = 0; i < 6; i++) {
1515  meNDigiTOBLayerzm_[i]->Fill(ndigilayertobzm[i]);
1516  meNDigiTOBLayerzp_[i]->Fill(ndigilayertobzp[i]);
1517  }
1518 
1519  for (int i = 0; i < 3; i++) {
1520  meNDigiTIDWheelzm_[i]->Fill(ndigiwheeltidzm[i]);
1521  meNDigiTIDWheelzp_[i]->Fill(ndigiwheeltidzp[i]);
1522  }
1523 
1524  for (int i = 0; i < 9; i++) {
1525  meNDigiTECWheelzm_[i]->Fill(ndigiwheelteczm[i]);
1526  meNDigiTECWheelzp_[i]->Fill(ndigiwheelteczp[i]);
1527  }
1528 }
SiStripDigiValid::meAdcTIDWheel2zp_
MonitorElement * meAdcTIDWheel2zp_[3]
Definition: SiStripDigiValid.h:100
SiStripDigiValid::meAdcTOBLayer2zm_
MonitorElement * meAdcTOBLayer2zm_[6]
Definition: SiStripDigiValid.h:77
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
SiStripDigiValid::meAdcTECWheel3zm_
MonitorElement * meAdcTECWheel3zm_[7]
Definition: SiStripDigiValid.h:129
SiStripDigiValid::meStripTOBLayer4zm_
MonitorElement * meStripTOBLayer4zm_[6]
Definition: SiStripDigiValid.h:94
SiStripDigiValid::meAdcTIBLayer4Extzp_
MonitorElement * meAdcTIBLayer4Extzp_[3]
Definition: SiStripDigiValid.h:31
SiStripDigiValid::meAdcTIBLayer2Intzm_
MonitorElement * meAdcTIBLayer2Intzm_[3]
Definition: SiStripDigiValid.h:59
electrons_cff.bool
bool
Definition: electrons_cff.py:372
mps_fire.i
i
Definition: mps_fire.py:355
StripGeomDetUnit.h
MessageLogger.h
TrackerGeometry.h
SiStripDigiValid::meStripTIBLayer4Intzm_
MonitorElement * meStripTIBLayer4Intzm_[3]
Definition: SiStripDigiValid.h:66
SiStripDigiValid::meStripTECWheel7zp_
MonitorElement * meStripTECWheel7zp_[5]
Definition: SiStripDigiValid.h:144
SiStripDigiValid::meAdcTIBLayer2Intzp_
MonitorElement * meAdcTIBLayer2Intzp_[3]
Definition: SiStripDigiValid.h:39
SiStripDigiValid::meAdcTIBLayer3Intzp_
MonitorElement * meAdcTIBLayer3Intzp_[3]
Definition: SiStripDigiValid.h:40
ESHandle.h
SiStripDigiValid::meStripTIBLayer4Intzp_
MonitorElement * meStripTIBLayer4Intzp_[3]
Definition: SiStripDigiValid.h:46
edm::DetSetVector::end
iterator end()
Return the off-the-end iterator.
Definition: DetSetVector.h:325
SiStripDigiValid::meStripTIBLayer1Extzp_
MonitorElement * meStripTIBLayer1Extzp_[3]
Definition: SiStripDigiValid.h:33
SiStripDigiValid::meStripTOBLayer6zm_
MonitorElement * meStripTOBLayer6zm_[6]
Definition: SiStripDigiValid.h:96
edm::Run
Definition: Run.h:45
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.digiProducer
digiProducer
Definition: EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:43
SiStripDigiValid::meAdcTECWheel6zp_
MonitorElement * meAdcTECWheel6zp_[6]
Definition: SiStripDigiValid.h:122
SiStripDigiValid::meNDigiTECWheelzm_
MonitorElement * meNDigiTECWheelzm_[9]
Definition: SiStripDigiValid.h:161
SiStripDigiValid::meAdcTIBLayer3Extzp_
MonitorElement * meAdcTIBLayer3Extzp_[3]
Definition: SiStripDigiValid.h:30
SiStripDigiValid::meStripTECWheel2zp_
MonitorElement * meStripTECWheel2zp_[7]
Definition: SiStripDigiValid.h:139
edm
HLT enums.
Definition: AlignableModifier.h:19
SiStripDigiValid::meStripTIBLayer3Intzp_
MonitorElement * meStripTIBLayer3Intzp_[3]
Definition: SiStripDigiValid.h:45
SiStripDigiValid::meAdcTECWheel9zp_
MonitorElement * meAdcTECWheel9zp_[4]
Definition: SiStripDigiValid.h:125
TrackerTopology
Definition: TrackerTopology.h:16
SiStripDigiValid::meStripTOBLayer2zm_
MonitorElement * meStripTOBLayer2zm_[6]
Definition: SiStripDigiValid.h:92
SiStripDigiValid::meAdcTECWheel5zm_
MonitorElement * meAdcTECWheel5zm_[6]
Definition: SiStripDigiValid.h:131
SiStripDigiValid::meAdcTECWheel8zm_
MonitorElement * meAdcTECWheel8zm_[5]
Definition: SiStripDigiValid.h:134
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
SiStripDigiValid::meAdcTECWheel7zp_
MonitorElement * meAdcTECWheel7zp_[5]
Definition: SiStripDigiValid.h:123
timingPdfMaker.histo
histo
Definition: timingPdfMaker.py:279
SiStripDigiValid::meAdcTIBLayer2Extzm_
MonitorElement * meAdcTIBLayer2Extzm_[3]
Definition: SiStripDigiValid.h:49
edm::DetSetVector::begin
iterator begin()
Return an iterator to the first DetSet.
Definition: DetSetVector.h:314
SiStripDigiValid::meStripTIDWheel1zp_
MonitorElement * meStripTIDWheel1zp_[3]
Definition: SiStripDigiValid.h:108
SiStripDigiValid::meAdcTOBLayer5zp_
MonitorElement * meAdcTOBLayer5zp_[6]
Definition: SiStripDigiValid.h:73
DQMStore.h
SiStripDigiValid::meStripTOBLayer5zm_
MonitorElement * meStripTOBLayer5zm_[6]
Definition: SiStripDigiValid.h:95
SiStripDigiValid::meNDigiTOBLayerzm_
MonitorElement * meNDigiTOBLayerzm_[6]
Definition: SiStripDigiValid.h:159
SiStripDigiValid::meStripTECWheel5zp_
MonitorElement * meStripTECWheel5zp_[6]
Definition: SiStripDigiValid.h:142
SiStripDigiValid::meStripTIBLayer2Extzp_
MonitorElement * meStripTIBLayer2Extzp_[3]
Definition: SiStripDigiValid.h:34
SiStripDigiValid::meAdcTIBLayer4Extzm_
MonitorElement * meAdcTIBLayer4Extzm_[3]
Definition: SiStripDigiValid.h:51
SiStripDigiValid::meAdcTIBLayer1Extzp_
MonitorElement * meAdcTIBLayer1Extzp_[3]
Definition: SiStripDigiValid.h:28
SiStripDigiValid.h
SiStripDigiValid::meAdcTIBLayer3Extzm_
MonitorElement * meAdcTIBLayer3Extzm_[3]
Definition: SiStripDigiValid.h:50
SiStripDigiValid::edmDetSetVector_SiStripDigi_Token_
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > edmDetSetVector_SiStripDigi_Token_
Definition: SiStripDigiValid.h:172
SiStripDigiValid::meAdcTECWheel5zp_
MonitorElement * meAdcTECWheel5zp_[6]
Definition: SiStripDigiValid.h:121
edm::Handle
Definition: AssociativeIterator.h:50
SiStripDigiValid::meStripTECWheel1zp_
MonitorElement * meStripTECWheel1zp_[7]
Definition: SiStripDigiValid.h:138
SiStripDigiValid::meNDigiTIBLayerzp_
MonitorElement * meNDigiTIBLayerzp_[4]
Definition: SiStripDigiValid.h:163
SiStripDigiValid::meAdcTOBLayer4zm_
MonitorElement * meAdcTOBLayer4zm_[6]
Definition: SiStripDigiValid.h:79
RectangularStripTopology.h
TrackerTopology::tidRing
unsigned int tidRing(const DetId &id) const
Definition: TrackerTopology.h:218
SiStripDigiValid::meStripTECWheel3zm_
MonitorElement * meStripTECWheel3zm_[7]
Definition: SiStripDigiValid.h:150
SiStripDigiValid::meStripTECWheel8zm_
MonitorElement * meStripTECWheel8zm_[5]
Definition: SiStripDigiValid.h:155
end
#define end
Definition: vmac.h:39
TrackerTopology::tidWheel
unsigned int tidWheel(const DetId &id) const
Definition: TrackerTopology.h:201
SiStripDigiValid::meStripTIBLayer1Intzm_
MonitorElement * meStripTIBLayer1Intzm_[3]
Definition: SiStripDigiValid.h:63
SiStripDigiValid::meAdcTIBLayer4Intzp_
MonitorElement * meAdcTIBLayer4Intzp_[3]
Definition: SiStripDigiValid.h:41
SiStripDigiValid::meStripTIBLayer2Intzp_
MonitorElement * meStripTIBLayer2Intzp_[3]
Definition: SiStripDigiValid.h:44
SiStripDigiValid::meNDigiTECWheelzp_
MonitorElement * meNDigiTECWheelzp_[9]
Definition: SiStripDigiValid.h:166
DetId
Definition: DetId.h:17
TrackerTopology::tobRodInfo
std::vector< unsigned int > tobRodInfo(const DetId &id) const
Definition: TrackerTopology.h:226
SiStripDigiValid::meNDigiTIDWheelzm_
MonitorElement * meNDigiTIDWheelzm_[3]
Definition: SiStripDigiValid.h:160
MakerMacros.h
TrackerTopology.h
SiStripDigiValid::meStripTECWheel8zp_
MonitorElement * meStripTECWheel8zp_[5]
Definition: SiStripDigiValid.h:145
TrackerTopology::tibStringInfo
std::vector< unsigned int > tibStringInfo(const DetId &id) const
Definition: TrackerTopology.h:421
SiStripDigiValid::meAdcTOBLayer3zp_
MonitorElement * meAdcTOBLayer3zp_[6]
Definition: SiStripDigiValid.h:71
SiStripDigiValid::meAdcTIBLayer3Intzm_
MonitorElement * meAdcTIBLayer3Intzm_[3]
Definition: SiStripDigiValid.h:60
TrackerTopologyRcd.h
SiStripDigiValid::meNDigiTIBLayerzm_
MonitorElement * meNDigiTIBLayerzm_[4]
Definition: SiStripDigiValid.h:158
SiStripDigiValid::meStripTOBLayer5zp_
MonitorElement * meStripTOBLayer5zp_[6]
Definition: SiStripDigiValid.h:88
Service.h
SiStripDigiValid::meAdcTIBLayer1Intzp_
MonitorElement * meAdcTIBLayer1Intzp_[3]
Definition: SiStripDigiValid.h:38
SiStripDigiValid::meAdcTOBLayer5zm_
MonitorElement * meAdcTOBLayer5zm_[6]
Definition: SiStripDigiValid.h:80
SiStripDigiValid::meStripTOBLayer6zp_
MonitorElement * meStripTOBLayer6zp_[6]
Definition: SiStripDigiValid.h:89
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
SiStripDigiValid::meAdcTIBLayer4Intzm_
MonitorElement * meAdcTIBLayer4Intzm_[3]
Definition: SiStripDigiValid.h:61
SiStripDigi.h
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
SiStripDigiValid::meAdcTECWheel8zp_
MonitorElement * meAdcTECWheel8zp_[5]
Definition: SiStripDigiValid.h:124
SiStripDigiValid::meAdcTECWheel1zm_
MonitorElement * meAdcTECWheel1zm_[7]
Definition: SiStripDigiValid.h:127
SiStripDigiValid::meAdcTIDWheel1zp_
MonitorElement * meAdcTIDWheel1zp_[3]
Definition: SiStripDigiValid.h:99
SiStripDigiValid::~SiStripDigiValid
~SiStripDigiValid() override
Definition: SiStripDigiValid.cc:30
edm::ESHandle< TrackerTopology >
SiStripDigiValid::meNDigiTOBLayerzp_
MonitorElement * meNDigiTOBLayerzp_[6]
Definition: SiStripDigiValid.h:164
SiStripDigiValid::meStripTECWheel2zm_
MonitorElement * meStripTECWheel2zm_[7]
Definition: SiStripDigiValid.h:149
SiStripDigiValid::meStripTIDWheel2zm_
MonitorElement * meStripTIDWheel2zm_[3]
Definition: SiStripDigiValid.h:113
StripSubdetector::TIB
static constexpr auto TIB
Definition: StripSubdetector.h:16
dbe_
dqm::legacy::DQMStore * dbe_
Definition: PFJetBenchmarkAnalyzer.cc:77
SiStripDigiValid::meStripTIBLayer2Intzm_
MonitorElement * meStripTIBLayer2Intzm_[3]
Definition: SiStripDigiValid.h:64
SiStripDigiValid::meStripTIBLayer1Extzm_
MonitorElement * meStripTIBLayer1Extzm_[3]
Definition: SiStripDigiValid.h:53
SiStripDigiValid::meStripTOBLayer2zp_
MonitorElement * meStripTOBLayer2zp_[6]
Definition: SiStripDigiValid.h:85
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripDigiValid::meAdcTOBLayer1zm_
MonitorElement * meAdcTOBLayer1zm_[6]
Definition: SiStripDigiValid.h:76
SiStripDigiValid::meStripTIBLayer1Intzp_
MonitorElement * meStripTIBLayer1Intzp_[3]
Definition: SiStripDigiValid.h:43
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
SiStripDigiValid::meStripTIBLayer3Intzm_
MonitorElement * meStripTIBLayer3Intzm_[3]
Definition: SiStripDigiValid.h:65
SiStripDigiValid::meAdcTECWheel9zm_
MonitorElement * meAdcTECWheel9zm_[4]
Definition: SiStripDigiValid.h:135
TrackerDigiGeometryRecord.h
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripDigiValid::meStripTECWheel5zm_
MonitorElement * meStripTECWheel5zm_[6]
Definition: SiStripDigiValid.h:152
Event.h
SiStripDigiValid::meAdcTOBLayer6zp_
MonitorElement * meAdcTOBLayer6zp_[6]
Definition: SiStripDigiValid.h:74
edm::DetSetVector::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSetVector.h:102
SiStripDigiValid::meStripTIDWheel1zm_
MonitorElement * meStripTIDWheel1zm_[3]
Definition: SiStripDigiValid.h:112
TrackerTopology::tibModule
unsigned int tibModule(const DetId &id) const
Definition: TrackerTopology.h:172
TrackerTopology::tidSide
unsigned int tidSide(const DetId &id) const
Definition: TrackerTopology.h:190
edm::Service
Definition: Service.h:30
SiStripDigiValid::meStripTIDWheel2zp_
MonitorElement * meStripTIDWheel2zp_[3]
Definition: SiStripDigiValid.h:109
SiStripDigiValid::meStripTECWheel6zm_
MonitorElement * meStripTECWheel6zm_[6]
Definition: SiStripDigiValid.h:153
SiStripDigiValid::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: SiStripDigiValid.cc:326
TrackerTopology::tecRing
unsigned int tecRing(const DetId &id) const
ring id
Definition: TrackerTopology.h:217
SiStripDigiValid::meStripTIDWheel3zm_
MonitorElement * meStripTIDWheel3zm_[3]
Definition: SiStripDigiValid.h:114
SiStripDigiValid::meStripTECWheel4zm_
MonitorElement * meStripTECWheel4zm_[6]
Definition: SiStripDigiValid.h:151
SiStripDigiValid::meStripTIBLayer2Extzm_
MonitorElement * meStripTIBLayer2Extzm_[3]
Definition: SiStripDigiValid.h:54
SiStripDigiValid::meAdcTIBLayer2Extzp_
MonitorElement * meAdcTIBLayer2Extzp_[3]
Definition: SiStripDigiValid.h:29
SiStripDigiValid::meAdcTECWheel6zm_
MonitorElement * meAdcTECWheel6zm_[6]
Definition: SiStripDigiValid.h:132
SiStripDigiValid::meAdcTECWheel2zp_
MonitorElement * meAdcTECWheel2zp_[7]
Definition: SiStripDigiValid.h:118
edm::EventSetup
Definition: EventSetup.h:57
DetSetVector.h
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
get
#define get
SiStripDigiValid::meAdcTIDWheel3zm_
MonitorElement * meAdcTIDWheel3zm_[3]
Definition: SiStripDigiValid.h:105
SiStripDigiValid::meStripTIBLayer4Extzm_
MonitorElement * meStripTIBLayer4Extzm_[3]
Definition: SiStripDigiValid.h:56
SiStripDigiValid::meAdcTIDWheel2zm_
MonitorElement * meAdcTIDWheel2zm_[3]
Definition: SiStripDigiValid.h:104
SiStripDigiValid::meAdcTIBLayer1Intzm_
MonitorElement * meAdcTIBLayer1Intzm_[3]
Definition: SiStripDigiValid.h:58
SiStripDigiValid::meStripTIBLayer3Extzp_
MonitorElement * meStripTIBLayer3Extzp_[3]
Definition: SiStripDigiValid.h:35
SiStripDigiValid::meStripTOBLayer3zp_
MonitorElement * meStripTOBLayer3zp_[6]
Definition: SiStripDigiValid.h:86
SiStripDigiValid::meStripTIDWheel3zp_
MonitorElement * meStripTIDWheel3zp_[3]
Definition: SiStripDigiValid.h:110
TrackerTopology::tobLayer
unsigned int tobLayer(const DetId &id) const
Definition: TrackerTopology.h:147
SiStripDigiValid::meAdcTIDWheel3zp_
MonitorElement * meAdcTIDWheel3zp_[3]
Definition: SiStripDigiValid.h:101
SiStripDigiValid::meAdcTECWheel7zm_
MonitorElement * meAdcTECWheel7zm_[5]
Definition: SiStripDigiValid.h:133
SiStripDigiValid::SiStripDigiValid
SiStripDigiValid(const edm::ParameterSet &ps)
Definition: SiStripDigiValid.cc:23
std
Definition: JetResolutionObject.h:76
writedatasetfile.run
run
Definition: writedatasetfile.py:27
SiStripDigiValid::meNDigiTIDWheelzp_
MonitorElement * meNDigiTIDWheelzp_[3]
Definition: SiStripDigiValid.h:165
TrapezoidalStripTopology.h
StripSubdetector::TEC
static constexpr auto TEC
Definition: StripSubdetector.h:19
TrackerTopology::tobModule
unsigned int tobModule(const DetId &id) const
Definition: TrackerTopology.h:166
SiStripDigiValid::meAdcTOBLayer1zp_
MonitorElement * meAdcTOBLayer1zp_[6]
Definition: SiStripDigiValid.h:69
SiStripDigiValid::bookHistograms
void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &es) override
Definition: SiStripDigiValid.cc:32
SiStripDigiValid::meAdcTOBLayer4zp_
MonitorElement * meAdcTOBLayer4zp_[6]
Definition: SiStripDigiValid.h:72
SiStripDigiValid::meStripTECWheel9zm_
MonitorElement * meStripTECWheel9zm_[4]
Definition: SiStripDigiValid.h:156
SiStripDigiValid::meAdcTOBLayer3zm_
MonitorElement * meAdcTOBLayer3zm_[6]
Definition: SiStripDigiValid.h:78
LocalPoint.h
SiStripDigiValid::meStripTOBLayer1zp_
MonitorElement * meStripTOBLayer1zp_[6]
Definition: SiStripDigiValid.h:84
SiStripDigiValid::meAdcTECWheel4zp_
MonitorElement * meAdcTECWheel4zp_[6]
Definition: SiStripDigiValid.h:120
SiStripDigiValid::meStripTOBLayer4zp_
MonitorElement * meStripTOBLayer4zp_[6]
Definition: SiStripDigiValid.h:87
StripSubdetector::TOB
static constexpr auto TOB
Definition: StripSubdetector.h:18
SiStripDigiValid::meAdcTIBLayer1Extzm_
MonitorElement * meAdcTIBLayer1Extzm_[3]
Definition: SiStripDigiValid.h:48
SiStripDigiValid::meAdcTOBLayer6zm_
MonitorElement * meAdcTOBLayer6zm_[6]
Definition: SiStripDigiValid.h:81
EventSetup.h
SiStripDigiValid::dbe_
DQMStore * dbe_
Definition: SiStripDigiValid.h:169
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiStripDigiValid::meStripTECWheel7zm_
MonitorElement * meStripTECWheel7zm_[5]
Definition: SiStripDigiValid.h:154
JetMETHLTOfflineSource_cfi.runStandalone
runStandalone
Definition: JetMETHLTOfflineSource_cfi.py:15
SiStripDigiValid::meAdcTIDWheel1zm_
MonitorElement * meAdcTIDWheel1zm_[3]
Definition: SiStripDigiValid.h:103
SiStripDigi
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
SiStripDigiValid::meAdcTECWheel3zp_
MonitorElement * meAdcTECWheel3zp_[7]
Definition: SiStripDigiValid.h:119
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
SiStripDigiValid::meStripTECWheel1zm_
MonitorElement * meStripTECWheel1zm_[7]
Definition: SiStripDigiValid.h:148
ParameterSet.h
SiStripDigiValid::meStripTECWheel3zp_
MonitorElement * meStripTECWheel3zp_[7]
Definition: SiStripDigiValid.h:140
SiStripDigiValid::meAdcTECWheel1zp_
MonitorElement * meAdcTECWheel1zp_[7]
Definition: SiStripDigiValid.h:117
edm::Event
Definition: Event.h:73
SiStripDigiValid::meStripTOBLayer3zm_
MonitorElement * meStripTOBLayer3zm_[6]
Definition: SiStripDigiValid.h:93
SiStripDigiValid::meStripTIBLayer3Extzm_
MonitorElement * meStripTIBLayer3Extzm_[3]
Definition: SiStripDigiValid.h:55
TrackerTopology::tecWheel
unsigned int tecWheel(const DetId &id) const
Definition: TrackerTopology.h:198
SiStripDigiValid::meStripTECWheel6zp_
MonitorElement * meStripTECWheel6zp_[6]
Definition: SiStripDigiValid.h:143
SiStripDigiValid::meStripTIBLayer4Extzp_
MonitorElement * meStripTIBLayer4Extzp_[3]
Definition: SiStripDigiValid.h:36
GlobalPoint.h
SiStripDigiValid::meAdcTOBLayer2zp_
MonitorElement * meAdcTOBLayer2zp_[6]
Definition: SiStripDigiValid.h:70
StripSubdetector.h
SiStripDigiValid::meStripTECWheel9zp_
MonitorElement * meStripTECWheel9zp_[4]
Definition: SiStripDigiValid.h:146
SiStripDigiValid::meAdcTECWheel2zm_
MonitorElement * meAdcTECWheel2zm_[7]
Definition: SiStripDigiValid.h:128
begin
#define begin
Definition: vmac.h:32
SiStripDigiValid::meStripTOBLayer1zm_
MonitorElement * meStripTOBLayer1zm_[6]
Definition: SiStripDigiValid.h:91
StripSubdetector::TID
static constexpr auto TID
Definition: StripSubdetector.h:17
SiStripDigiValid::meStripTECWheel4zp_
MonitorElement * meStripTECWheel4zp_[6]
Definition: SiStripDigiValid.h:141
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
SiStripDigiValid::meAdcTECWheel4zm_
MonitorElement * meAdcTECWheel4zm_[6]
Definition: SiStripDigiValid.h:130
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
TrackerTopology::tibLayer
unsigned int tibLayer(const DetId &id) const
Definition: TrackerTopology.h:150
edm::DetSet::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSet.h:31
TrackerTopology::tecSide
unsigned int tecSide(const DetId &id) const
Definition: TrackerTopology.h:184