CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PValidationFormats.cc
Go to the documentation of this file.
1 
10 
12 // PGlobalSimHit
14 
16  nRawGenPart = n;
17  return;
18 }
19 
20 void PGlobalSimHit::putG4Vtx(const std::vector<float>& x, const std::vector<float>& y, const std::vector<float>& z) {
21  nG4Vtx = x.size();
22  G4Vtx.resize(nG4Vtx);
23  for (int i = 0; i < nG4Vtx; ++i) {
24  G4Vtx[i].x = x[i];
25  G4Vtx[i].y = y[i];
26  G4Vtx[i].z = z[i];
27  }
28 
29  return;
30 }
31 
32 void PGlobalSimHit::putG4Trk(const std::vector<float>& pt, const std::vector<float>& e) {
33  nG4Trk = pt.size();
34  G4Trk.resize(nG4Trk);
35  for (int i = 0; i < nG4Trk; ++i) {
36  G4Trk[i].pt = pt[i];
37  G4Trk[i].e = e[i];
38  }
39 
40  return;
41 }
42 
43 void PGlobalSimHit::putECalHits(const std::vector<float>& e,
44  const std::vector<float>& tof,
45  const std::vector<float>& phi,
46  const std::vector<float>& eta) {
47  nECalHits = e.size();
48  ECalHits.resize(nECalHits);
49  for (int i = 0; i < nECalHits; ++i) {
50  ECalHits[i].e = e[i];
51  ECalHits[i].tof = tof[i];
52  ECalHits[i].phi = phi[i];
53  ECalHits[i].eta = eta[i];
54  }
55 
56  return;
57 }
58 
59 void PGlobalSimHit::putPreShHits(const std::vector<float>& e,
60  const std::vector<float>& tof,
61  const std::vector<float>& phi,
62  const std::vector<float>& eta) {
63  nPreShHits = e.size();
64  PreShHits.resize(nPreShHits);
65  for (int i = 0; i < nPreShHits; ++i) {
66  PreShHits[i].e = e[i];
67  PreShHits[i].tof = tof[i];
68  PreShHits[i].phi = phi[i];
69  PreShHits[i].eta = eta[i];
70  }
71 
72  return;
73 }
74 
75 void PGlobalSimHit::putHCalHits(const std::vector<float>& e,
76  const std::vector<float>& tof,
77  const std::vector<float>& phi,
78  const std::vector<float>& eta) {
79  nHCalHits = e.size();
80  HCalHits.resize(nHCalHits);
81  for (int i = 0; i < nHCalHits; ++i) {
82  HCalHits[i].e = e[i];
83  HCalHits[i].tof = tof[i];
84  HCalHits[i].phi = phi[i];
85  HCalHits[i].eta = eta[i];
86  }
87 
88  return;
89 }
90 
91 void PGlobalSimHit::putPxlFwdHits(const std::vector<float>& tof,
92  const std::vector<float>& z,
93  const std::vector<float>& phi,
94  const std::vector<float>& eta) {
95  nPxlFwdHits = tof.size();
96  PxlFwdHits.resize(nPxlFwdHits);
97  for (int i = 0; i < nPxlFwdHits; ++i) {
98  PxlFwdHits[i].tof = tof[i];
99  PxlFwdHits[i].z = z[i];
100  PxlFwdHits[i].phi = phi[i];
101  PxlFwdHits[i].eta = eta[i];
102  }
103 
104  return;
105 }
106 
107 void PGlobalSimHit::putPxlBrlHits(const std::vector<float>& tof,
108  const std::vector<float>& r,
109  const std::vector<float>& phi,
110  const std::vector<float>& eta) {
111  nPxlBrlHits = tof.size();
112  PxlBrlHits.resize(nPxlBrlHits);
113  for (int i = 0; i < nPxlBrlHits; ++i) {
114  PxlBrlHits[i].tof = tof[i];
115  PxlBrlHits[i].r = r[i];
116  PxlBrlHits[i].phi = phi[i];
117  PxlBrlHits[i].eta = eta[i];
118  }
119 
120  return;
121 }
122 
123 void PGlobalSimHit::putSiFwdHits(const std::vector<float>& tof,
124  const std::vector<float>& z,
125  const std::vector<float>& phi,
126  const std::vector<float>& eta) {
127  nSiFwdHits = tof.size();
128  SiFwdHits.resize(nSiFwdHits);
129  for (int i = 0; i < nSiFwdHits; ++i) {
130  SiFwdHits[i].tof = tof[i];
131  SiFwdHits[i].z = z[i];
132  SiFwdHits[i].phi = phi[i];
133  SiFwdHits[i].eta = eta[i];
134  }
135 
136  return;
137 }
138 
139 void PGlobalSimHit::putSiBrlHits(const std::vector<float>& tof,
140  const std::vector<float>& r,
141  const std::vector<float>& phi,
142  const std::vector<float>& eta) {
143  nSiBrlHits = tof.size();
144  SiBrlHits.resize(nSiBrlHits);
145  for (int i = 0; i < nSiBrlHits; ++i) {
146  SiBrlHits[i].tof = tof[i];
147  SiBrlHits[i].r = r[i];
148  SiBrlHits[i].phi = phi[i];
149  SiBrlHits[i].eta = eta[i];
150  }
151 
152  return;
153 }
154 
155 void PGlobalSimHit::putMuonCscHits(const std::vector<float>& tof,
156  const std::vector<float>& z,
157  const std::vector<float>& phi,
158  const std::vector<float>& eta) {
159  nMuonCscHits = tof.size();
160  MuonCscHits.resize(nMuonCscHits);
161  for (int i = 0; i < nMuonCscHits; ++i) {
162  MuonCscHits[i].tof = tof[i];
163  MuonCscHits[i].z = z[i];
164  MuonCscHits[i].phi = phi[i];
165  MuonCscHits[i].eta = eta[i];
166  }
167 
168  return;
169 }
170 
171 void PGlobalSimHit::putMuonDtHits(const std::vector<float>& tof,
172  const std::vector<float>& r,
173  const std::vector<float>& phi,
174  const std::vector<float>& eta) {
175  nMuonDtHits = tof.size();
176  MuonDtHits.resize(nMuonDtHits);
177  for (int i = 0; i < nMuonDtHits; ++i) {
178  MuonDtHits[i].tof = tof[i];
179  MuonDtHits[i].r = r[i];
180  MuonDtHits[i].phi = phi[i];
181  MuonDtHits[i].eta = eta[i];
182  }
183 
184  return;
185 }
186 
187 void PGlobalSimHit::putMuonRpcFwdHits(const std::vector<float>& tof,
188  const std::vector<float>& z,
189  const std::vector<float>& phi,
190  const std::vector<float>& eta) {
191  nMuonRpcFwdHits = tof.size();
193  for (int i = 0; i < nMuonRpcFwdHits; ++i) {
194  MuonRpcFwdHits[i].tof = tof[i];
195  MuonRpcFwdHits[i].z = z[i];
196  MuonRpcFwdHits[i].phi = phi[i];
197  MuonRpcFwdHits[i].eta = eta[i];
198  }
199 
200  return;
201 }
202 
203 void PGlobalSimHit::putMuonRpcBrlHits(const std::vector<float>& tof,
204  const std::vector<float>& r,
205  const std::vector<float>& phi,
206  const std::vector<float>& eta) {
207  nMuonRpcBrlHits = tof.size();
209  for (int i = 0; i < nMuonRpcBrlHits; ++i) {
210  MuonRpcBrlHits[i].tof = tof[i];
211  MuonRpcBrlHits[i].r = r[i];
212  MuonRpcBrlHits[i].phi = phi[i];
213  MuonRpcBrlHits[i].eta = eta[i];
214  }
215 
216  return;
217 }
218 
220 // PGlobalDigi
222 
223 void PGlobalDigi::putEBCalDigis(const std::vector<int>& maxpos,
224  const std::vector<double>& aee,
225  const std::vector<float>& she) {
226  nEBCalDigis = maxpos.size();
227  EBCalDigis.resize(nEBCalDigis);
228  for (int i = 0; i < nEBCalDigis; ++i) {
229  EBCalDigis[i].maxPos = maxpos[i];
230  EBCalDigis[i].AEE = aee[i];
231  EBCalDigis[i].SHE = she[i];
232  }
233 
234  return;
235 }
236 
237 void PGlobalDigi::putEECalDigis(const std::vector<int>& maxpos,
238  const std::vector<double>& aee,
239  const std::vector<float>& she) {
240  nEECalDigis = maxpos.size();
241  EECalDigis.resize(nEECalDigis);
242  for (int i = 0; i < nEECalDigis; ++i) {
243  EECalDigis[i].maxPos = maxpos[i];
244  EECalDigis[i].AEE = aee[i];
245  EECalDigis[i].SHE = she[i];
246  }
247 
248  return;
249 }
250 
251 void PGlobalDigi::putESCalDigis(const std::vector<float>& adc0,
252  const std::vector<float>& adc1,
253  const std::vector<float>& adc2,
254  const std::vector<float>& she) {
255  nESCalDigis = adc0.size();
256  ESCalDigis.resize(nESCalDigis);
257  for (int i = 0; i < nESCalDigis; ++i) {
258  ESCalDigis[i].ADC0 = adc0[i];
259  ESCalDigis[i].ADC1 = adc1[i];
260  ESCalDigis[i].ADC2 = adc2[i];
261  ESCalDigis[i].SHE = she[i];
262  }
263 
264  return;
265 }
266 
267 void PGlobalDigi::putHBCalDigis(const std::vector<float>& aee, const std::vector<float>& she) {
268  nHBCalDigis = aee.size();
269  HBCalDigis.resize(nHBCalDigis);
270  for (int i = 0; i < nHBCalDigis; ++i) {
271  HBCalDigis[i].AEE = aee[i];
272  HBCalDigis[i].SHE = she[i];
273  }
274 
275  return;
276 }
277 
278 void PGlobalDigi::putHECalDigis(const std::vector<float>& aee, const std::vector<float>& she) {
279  nHECalDigis = aee.size();
280  HECalDigis.resize(nHECalDigis);
281  for (int i = 0; i < nHECalDigis; ++i) {
282  HECalDigis[i].AEE = aee[i];
283  HECalDigis[i].SHE = she[i];
284  }
285 
286  return;
287 }
288 
289 void PGlobalDigi::putHOCalDigis(const std::vector<float>& aee, const std::vector<float>& she) {
290  nHOCalDigis = aee.size();
291  HOCalDigis.resize(nHOCalDigis);
292  for (int i = 0; i < nHOCalDigis; ++i) {
293  HOCalDigis[i].AEE = aee[i];
294  HOCalDigis[i].SHE = she[i];
295  }
296 
297  return;
298 }
299 
300 void PGlobalDigi::putHFCalDigis(const std::vector<float>& aee, const std::vector<float>& she) {
301  nHFCalDigis = aee.size();
302  HFCalDigis.resize(nHFCalDigis);
303  for (int i = 0; i < nHFCalDigis; ++i) {
304  HFCalDigis[i].AEE = aee[i];
305  HFCalDigis[i].SHE = she[i];
306  }
307 
308  return;
309 }
310 
311 void PGlobalDigi::putTIBL1Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
312  nTIBL1Digis = adc.size();
313  TIBL1Digis.resize(nTIBL1Digis);
314  for (int i = 0; i < nTIBL1Digis; ++i) {
315  TIBL1Digis[i].ADC = adc[i];
316  TIBL1Digis[i].STRIP = strip[i];
317  }
318 
319  return;
320 }
321 
322 void PGlobalDigi::putTIBL2Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
323  nTIBL2Digis = adc.size();
324  TIBL2Digis.resize(nTIBL2Digis);
325  for (int i = 0; i < nTIBL2Digis; ++i) {
326  TIBL2Digis[i].ADC = adc[i];
327  TIBL2Digis[i].STRIP = strip[i];
328  }
329 
330  return;
331 }
332 
333 void PGlobalDigi::putTIBL3Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
334  nTIBL3Digis = adc.size();
335  TIBL3Digis.resize(nTIBL3Digis);
336  for (int i = 0; i < nTIBL3Digis; ++i) {
337  TIBL3Digis[i].ADC = adc[i];
338  TIBL3Digis[i].STRIP = strip[i];
339  }
340 
341  return;
342 }
343 
344 void PGlobalDigi::putTIBL4Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
345  nTIBL4Digis = adc.size();
346  TIBL4Digis.resize(nTIBL4Digis);
347  for (int i = 0; i < nTIBL4Digis; ++i) {
348  TIBL4Digis[i].ADC = adc[i];
349  TIBL4Digis[i].STRIP = strip[i];
350  }
351 
352  return;
353 }
354 
355 void PGlobalDigi::putTOBL1Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
356  nTOBL1Digis = adc.size();
357  TOBL1Digis.resize(nTOBL1Digis);
358  for (int i = 0; i < nTOBL1Digis; ++i) {
359  TOBL1Digis[i].ADC = adc[i];
360  TOBL1Digis[i].STRIP = strip[i];
361  }
362 
363  return;
364 }
365 
366 void PGlobalDigi::putTOBL2Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
367  nTOBL2Digis = adc.size();
368  TOBL2Digis.resize(nTOBL2Digis);
369  for (int i = 0; i < nTOBL2Digis; ++i) {
370  TOBL2Digis[i].ADC = adc[i];
371  TOBL2Digis[i].STRIP = strip[i];
372  }
373 
374  return;
375 }
376 
377 void PGlobalDigi::putTOBL3Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
378  nTOBL3Digis = adc.size();
379  TOBL3Digis.resize(nTOBL3Digis);
380  for (int i = 0; i < nTOBL3Digis; ++i) {
381  TOBL3Digis[i].ADC = adc[i];
382  TOBL3Digis[i].STRIP = strip[i];
383  }
384 
385  return;
386 }
387 
388 void PGlobalDigi::putTOBL4Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
389  nTOBL4Digis = adc.size();
390  TOBL4Digis.resize(nTOBL4Digis);
391  for (int i = 0; i < nTOBL4Digis; ++i) {
392  TOBL4Digis[i].ADC = adc[i];
393  TOBL4Digis[i].STRIP = strip[i];
394  }
395 
396  return;
397 }
398 
399 void PGlobalDigi::putTIDW1Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
400  nTIDW1Digis = adc.size();
401  TIDW1Digis.resize(nTIDW1Digis);
402  for (int i = 0; i < nTIDW1Digis; ++i) {
403  TIDW1Digis[i].ADC = adc[i];
404  TIDW1Digis[i].STRIP = strip[i];
405  }
406 
407  return;
408 }
409 
410 void PGlobalDigi::putTIDW2Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
411  nTIDW2Digis = adc.size();
412  TIDW2Digis.resize(nTIDW2Digis);
413  for (int i = 0; i < nTIDW2Digis; ++i) {
414  TIDW2Digis[i].ADC = adc[i];
415  TIDW2Digis[i].STRIP = strip[i];
416  }
417 
418  return;
419 }
420 
421 void PGlobalDigi::putTIDW3Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
422  nTIDW3Digis = adc.size();
423  TIDW3Digis.resize(nTIDW3Digis);
424  for (int i = 0; i < nTIDW3Digis; ++i) {
425  TIDW3Digis[i].ADC = adc[i];
426  TIDW3Digis[i].STRIP = strip[i];
427  }
428 
429  return;
430 }
431 
432 void PGlobalDigi::putTECW1Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
433  nTECW1Digis = adc.size();
434  TECW1Digis.resize(nTECW1Digis);
435  for (int i = 0; i < nTECW1Digis; ++i) {
436  TECW1Digis[i].ADC = adc[i];
437  TECW1Digis[i].STRIP = strip[i];
438  }
439 
440  return;
441 }
442 
443 void PGlobalDigi::putTECW2Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
444  nTECW2Digis = adc.size();
445  TECW2Digis.resize(nTECW2Digis);
446  for (int i = 0; i < nTECW2Digis; ++i) {
447  TECW2Digis[i].ADC = adc[i];
448  TECW2Digis[i].STRIP = strip[i];
449  }
450 
451  return;
452 }
453 
454 void PGlobalDigi::putTECW3Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
455  nTECW3Digis = adc.size();
456  TECW3Digis.resize(nTECW3Digis);
457  for (int i = 0; i < nTECW3Digis; ++i) {
458  TECW3Digis[i].ADC = adc[i];
459  TECW3Digis[i].STRIP = strip[i];
460  }
461 
462  return;
463 }
464 
465 void PGlobalDigi::putTECW4Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
466  nTECW4Digis = adc.size();
467  TECW4Digis.resize(nTECW4Digis);
468  for (int i = 0; i < nTECW4Digis; ++i) {
469  TECW4Digis[i].ADC = adc[i];
470  TECW4Digis[i].STRIP = strip[i];
471  }
472 
473  return;
474 }
475 
476 void PGlobalDigi::putTECW5Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
477  nTECW5Digis = adc.size();
478  TECW5Digis.resize(nTECW5Digis);
479  for (int i = 0; i < nTECW5Digis; ++i) {
480  TECW5Digis[i].ADC = adc[i];
481  TECW5Digis[i].STRIP = strip[i];
482  }
483 
484  return;
485 }
486 
487 void PGlobalDigi::putTECW6Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
488  nTECW6Digis = adc.size();
489  TECW6Digis.resize(nTECW6Digis);
490  for (int i = 0; i < nTECW6Digis; ++i) {
491  TECW6Digis[i].ADC = adc[i];
492  TECW6Digis[i].STRIP = strip[i];
493  }
494 
495  return;
496 }
497 
498 void PGlobalDigi::putTECW7Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
499  nTECW7Digis = adc.size();
500  TECW7Digis.resize(nTECW7Digis);
501  for (int i = 0; i < nTECW7Digis; ++i) {
502  TECW7Digis[i].ADC = adc[i];
503  TECW7Digis[i].STRIP = strip[i];
504  }
505 
506  return;
507 }
508 
509 void PGlobalDigi::putTECW8Digis(const std::vector<float>& adc, const std::vector<int>& strip) {
510  nTECW8Digis = adc.size();
511  TECW8Digis.resize(nTECW8Digis);
512  for (int i = 0; i < nTECW8Digis; ++i) {
513  TECW8Digis[i].ADC = adc[i];
514  TECW8Digis[i].STRIP = strip[i];
515  }
516 
517  return;
518 }
519 
520 void PGlobalDigi::putBRL1Digis(const std::vector<float>& adc,
521  const std::vector<int>& row,
522  const std::vector<int>& column) {
523  nBRL1Digis = adc.size();
524  BRL1Digis.resize(nBRL1Digis);
525  for (int i = 0; i < nBRL1Digis; ++i) {
526  BRL1Digis[i].ADC = adc[i];
527  BRL1Digis[i].ROW = row[i];
528  BRL1Digis[i].COLUMN = column[i];
529  }
530 
531  return;
532 }
533 
534 void PGlobalDigi::putBRL2Digis(const std::vector<float>& adc,
535  const std::vector<int>& row,
536  const std::vector<int>& column) {
537  nBRL2Digis = adc.size();
538  BRL2Digis.resize(nBRL2Digis);
539  for (int i = 0; i < nBRL2Digis; ++i) {
540  BRL2Digis[i].ADC = adc[i];
541  BRL2Digis[i].ROW = row[i];
542  BRL2Digis[i].COLUMN = column[i];
543  }
544 
545  return;
546 }
547 
548 void PGlobalDigi::putBRL3Digis(const std::vector<float>& adc,
549  const std::vector<int>& row,
550  const std::vector<int>& column) {
551  nBRL3Digis = adc.size();
552  BRL3Digis.resize(nBRL3Digis);
553  for (int i = 0; i < nBRL3Digis; ++i) {
554  BRL3Digis[i].ADC = adc[i];
555  BRL3Digis[i].ROW = row[i];
556  BRL3Digis[i].COLUMN = column[i];
557  }
558 
559  return;
560 }
561 
562 void PGlobalDigi::putFWD1pDigis(const std::vector<float>& adc,
563  const std::vector<int>& row,
564  const std::vector<int>& column) {
565  nFWD1pDigis = adc.size();
566  FWD1pDigis.resize(nFWD1pDigis);
567  for (int i = 0; i < nFWD1pDigis; ++i) {
568  FWD1pDigis[i].ADC = adc[i];
569  FWD1pDigis[i].ROW = row[i];
570  FWD1pDigis[i].COLUMN = column[i];
571  }
572 
573  return;
574 }
575 
576 void PGlobalDigi::putFWD1nDigis(const std::vector<float>& adc,
577  const std::vector<int>& row,
578  const std::vector<int>& column) {
579  nFWD1nDigis = adc.size();
580  FWD1nDigis.resize(nFWD1nDigis);
581  for (int i = 0; i < nFWD1nDigis; ++i) {
582  FWD1nDigis[i].ADC = adc[i];
583  FWD1nDigis[i].ROW = row[i];
584  FWD1nDigis[i].COLUMN = column[i];
585  }
586 
587  return;
588 }
589 
590 void PGlobalDigi::putFWD2pDigis(const std::vector<float>& adc,
591  const std::vector<int>& row,
592  const std::vector<int>& column) {
593  nFWD2pDigis = adc.size();
594  FWD2pDigis.resize(nFWD2pDigis);
595  for (int i = 0; i < nFWD2pDigis; ++i) {
596  FWD2pDigis[i].ADC = adc[i];
597  FWD2pDigis[i].ROW = row[i];
598  FWD2pDigis[i].COLUMN = column[i];
599  }
600 
601  return;
602 }
603 
604 void PGlobalDigi::putFWD2nDigis(const std::vector<float>& adc,
605  const std::vector<int>& row,
606  const std::vector<int>& column) {
607  nFWD2nDigis = adc.size();
608  FWD2nDigis.resize(nFWD2nDigis);
609  for (int i = 0; i < nFWD2nDigis; ++i) {
610  FWD2nDigis[i].ADC = adc[i];
611  FWD2nDigis[i].ROW = row[i];
612  FWD2nDigis[i].COLUMN = column[i];
613  }
614 
615  return;
616 }
617 
618 void PGlobalDigi::putMB1Digis(const std::vector<int>& slayer,
619  const std::vector<float>& time,
620  const std::vector<int>& layer) {
621  nMB1Digis = slayer.size();
622  MB1Digis.resize(nMB1Digis);
623  for (int i = 0; i < nMB1Digis; ++i) {
624  MB1Digis[i].SLAYER = slayer[i];
625  MB1Digis[i].TIME = time[i];
626  MB1Digis[i].LAYER = layer[i];
627  }
628 
629  return;
630 }
631 
632 void PGlobalDigi::putMB2Digis(const std::vector<int>& slayer,
633  const std::vector<float>& time,
634  const std::vector<int>& layer) {
635  nMB2Digis = slayer.size();
636  MB2Digis.resize(nMB2Digis);
637  for (int i = 0; i < nMB2Digis; ++i) {
638  MB2Digis[i].SLAYER = slayer[i];
639  MB2Digis[i].TIME = time[i];
640  MB2Digis[i].LAYER = layer[i];
641  }
642 
643  return;
644 }
645 
646 void PGlobalDigi::putMB3Digis(const std::vector<int>& slayer,
647  const std::vector<float>& time,
648  const std::vector<int>& layer) {
649  nMB3Digis = slayer.size();
650  MB3Digis.resize(nMB3Digis);
651  for (int i = 0; i < nMB3Digis; ++i) {
652  MB3Digis[i].SLAYER = slayer[i];
653  MB3Digis[i].TIME = time[i];
654  MB3Digis[i].LAYER = layer[i];
655  }
656 
657  return;
658 }
659 
660 void PGlobalDigi::putMB4Digis(const std::vector<int>& slayer,
661  const std::vector<float>& time,
662  const std::vector<int>& layer) {
663  nMB4Digis = slayer.size();
664  MB4Digis.resize(nMB4Digis);
665  for (int i = 0; i < nMB4Digis; ++i) {
666  MB4Digis[i].SLAYER = slayer[i];
667  MB4Digis[i].TIME = time[i];
668  MB4Digis[i].LAYER = layer[i];
669  }
670 
671  return;
672 }
673 
674 void PGlobalDigi::putCSCstripDigis(const std::vector<float>& adc) {
675  nCSCstripDigis = adc.size();
677  for (int i = 0; i < nCSCstripDigis; ++i) {
678  CSCstripDigis[i].ADC = adc[i];
679  }
680 
681  return;
682 }
683 
684 void PGlobalDigi::putCSCwireDigis(const std::vector<float>& time) {
685  nCSCwireDigis = time.size();
686  CSCwireDigis.resize(nCSCwireDigis);
687  for (int i = 0; i < nCSCwireDigis; ++i) {
688  CSCwireDigis[i].TIME = time[i];
689  }
690 
691  return;
692 }
693 
695 // PGlobalRecHit
697 
698 void PGlobalRecHit::putEBCalRecHits(const std::vector<float>& re, const std::vector<float>& she) {
699  nEBCalRecHits = re.size();
700  EBCalRecHits.resize(nEBCalRecHits);
701  for (int i = 0; i < nEBCalRecHits; ++i) {
702  EBCalRecHits[i].RE = re[i];
703  EBCalRecHits[i].SHE = she[i];
704  }
705 
706  return;
707 }
708 
709 void PGlobalRecHit::putEECalRecHits(const std::vector<float>& re, const std::vector<float>& she) {
710  nEECalRecHits = re.size();
711  EECalRecHits.resize(nEECalRecHits);
712  for (int i = 0; i < nEECalRecHits; ++i) {
713  EECalRecHits[i].RE = re[i];
714  EECalRecHits[i].SHE = she[i];
715  }
716 
717  return;
718 }
719 
720 void PGlobalRecHit::putESCalRecHits(const std::vector<float>& re, const std::vector<float>& she) {
721  nESCalRecHits = re.size();
722  ESCalRecHits.resize(nESCalRecHits);
723  for (int i = 0; i < nESCalRecHits; ++i) {
724  ESCalRecHits[i].RE = re[i];
725  ESCalRecHits[i].SHE = she[i];
726  }
727 
728  return;
729 }
730 
731 void PGlobalRecHit::putHBCalRecHits(const std::vector<float>& rec,
732  const std::vector<float>& r,
733  const std::vector<float>& she) {
734  nHBCalRecHits = rec.size();
735  HBCalRecHits.resize(nHBCalRecHits);
736  for (int i = 0; i < nHBCalRecHits; ++i) {
737  HBCalRecHits[i].REC = rec[i];
738  HBCalRecHits[i].R = r[i];
739  HBCalRecHits[i].SHE = she[i];
740  }
741 
742  return;
743 }
744 
745 void PGlobalRecHit::putHECalRecHits(const std::vector<float>& rec,
746  const std::vector<float>& r,
747  const std::vector<float>& she) {
748  nHECalRecHits = rec.size();
749  HECalRecHits.resize(nHECalRecHits);
750  for (int i = 0; i < nHECalRecHits; ++i) {
751  HECalRecHits[i].REC = rec[i];
752  HECalRecHits[i].R = r[i];
753  HECalRecHits[i].SHE = she[i];
754  }
755 
756  return;
757 }
758 
759 void PGlobalRecHit::putHOCalRecHits(const std::vector<float>& rec,
760  const std::vector<float>& r,
761  const std::vector<float>& she) {
762  nHOCalRecHits = rec.size();
763  HOCalRecHits.resize(nHOCalRecHits);
764  for (int i = 0; i < nHOCalRecHits; ++i) {
765  HOCalRecHits[i].REC = rec[i];
766  HOCalRecHits[i].R = r[i];
767  HOCalRecHits[i].SHE = she[i];
768  }
769 
770  return;
771 }
772 
773 void PGlobalRecHit::putHFCalRecHits(const std::vector<float>& rec,
774  const std::vector<float>& r,
775  const std::vector<float>& she) {
776  nHFCalRecHits = rec.size();
777  HFCalRecHits.resize(nHFCalRecHits);
778  for (int i = 0; i < nHFCalRecHits; ++i) {
779  HFCalRecHits[i].REC = rec[i];
780  HFCalRecHits[i].R = r[i];
781  HFCalRecHits[i].SHE = she[i];
782  }
783 
784  return;
785 }
786 
787 void PGlobalRecHit::putTIBL1RecHits(const std::vector<float>& rx,
788  const std::vector<float>& ry,
789  const std::vector<float>& sx,
790  const std::vector<float>& sy) {
791  nTIBL1RecHits = rx.size();
792  TIBL1RecHits.resize(nTIBL1RecHits);
793  for (int i = 0; i < nTIBL1RecHits; ++i) {
794  TIBL1RecHits[i].RX = rx[i];
795  TIBL1RecHits[i].RY = ry[i];
796  TIBL1RecHits[i].SX = sx[i];
797  TIBL1RecHits[i].SY = sy[i];
798  }
799 
800  return;
801 }
802 
803 void PGlobalRecHit::putTIBL2RecHits(const std::vector<float>& rx,
804  const std::vector<float>& ry,
805  const std::vector<float>& sx,
806  const std::vector<float>& sy) {
807  nTIBL2RecHits = rx.size();
808  TIBL2RecHits.resize(nTIBL2RecHits);
809  for (int i = 0; i < nTIBL2RecHits; ++i) {
810  TIBL2RecHits[i].RX = rx[i];
811  TIBL2RecHits[i].RY = ry[i];
812  TIBL2RecHits[i].SX = sx[i];
813  TIBL2RecHits[i].SY = sy[i];
814  }
815 
816  return;
817 }
818 
819 void PGlobalRecHit::putTIBL3RecHits(const std::vector<float>& rx,
820  const std::vector<float>& ry,
821  const std::vector<float>& sx,
822  const std::vector<float>& sy) {
823  nTIBL3RecHits = rx.size();
824  TIBL3RecHits.resize(nTIBL3RecHits);
825  for (int i = 0; i < nTIBL3RecHits; ++i) {
826  TIBL3RecHits[i].RX = rx[i];
827  TIBL3RecHits[i].RY = ry[i];
828  TIBL3RecHits[i].SX = sx[i];
829  TIBL3RecHits[i].SY = sy[i];
830  }
831 
832  return;
833 }
834 
835 void PGlobalRecHit::putTIBL4RecHits(const std::vector<float>& rx,
836  const std::vector<float>& ry,
837  const std::vector<float>& sx,
838  const std::vector<float>& sy) {
839  nTIBL4RecHits = rx.size();
840  TIBL4RecHits.resize(nTIBL4RecHits);
841  for (int i = 0; i < nTIBL4RecHits; ++i) {
842  TIBL4RecHits[i].RX = rx[i];
843  TIBL4RecHits[i].RY = ry[i];
844  TIBL4RecHits[i].SX = sx[i];
845  TIBL4RecHits[i].SY = sy[i];
846  }
847 
848  return;
849 }
850 
851 void PGlobalRecHit::putTOBL1RecHits(const std::vector<float>& rx,
852  const std::vector<float>& ry,
853  const std::vector<float>& sx,
854  const std::vector<float>& sy) {
855  nTOBL1RecHits = rx.size();
856  TOBL1RecHits.resize(nTOBL1RecHits);
857  for (int i = 0; i < nTOBL1RecHits; ++i) {
858  TOBL1RecHits[i].RX = rx[i];
859  TOBL1RecHits[i].RY = ry[i];
860  TOBL1RecHits[i].SX = sx[i];
861  TOBL1RecHits[i].SY = sy[i];
862  }
863 
864  return;
865 }
866 
867 void PGlobalRecHit::putTOBL2RecHits(const std::vector<float>& rx,
868  const std::vector<float>& ry,
869  const std::vector<float>& sx,
870  const std::vector<float>& sy) {
871  nTOBL2RecHits = rx.size();
872  TOBL2RecHits.resize(nTOBL2RecHits);
873  for (int i = 0; i < nTOBL2RecHits; ++i) {
874  TOBL2RecHits[i].RX = rx[i];
875  TOBL2RecHits[i].RY = ry[i];
876  TOBL2RecHits[i].SX = sx[i];
877  TOBL2RecHits[i].SY = sy[i];
878  }
879 
880  return;
881 }
882 
883 void PGlobalRecHit::putTOBL3RecHits(const std::vector<float>& rx,
884  const std::vector<float>& ry,
885  const std::vector<float>& sx,
886  const std::vector<float>& sy) {
887  nTOBL3RecHits = rx.size();
888  TOBL3RecHits.resize(nTOBL3RecHits);
889  for (int i = 0; i < nTOBL3RecHits; ++i) {
890  TOBL3RecHits[i].RX = rx[i];
891  TOBL3RecHits[i].RY = ry[i];
892  TOBL3RecHits[i].SX = sx[i];
893  TOBL3RecHits[i].SY = sy[i];
894  }
895 
896  return;
897 }
898 
899 void PGlobalRecHit::putTOBL4RecHits(const std::vector<float>& rx,
900  const std::vector<float>& ry,
901  const std::vector<float>& sx,
902  const std::vector<float>& sy) {
903  nTOBL4RecHits = rx.size();
904  TOBL4RecHits.resize(nTOBL4RecHits);
905  for (int i = 0; i < nTOBL4RecHits; ++i) {
906  TOBL4RecHits[i].RX = rx[i];
907  TOBL4RecHits[i].RY = ry[i];
908  TOBL4RecHits[i].SX = sx[i];
909  TOBL4RecHits[i].SY = sy[i];
910  }
911 
912  return;
913 }
914 
915 void PGlobalRecHit::putTIDW1RecHits(const std::vector<float>& rx,
916  const std::vector<float>& ry,
917  const std::vector<float>& sx,
918  const std::vector<float>& sy) {
919  nTIDW1RecHits = rx.size();
920  TIDW1RecHits.resize(nTIDW1RecHits);
921  for (int i = 0; i < nTIDW1RecHits; ++i) {
922  TIDW1RecHits[i].RX = rx[i];
923  TIDW1RecHits[i].RY = ry[i];
924  TIDW1RecHits[i].SX = sx[i];
925  TIDW1RecHits[i].SY = sy[i];
926  }
927 
928  return;
929 }
930 
931 void PGlobalRecHit::putTIDW2RecHits(const std::vector<float>& rx,
932  const std::vector<float>& ry,
933  const std::vector<float>& sx,
934  const std::vector<float>& sy) {
935  nTIDW2RecHits = rx.size();
936  TIDW2RecHits.resize(nTIDW2RecHits);
937  for (int i = 0; i < nTIDW2RecHits; ++i) {
938  TIDW2RecHits[i].RX = rx[i];
939  TIDW2RecHits[i].RY = ry[i];
940  TIDW2RecHits[i].SX = sx[i];
941  TIDW2RecHits[i].SY = sy[i];
942  }
943 
944  return;
945 }
946 
947 void PGlobalRecHit::putTIDW3RecHits(const std::vector<float>& rx,
948  const std::vector<float>& ry,
949  const std::vector<float>& sx,
950  const std::vector<float>& sy) {
951  nTIDW3RecHits = rx.size();
952  TIDW3RecHits.resize(nTIDW3RecHits);
953  for (int i = 0; i < nTIDW3RecHits; ++i) {
954  TIDW3RecHits[i].RX = rx[i];
955  TIDW3RecHits[i].RY = ry[i];
956  TIDW3RecHits[i].SX = sx[i];
957  TIDW3RecHits[i].SY = sy[i];
958  }
959 
960  return;
961 }
962 
963 void PGlobalRecHit::putTECW1RecHits(const std::vector<float>& rx,
964  const std::vector<float>& ry,
965  const std::vector<float>& sx,
966  const std::vector<float>& sy) {
967  nTECW1RecHits = rx.size();
968  TECW1RecHits.resize(nTECW1RecHits);
969  for (int i = 0; i < nTECW1RecHits; ++i) {
970  TECW1RecHits[i].RX = rx[i];
971  TECW1RecHits[i].RY = ry[i];
972  TECW1RecHits[i].SX = sx[i];
973  TECW1RecHits[i].SY = sy[i];
974  }
975 
976  return;
977 }
978 
979 void PGlobalRecHit::putTECW2RecHits(const std::vector<float>& rx,
980  const std::vector<float>& ry,
981  const std::vector<float>& sx,
982  const std::vector<float>& sy) {
983  nTECW2RecHits = rx.size();
984  TECW2RecHits.resize(nTECW2RecHits);
985  for (int i = 0; i < nTECW2RecHits; ++i) {
986  TECW2RecHits[i].RX = rx[i];
987  TECW2RecHits[i].RY = ry[i];
988  TECW2RecHits[i].SX = sx[i];
989  TECW2RecHits[i].SY = sy[i];
990  }
991 
992  return;
993 }
994 
995 void PGlobalRecHit::putTECW3RecHits(const std::vector<float>& rx,
996  const std::vector<float>& ry,
997  const std::vector<float>& sx,
998  const std::vector<float>& sy) {
999  nTECW3RecHits = rx.size();
1000  TECW3RecHits.resize(nTECW3RecHits);
1001  for (int i = 0; i < nTECW3RecHits; ++i) {
1002  TECW3RecHits[i].RX = rx[i];
1003  TECW3RecHits[i].RY = ry[i];
1004  TECW3RecHits[i].SX = sx[i];
1005  TECW3RecHits[i].SY = sy[i];
1006  }
1007 
1008  return;
1009 }
1010 
1011 void PGlobalRecHit::putTECW4RecHits(const std::vector<float>& rx,
1012  const std::vector<float>& ry,
1013  const std::vector<float>& sx,
1014  const std::vector<float>& sy) {
1015  nTECW4RecHits = rx.size();
1016  TECW4RecHits.resize(nTECW4RecHits);
1017  for (int i = 0; i < nTECW4RecHits; ++i) {
1018  TECW4RecHits[i].RX = rx[i];
1019  TECW4RecHits[i].RY = ry[i];
1020  TECW4RecHits[i].SX = sx[i];
1021  TECW4RecHits[i].SY = sy[i];
1022  }
1023 
1024  return;
1025 }
1026 
1027 void PGlobalRecHit::putTECW5RecHits(const std::vector<float>& rx,
1028  const std::vector<float>& ry,
1029  const std::vector<float>& sx,
1030  const std::vector<float>& sy) {
1031  nTECW5RecHits = rx.size();
1032  TECW5RecHits.resize(nTECW5RecHits);
1033  for (int i = 0; i < nTECW5RecHits; ++i) {
1034  TECW5RecHits[i].RX = rx[i];
1035  TECW5RecHits[i].RY = ry[i];
1036  TECW5RecHits[i].SX = sx[i];
1037  TECW5RecHits[i].SY = sy[i];
1038  }
1039 
1040  return;
1041 }
1042 
1043 void PGlobalRecHit::putTECW6RecHits(const std::vector<float>& rx,
1044  const std::vector<float>& ry,
1045  const std::vector<float>& sx,
1046  const std::vector<float>& sy) {
1047  nTECW6RecHits = rx.size();
1048  TECW6RecHits.resize(nTECW6RecHits);
1049  for (int i = 0; i < nTECW6RecHits; ++i) {
1050  TECW6RecHits[i].RX = rx[i];
1051  TECW6RecHits[i].RY = ry[i];
1052  TECW6RecHits[i].SX = sx[i];
1053  TECW6RecHits[i].SY = sy[i];
1054  }
1055 
1056  return;
1057 }
1058 
1059 void PGlobalRecHit::putTECW7RecHits(const std::vector<float>& rx,
1060  const std::vector<float>& ry,
1061  const std::vector<float>& sx,
1062  const std::vector<float>& sy) {
1063  nTECW7RecHits = rx.size();
1064  TECW7RecHits.resize(nTECW7RecHits);
1065  for (int i = 0; i < nTECW7RecHits; ++i) {
1066  TECW7RecHits[i].RX = rx[i];
1067  TECW7RecHits[i].RY = ry[i];
1068  TECW7RecHits[i].SX = sx[i];
1069  TECW7RecHits[i].SY = sy[i];
1070  }
1071 
1072  return;
1073 }
1074 
1075 void PGlobalRecHit::putTECW8RecHits(const std::vector<float>& rx,
1076  const std::vector<float>& ry,
1077  const std::vector<float>& sx,
1078  const std::vector<float>& sy) {
1079  nTECW8RecHits = rx.size();
1080  TECW8RecHits.resize(nTECW8RecHits);
1081  for (int i = 0; i < nTECW8RecHits; ++i) {
1082  TECW8RecHits[i].RX = rx[i];
1083  TECW8RecHits[i].RY = ry[i];
1084  TECW8RecHits[i].SX = sx[i];
1085  TECW8RecHits[i].SY = sy[i];
1086  }
1087 
1088  return;
1089 }
1090 
1091 void PGlobalRecHit::putBRL1RecHits(const std::vector<float>& rx,
1092  const std::vector<float>& ry,
1093  const std::vector<float>& sx,
1094  const std::vector<float>& sy) {
1095  nBRL1RecHits = rx.size();
1096  BRL1RecHits.resize(nBRL1RecHits);
1097  for (int i = 0; i < nBRL1RecHits; ++i) {
1098  BRL1RecHits[i].RX = rx[i];
1099  BRL1RecHits[i].RY = ry[i];
1100  BRL1RecHits[i].SX = sx[i];
1101  BRL1RecHits[i].SY = sy[i];
1102  }
1103 
1104  return;
1105 }
1106 
1107 void PGlobalRecHit::putBRL2RecHits(const std::vector<float>& rx,
1108  const std::vector<float>& ry,
1109  const std::vector<float>& sx,
1110  const std::vector<float>& sy) {
1111  nBRL2RecHits = rx.size();
1112  BRL2RecHits.resize(nBRL2RecHits);
1113  for (int i = 0; i < nBRL2RecHits; ++i) {
1114  BRL2RecHits[i].RX = rx[i];
1115  BRL2RecHits[i].RY = ry[i];
1116  BRL2RecHits[i].SX = sx[i];
1117  BRL2RecHits[i].SY = sy[i];
1118  }
1119 
1120  return;
1121 }
1122 
1123 void PGlobalRecHit::putBRL3RecHits(const std::vector<float>& rx,
1124  const std::vector<float>& ry,
1125  const std::vector<float>& sx,
1126  const std::vector<float>& sy) {
1127  nBRL3RecHits = rx.size();
1128  BRL3RecHits.resize(nBRL3RecHits);
1129  for (int i = 0; i < nBRL3RecHits; ++i) {
1130  BRL3RecHits[i].RX = rx[i];
1131  BRL3RecHits[i].RY = ry[i];
1132  BRL3RecHits[i].SX = sx[i];
1133  BRL3RecHits[i].SY = sy[i];
1134  }
1135 
1136  return;
1137 }
1138 
1139 void PGlobalRecHit::putFWD1pRecHits(const std::vector<float>& rx,
1140  const std::vector<float>& ry,
1141  const std::vector<float>& sx,
1142  const std::vector<float>& sy) {
1143  nFWD1pRecHits = rx.size();
1144  FWD1pRecHits.resize(nFWD1pRecHits);
1145  for (int i = 0; i < nFWD1pRecHits; ++i) {
1146  FWD1pRecHits[i].RX = rx[i];
1147  FWD1pRecHits[i].RY = ry[i];
1148  FWD1pRecHits[i].SX = sx[i];
1149  FWD1pRecHits[i].SY = sy[i];
1150  }
1151 
1152  return;
1153 }
1154 
1155 void PGlobalRecHit::putFWD1nRecHits(const std::vector<float>& rx,
1156  const std::vector<float>& ry,
1157  const std::vector<float>& sx,
1158  const std::vector<float>& sy) {
1159  nFWD1nRecHits = rx.size();
1160  FWD1nRecHits.resize(nFWD1nRecHits);
1161  for (int i = 0; i < nFWD1nRecHits; ++i) {
1162  FWD1nRecHits[i].RX = rx[i];
1163  FWD1nRecHits[i].RY = ry[i];
1164  FWD1nRecHits[i].SX = sx[i];
1165  FWD1nRecHits[i].SY = sy[i];
1166  }
1167 
1168  return;
1169 }
1170 
1171 void PGlobalRecHit::putFWD2pRecHits(const std::vector<float>& rx,
1172  const std::vector<float>& ry,
1173  const std::vector<float>& sx,
1174  const std::vector<float>& sy) {
1175  nFWD2pRecHits = rx.size();
1176  FWD2pRecHits.resize(nFWD2pRecHits);
1177  for (int i = 0; i < nFWD2pRecHits; ++i) {
1178  FWD2pRecHits[i].RX = rx[i];
1179  FWD2pRecHits[i].RY = ry[i];
1180  FWD2pRecHits[i].SX = sx[i];
1181  FWD2pRecHits[i].SY = sy[i];
1182  }
1183 
1184  return;
1185 }
1186 
1187 void PGlobalRecHit::putFWD2nRecHits(const std::vector<float>& rx,
1188  const std::vector<float>& ry,
1189  const std::vector<float>& sx,
1190  const std::vector<float>& sy) {
1191  nFWD2nRecHits = rx.size();
1192  FWD2nRecHits.resize(nFWD2nRecHits);
1193  for (int i = 0; i < nFWD2nRecHits; ++i) {
1194  FWD2nRecHits[i].RX = rx[i];
1195  FWD2nRecHits[i].RY = ry[i];
1196  FWD2nRecHits[i].SX = sx[i];
1197  FWD2nRecHits[i].SY = sy[i];
1198  }
1199 
1200  return;
1201 }
1202 
1203 void PGlobalRecHit::putDTRecHits(const std::vector<float>& rhd, const std::vector<float>& shd) {
1204  nDTRecHits = rhd.size();
1205  DTRecHits.resize(nDTRecHits);
1206  for (int i = 0; i < nDTRecHits; ++i) {
1207  DTRecHits[i].RHD = rhd[i];
1208  DTRecHits[i].SHD = shd[i];
1209  }
1210 
1211  return;
1212 }
1213 
1214 void PGlobalRecHit::putCSCRecHits(const std::vector<float>& rhphi,
1215  const std::vector<float>& rhperp,
1216  const std::vector<float>& shphi) {
1217  nCSCRecHits = rhphi.size();
1218  CSCRecHits.resize(nCSCRecHits);
1219  for (int i = 0; i < nCSCRecHits; ++i) {
1220  CSCRecHits[i].RHPHI = rhphi[i];
1221  CSCRecHits[i].RHPERP = rhperp[i];
1222  CSCRecHits[i].SHPHI = shphi[i];
1223  }
1224 
1225  return;
1226 }
1227 
1228 void PGlobalRecHit::putRPCRecHits(const std::vector<float>& rhx, const std::vector<float>& shx) {
1229  nRPCRecHits = rhx.size();
1230  RPCRecHits.resize(nRPCRecHits);
1231  for (int i = 0; i < nRPCRecHits; ++i) {
1232  RPCRecHits[i].RHX = rhx[i];
1233  RPCRecHits[i].SHX = shx[i];
1234  }
1235 
1236  return;
1237 }
1238 
1240 // PHcalValidInfoJets
1242 
1243 void PHcalValidInfoJets::fillTProfileJet(double e, double r, double t) {
1244  jetHite.push_back((float)e);
1245  jetHitr.push_back((float)r);
1246  jetHitt.push_back((float)t);
1247  nJetHit++;
1248 
1249  // std::cout << " fillTProfileJet - nJetHit = " << nJetHit << std::endl;
1250 }
1251 
1252 void PHcalValidInfoJets::fillEcollectJet(double ee, double he, double hoe, double etot) {
1253  // hardest jet properties
1254 
1255  ecalJet = (float)ee;
1256  hcalJet = (float)he;
1257  hoJet = (float)hoe;
1258  etotJet = (float)etot;
1259 }
1260 
1261 void PHcalValidInfoJets::fillEtaPhiProfileJet(double eta0, double phi0, double eta, double phi, double dist) {
1262  detaJet = (float)(eta - eta0);
1263  dphiJet = (float)(phi - phi0);
1264  drJet = (float)dist;
1265 }
1266 
1267 void PHcalValidInfoJets::fillJets(const std::vector<double>& en,
1268  const std::vector<double>& eta,
1269  const std::vector<double>& phi) {
1270  nJet = en.size();
1271  for (int i = 0; i < nJet; i++) {
1272  jetE.push_back((float)en[i]);
1273  jetEta.push_back((float)eta[i]);
1274  jetPhi.push_back((float)phi[i]);
1275  }
1276 
1277  // std::cout << " fillJets - nJet = " << nJet << std::endl;
1278 }
1279 
1280 void PHcalValidInfoJets::fillDiJets(double mass) { dijetM = (float)mass; }
1281 
1283 // PHcalValidInfoLayer
1285 
1286 void PHcalValidInfoLayer::fillLayers(double el[], double ed[], double ho, double hbhe, double ebee) {
1287  for (int i = 0; i < 20; i++) {
1288  double en = 0.001 * el[i]; // GeV
1289  eLayer.push_back((float)en);
1290  }
1291  for (int i = 0; i < 4; i++) {
1292  double en = 0.001 * ed[i]; // GeV
1293  eDepth.push_back((float)en);
1294  }
1295  eHO = (float)ho;
1296  eHBHE = (float)hbhe; // MeV
1297  eEBEE = (float)ebee;
1298 }
1299 
1300 void PHcalValidInfoLayer::fillHF(double fibl, double fibs, double enec, double enhc) {
1301  elongHF = (float)fibl;
1302  eshortHF = (float)fibs;
1303  eEcalHF = (float)enec;
1304  eHcalHF = (float)enhc;
1305 }
1306 
1307 void PHcalValidInfoLayer::fillHits(int nHits, int lay, int unitID, double eta, double phi, double ehit, double t) {
1308  hitLayer.push_back((float)lay);
1309  hitId.push_back((float)unitID);
1310  hitEta.push_back((float)eta);
1311  hitPhi.push_back((float)phi);
1312  hitE.push_back((float)ehit);
1313  hitTime.push_back((float)t);
1314  hitN++;
1315 
1316  // std::cout << " fillHits: nHits,hitN = " << nHits << "," << hitN << std::endl;
1317 }
1318 
1320 // PHcalValidInfoNxN
1322 
1323 void PHcalValidInfoNxN::fillHvsE(double ee, double he, double hoe, double etot) {
1324  ecalNxNr = (float)ee;
1325  hcalNxNr = (float)he;
1326  hoNxNr = (float)hoe;
1327  etotNxNr = (float)etot;
1328 }
1329 
1330 void PHcalValidInfoNxN::fillEcollectNxN(double een, double hen, double hoen, double etotn) {
1331  ecalNxN = (float)een;
1332  hcalNxN = (float)hen;
1333  hoNxN = (float)hoen;
1334  etotNxN = (float)etotn;
1335 }
1336 
1337 void PHcalValidInfoNxN::fillTProfileNxN(double e, int i, double t) {
1338  idNxN.push_back((float)i);
1339  eNxN.push_back((float)e);
1340  tNxN.push_back((float)t);
1341  nNxN++;
1342 
1343  // std::cout << " fillTProfileNxN - nNxN = " << nNxN << std::endl;
1344 }
1345 
1347 // PMuonSimHit
1349 
1351  nRawGenPart = n;
1352  return;
1353 }
1354 
1355 void PMuonSimHit::putG4Vtx(const std::vector<float>& x, const std::vector<float>& y, const std::vector<float>& z) {
1356  nG4Vtx = x.size();
1357  G4Vtx.resize(nG4Vtx);
1358  for (int i = 0; i < nG4Vtx; ++i) {
1359  G4Vtx[i].x = x[i];
1360  G4Vtx[i].y = y[i];
1361  G4Vtx[i].z = z[i];
1362  }
1363  return;
1364 }
1365 
1366 void PMuonSimHit::putG4Trk(const std::vector<float>& pt,
1367  const std::vector<float>& e,
1368  const std::vector<float>& eta,
1369  const std::vector<float>& phi) {
1370  nG4Trk = pt.size();
1371  G4Trk.resize(nG4Trk);
1372  for (int i = 0; i < nG4Trk; ++i) {
1373  G4Trk[i].pt = pt[i];
1374  G4Trk[i].e = e[i];
1375  G4Trk[i].eta = eta[i];
1376  G4Trk[i].phi = phi[i];
1377  }
1378  return;
1379 }
1380 
1381 void PMuonSimHit::putCSCHits(const std::vector<int>& _cscId,
1382  const std::vector<unsigned int>& _detUnitId,
1383  const std::vector<float>& _trackId,
1384  const std::vector<float>& _processType,
1385  const std::vector<float>& _particleType,
1386  const std::vector<float>& _pabs,
1387  const std::vector<float>& _globposz,
1388  const std::vector<float>& _globposphi,
1389  const std::vector<float>& _globposeta,
1390  const std::vector<float>& _locposx,
1391  const std::vector<float>& _locposy,
1392  const std::vector<float>& _locposz,
1393  const std::vector<float>& _locdirx,
1394  const std::vector<float>& _locdiry,
1395  const std::vector<float>& _locdirz,
1396  const std::vector<float>& _locdirtheta,
1397  const std::vector<float>& _locdirphi,
1398  const std::vector<float>& _exitpointx,
1399  const std::vector<float>& _exitpointy,
1400  const std::vector<float>& _exitpointz,
1401  const std::vector<float>& _entrypointx,
1402  const std::vector<float>& _entrypointy,
1403  const std::vector<float>& _entrypointz,
1404  const std::vector<float>& _enloss,
1405  const std::vector<float>& _tof)
1406 
1407 {
1408  nCSCHits = _tof.size();
1409  CSCHits.resize(nCSCHits);
1410  for (int i = 0; i < nCSCHits; ++i) {
1411  CSCHits[i]._cscId = _cscId[i];
1412  CSCHits[i]._detUnitId = _detUnitId[i];
1413  CSCHits[i]._trackId = _trackId[i];
1414  CSCHits[i]._processType = _processType[i];
1415  CSCHits[i]._particleType = _particleType[i];
1416  CSCHits[i]._pabs = _pabs[i];
1417  CSCHits[i]._globposz = _globposz[i];
1418  CSCHits[i]._globposphi = _globposphi[i];
1419  CSCHits[i]._globposeta = _globposeta[i];
1420  CSCHits[i]._locposx = _locposx[i];
1421  CSCHits[i]._locposy = _locposy[i];
1422  CSCHits[i]._locposz = _locposz[i];
1423  CSCHits[i]._locdirx = _locdirx[i];
1424  CSCHits[i]._locdiry = _locdiry[i];
1425  CSCHits[i]._locdirz = _locdirz[i];
1426  CSCHits[i]._locdirtheta = _locdirtheta[i];
1427  CSCHits[i]._locdirphi = _locdirphi[i];
1428  CSCHits[i]._exitpointx = _exitpointx[i];
1429  CSCHits[i]._exitpointy = _exitpointy[i];
1430  CSCHits[i]._exitpointz = _exitpointz[i];
1431  CSCHits[i]._entrypointx = _entrypointx[i];
1432  CSCHits[i]._entrypointy = _entrypointy[i];
1433  CSCHits[i]._entrypointz = _entrypointz[i];
1434  CSCHits[i]._enloss = _enloss[i];
1435  CSCHits[i]._tof = _tof[i];
1436  }
1437  return;
1438 }
1439 
1440 void PMuonSimHit::putDTHits(const std::vector<unsigned int>& _detUnitId,
1441  const std::vector<float>& _trackId,
1442  const std::vector<float>& _processType,
1443  const std::vector<float>& _particleType,
1444  const std::vector<float>& _pabs,
1445  const std::vector<float>& _globposz,
1446  const std::vector<float>& _globposphi,
1447  const std::vector<float>& _globposeta,
1448  const std::vector<float>& _locposx,
1449  const std::vector<float>& _locposy,
1450  const std::vector<float>& _locposz,
1451  const std::vector<float>& _locdirx,
1452  const std::vector<float>& _locdiry,
1453  const std::vector<float>& _locdirz,
1454  const std::vector<float>& _locdirtheta,
1455  const std::vector<float>& _locdirphi,
1456  const std::vector<float>& _exitpointx,
1457  const std::vector<float>& _exitpointy,
1458  const std::vector<float>& _exitpointz,
1459  const std::vector<float>& _entrypointx,
1460  const std::vector<float>& _entrypointy,
1461  const std::vector<float>& _entrypointz,
1462  const std::vector<float>& _enloss,
1463  const std::vector<float>& _tof)
1464 
1465 {
1466  nDTHits = _tof.size();
1467  DTHits.resize(nDTHits);
1468  for (int i = 0; i < nDTHits; ++i) {
1469  DTHits[i]._detUnitId = _detUnitId[i];
1470  DTHits[i]._trackId = _trackId[i];
1471  DTHits[i]._processType = _processType[i];
1472  DTHits[i]._particleType = _particleType[i];
1473  DTHits[i]._pabs = _pabs[i];
1474  DTHits[i]._globposz = _globposz[i];
1475  DTHits[i]._globposphi = _globposphi[i];
1476  DTHits[i]._globposeta = _globposeta[i];
1477  DTHits[i]._locposx = _locposx[i];
1478  DTHits[i]._locposy = _locposy[i];
1479  DTHits[i]._locposz = _locposz[i];
1480  DTHits[i]._locdirx = _locdirx[i];
1481  DTHits[i]._locdiry = _locdiry[i];
1482  DTHits[i]._locdirz = _locdirz[i];
1483  DTHits[i]._locdirtheta = _locdirtheta[i];
1484  DTHits[i]._locdirphi = _locdirphi[i];
1485  DTHits[i]._exitpointx = _exitpointx[i];
1486  DTHits[i]._exitpointy = _exitpointy[i];
1487  DTHits[i]._exitpointz = _exitpointz[i];
1488  DTHits[i]._entrypointx = _entrypointx[i];
1489  DTHits[i]._entrypointy = _entrypointy[i];
1490  DTHits[i]._entrypointz = _entrypointz[i];
1491  DTHits[i]._enloss = _enloss[i];
1492  DTHits[i]._tof = _tof[i];
1493  }
1494  return;
1495 }
1496 
1497 void PMuonSimHit::putRPCHits(const std::vector<unsigned int>& _detUnitId,
1498  const std::vector<float>& _trackId,
1499  const std::vector<float>& _processType,
1500  const std::vector<float>& _particleType,
1501  const std::vector<float>& _pabs,
1502  const std::vector<float>& _globposz,
1503  const std::vector<float>& _globposphi,
1504  const std::vector<float>& _globposeta,
1505  const std::vector<float>& _locposx,
1506  const std::vector<float>& _locposy,
1507  const std::vector<float>& _locposz,
1508  const std::vector<float>& _locdirx,
1509  const std::vector<float>& _locdiry,
1510  const std::vector<float>& _locdirz,
1511  const std::vector<float>& _locdirtheta,
1512  const std::vector<float>& _locdirphi,
1513  const std::vector<float>& _exitpointx,
1514  const std::vector<float>& _exitpointy,
1515  const std::vector<float>& _exitpointz,
1516  const std::vector<float>& _entrypointx,
1517  const std::vector<float>& _entrypointy,
1518  const std::vector<float>& _entrypointz,
1519  const std::vector<float>& _enloss,
1520  const std::vector<float>& _tof)
1521 
1522 {
1523  nRPCHits = _tof.size();
1524  RPCHits.resize(nRPCHits);
1525  for (int i = 0; i < nRPCHits; ++i) {
1526  RPCHits[i]._detUnitId = _detUnitId[i];
1527  RPCHits[i]._trackId = _trackId[i];
1528  RPCHits[i]._processType = _processType[i];
1529  RPCHits[i]._particleType = _particleType[i];
1530  RPCHits[i]._pabs = _pabs[i];
1531  RPCHits[i]._globposz = _globposz[i];
1532  RPCHits[i]._globposphi = _globposphi[i];
1533  RPCHits[i]._globposeta = _globposeta[i];
1534  RPCHits[i]._locposx = _locposx[i];
1535  RPCHits[i]._locposy = _locposy[i];
1536  RPCHits[i]._locposz = _locposz[i];
1537  RPCHits[i]._locdirx = _locdirx[i];
1538  RPCHits[i]._locdiry = _locdiry[i];
1539  RPCHits[i]._locdirz = _locdirz[i];
1540  RPCHits[i]._locdirtheta = _locdirtheta[i];
1541  RPCHits[i]._locdirphi = _locdirphi[i];
1542  RPCHits[i]._exitpointx = _exitpointx[i];
1543  RPCHits[i]._exitpointy = _exitpointy[i];
1544  RPCHits[i]._exitpointz = _exitpointz[i];
1545  RPCHits[i]._entrypointx = _entrypointx[i];
1546  RPCHits[i]._entrypointy = _entrypointy[i];
1547  RPCHits[i]._entrypointz = _entrypointz[i];
1548  RPCHits[i]._enloss = _enloss[i];
1549  RPCHits[i]._tof = _tof[i];
1550  }
1551  return;
1552 }
1553 
1555 // PTrackerSimHit
1557 
1559  nRawGenPart = n;
1560  return;
1561 }
1562 
1563 void PTrackerSimHit::putG4Vtx(const std::vector<float>& x, const std::vector<float>& y, const std::vector<float>& z) {
1564  nG4Vtx = x.size();
1565  G4Vtx.resize(nG4Vtx);
1566  for (int i = 0; i < nG4Vtx; ++i) {
1567  G4Vtx[i].x = x[i];
1568  G4Vtx[i].y = y[i];
1569  G4Vtx[i].z = z[i];
1570  }
1571 
1572  return;
1573 }
1574 
1575 void PTrackerSimHit::putG4Trk(const std::vector<float>& pt,
1576  const std::vector<float>& e,
1577  const std::vector<float>& eta,
1578  const std::vector<float>& phi) {
1579  nG4Trk = pt.size();
1580  G4Trk.resize(nG4Trk);
1581  for (int i = 0; i < nG4Trk; ++i) {
1582  G4Trk[i].pt = pt[i];
1583  G4Trk[i].e = e[i];
1584  G4Trk[i].eta = eta[i];
1585  G4Trk[i].phi = phi[i];
1586  }
1587 
1588  return;
1589 }
1590 
1591 void PTrackerSimHit::putHits(const std::vector<int>& _sysID,
1592  const std::vector<float>& _detUnitId,
1593  const std::vector<float>& _trackId,
1594  const std::vector<float>& _processType,
1595  const std::vector<float>& _particleType,
1596  const std::vector<float>& _pabs,
1597  const std::vector<float>& _lpx,
1598  const std::vector<float>& _lpy,
1599  const std::vector<float>& _lpz,
1600  const std::vector<float>& _ldx,
1601  const std::vector<float>& _ldy,
1602  const std::vector<float>& _ldz,
1603  const std::vector<float>& _ldtheta,
1604  const std::vector<float>& _ldphi,
1605  const std::vector<float>& _exx,
1606  const std::vector<float>& _exy,
1607  const std::vector<float>& _exz,
1608  const std::vector<float>& _enx,
1609  const std::vector<float>& _eny,
1610  const std::vector<float>& _enz,
1611  const std::vector<float>& _eloss,
1612  const std::vector<float>& _tof)
1613 
1614 {
1615  nHits = _tof.size();
1616  Hits.resize(nHits);
1617  for (int i = 0; i < nHits; ++i) {
1618  Hits[i]._sysID = _sysID[i];
1619  Hits[i]._detUnitId = _detUnitId[i];
1620  Hits[i]._trackId = _trackId[i];
1621  Hits[i]._processType = _processType[i];
1622  Hits[i]._particleType = _particleType[i];
1623  Hits[i]._pabs = _pabs[i];
1624  Hits[i]._lpx = _lpx[i];
1625  Hits[i]._lpy = _lpy[i];
1626  Hits[i]._lpz = _lpz[i];
1627  Hits[i]._ldx = _ldx[i];
1628  Hits[i]._ldy = _ldy[i];
1629  Hits[i]._ldz = _ldz[i];
1630  Hits[i]._ldtheta = _ldtheta[i];
1631  Hits[i]._ldphi = _ldphi[i];
1632  Hits[i]._exx = _exx[i];
1633  Hits[i]._exy = _exy[i];
1634  Hits[i]._exz = _exz[i];
1635  Hits[i]._enx = _enx[i];
1636  Hits[i]._eny = _eny[i];
1637  Hits[i]._enz = _enz[i];
1638  Hits[i]._eloss = _eloss[i];
1639  Hits[i]._tof = _tof[i];
1640  }
1641 
1642  return;
1643 }
void putTIBL1RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
std::vector< float > tNxN
void putTECW7Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void fillJets(const std::vector< double > &enj, const std::vector< double > &etaj, const std::vector< double > &phij)
void putTOBL4Digis(const std::vector< float > &adc, const std::vector< int > &strip)
std::vector< float > jetEta
SiStripRecHitVector TOBL2RecHits
void putFWD2pDigis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
void putTOBL1Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void putHFCalRecHits(const std::vector< float > &rec, const std::vector< float > &r, const std::vector< float > &she)
HCalRecHitVector HFCalRecHits
HCalDigiVector HOCalDigis
SiPixelRecHitVector FWD2nRecHits
void fillHvsE(double ee, double he, double hoe, double etot)
std::vector< float > jetPhi
void fillTProfileJet(double e, double r, double t)
SiPixelRecHitVector FWD1nRecHits
void putHECalRecHits(const std::vector< float > &rec, const std::vector< float > &r, const std::vector< float > &she)
CSCwireDigiVector CSCwireDigis
void putFWD1nRecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putBRL3Digis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
void putTOBL4RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putHCalHits(const std::vector< float > &e, const std::vector< float > &tof, const std::vector< float > &phi, const std::vector< float > &eta)
std::vector< float > jetE
void fillLayers(double el[], double ed[], double ho, double hbhe, double ebee)
SiStripRecHitVector TIDW1RecHits
void putHBCalRecHits(const std::vector< float > &rec, const std::vector< float > &r, const std::vector< float > &she)
SiStripDigiVector TECW4Digis
void fillEcollectJet(double ee, double he, double hoe, double etot)
void putMuonRpcFwdHits(const std::vector< float > &tof, const std::vector< float > &z, const std::vector< float > &phi, const std::vector< float > &eta)
std::vector< float > eNxN
SiStripDigiVector TIDW3Digis
void fillEtaPhiProfileJet(double eta0, double phi0, double eta, double phi, double dist)
void putTECW6RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putBRL1RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putTECW8RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
int nRawGenPart
G4MC info.
void putMuonRpcBrlHits(const std::vector< float > &tof, const std::vector< float > &r, const std::vector< float > &phi, const std::vector< float > &eta)
void putEECalRecHits(const std::vector< float > &re, const std::vector< float > &she)
void putRawGenPart(int n)
put functions
void putTECW5RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
SiStripRecHitVector TIBL3RecHits
void putTECW7RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void fillDiJets(double mass)
FwdVector MuonRpcFwdHits
void putCSCRecHits(const std::vector< float > &rhphi, const std::vector< float > &rhperp, const std::vector< float > &shphi)
void putRawGenPart(int n)
void putTECW2RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putMB1Digis(const std::vector< int > &slayer, const std::vector< float > &time, const std::vector< int > &layer)
void putTIDW1RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
SiStripRecHitVector TECW1RecHits
void putRPCRecHits(const std::vector< float > &rhx, const std::vector< float > &shx)
std::vector< float > hitE
void putTECW1RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
SiStripRecHitVector TIBL4RecHits
void putMuonCscHits(const std::vector< float > &tof, const std::vector< float > &z, const std::vector< float > &phi, const std::vector< float > &eta)
void putECalHits(const std::vector< float > &e, const std::vector< float > &tof, const std::vector< float > &phi, const std::vector< float > &eta)
SiStripRecHitVector TECW4RecHits
SiStripRecHitVector TIDW2RecHits
SiPixelRecHitVector FWD1pRecHits
ESCalDigiVector ESCalDigis
std::vector< float > eDepth
void putHOCalDigis(const std::vector< float > &aee, const std::vector< float > &she)
SiPixelDigiVector FWD1nDigis
CSCstripDigiVector CSCstripDigis
HCalRecHitVector HOCalRecHits
void putFWD2nDigis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
SiStripDigiVector TECW2Digis
SiStripDigiVector TIDW1Digis
void putFWD1nDigis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
SiStripDigiVector TOBL2Digis
void putTECW8Digis(const std::vector< float > &adc, const std::vector< int > &strip)
SiStripDigiVector TIBL4Digis
std::vector< float > jetHitt
void putG4Vtx(const std::vector< float > &x, const std::vector< float > &y, const std::vector< float > &z)
void putFWD1pDigis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
void putHits(const std::vector< int > &_sysID, const std::vector< float > &_detUnitId, const std::vector< float > &_trackId, const std::vector< float > &_processType, const std::vector< float > &_particleType, const std::vector< float > &_pabs, const std::vector< float > &_lpx, const std::vector< float > &_lpy, const std::vector< float > &_lpz, const std::vector< float > &_ldx, const std::vector< float > &_ldy, const std::vector< float > &_ldz, const std::vector< float > &_ldtheta, const std::vector< float > &_ldphi, const std::vector< float > &_exx, const std::vector< float > &_exy, const std::vector< float > &_exz, const std::vector< float > &_enx, const std::vector< float > &_eny, const std::vector< float > &_enz, const std::vector< float > &_eloss, const std::vector< float > &_tof)
std::vector< float > hitId
SiStripRecHitVector TIDW3RecHits
float float float z
HCalDigiVector HECalDigis
void fillHits(int Nhits, int lay, int unitID, double eta, double phi, double ehit, double t)
SiStripDigiVector TOBL3Digis
constexpr std::array< uint8_t, layerIndexSize > layer
void putBRL2RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putTIDW3Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void putTECW3Digis(const std::vector< float > &adc, const std::vector< int > &strip)
ECalRecHitVector EBCalRecHits
SiStripDigiVector TECW1Digis
SiPixelRecHitVector BRL1RecHits
CSCRecHitVector CSCRecHits
void putBRL1Digis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
SiPixelDigiVector FWD1pDigis
int nCSCHits
Hit info.
SiStripRecHitVector TECW6RecHits
void putTECW6Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void putG4Trk(const std::vector< float > &pt, const std::vector< float > &e)
void putHBCalDigis(const std::vector< float > &aee, const std::vector< float > &she)
void putTECW2Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void putTOBL1RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
HCalDigiVector HFCalDigis
void putTIDW2RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putFWD2nRecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putEBCalDigis(const std::vector< int > &maxpos, const std::vector< double > &aee, const std::vector< float > &she)
SiPixelDigiVector BRL3Digis
HCalRecHitVector HBCalRecHits
std::vector< float > hitPhi
ECalDigiVector EECalDigis
void putG4Trk(const std::vector< float > &pt, const std::vector< float > &e, const std::vector< float > &eta, const std::vector< float > &phi)
void putHOCalRecHits(const std::vector< float > &rec, const std::vector< float > &r, const std::vector< float > &she)
SiStripDigiVector TIBL3Digis
void putTECW3RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
BrlVector MuonRpcBrlHits
void putTOBL3RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putTIBL2RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putSiBrlHits(const std::vector< float > &tof, const std::vector< float > &r, const std::vector< float > &phi, const std::vector< float > &eta)
void putTECW1Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void putPxlFwdHits(const std::vector< float > &tof, const std::vector< float > &z, const std::vector< float > &phi, const std::vector< float > &eta)
SiStripRecHitVector TIBL2RecHits
SiStripDigiVector TECW7Digis
void putHFCalDigis(const std::vector< float > &aee, const std::vector< float > &she)
ECalRecHitVector ESCalRecHits
DTDigiVector MB4Digis
void putTECW4Digis(const std::vector< float > &adc, const std::vector< int > &strip)
SiStripDigiVector TIDW2Digis
void putTOBL2Digis(const std::vector< float > &adc, const std::vector< int > &strip)
uint16_t const *__restrict__ x
Definition: gpuClustering.h:39
SiStripRecHitVector TECW8RecHits
SiStripRecHitVector TOBL3RecHits
void putESCalDigis(const std::vector< float > &adc0, const std::vector< float > &adc1, const std::vector< float > &adc2, const std::vector< float > &she)
void putEBCalRecHits(const std::vector< float > &re, const std::vector< float > &she)
SiStripRecHitVector TIBL1RecHits
void putBRL3RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putG4Vtx(const std::vector< float > &x, const std::vector< float > &y, const std::vector< float > &z)
SiStripDigiVector TECW3Digis
void putSiFwdHits(const std::vector< float > &tof, const std::vector< float > &z, const std::vector< float > &phi, const std::vector< float > &eta)
void putTECW5Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void putMB4Digis(const std::vector< int > &slayer, const std::vector< float > &time, const std::vector< int > &layer)
SiPixelDigiVector BRL2Digis
void putDTHits(const std::vector< unsigned int > &_detUnitId, const std::vector< float > &_trackId, const std::vector< float > &_processType, const std::vector< float > &_particleType, const std::vector< float > &_pabs, const std::vector< float > &_globposz, const std::vector< float > &_globposphi, const std::vector< float > &_globposeta, const std::vector< float > &_locposx, const std::vector< float > &_locposy, const std::vector< float > &_locposz, const std::vector< float > &_locdirx, const std::vector< float > &_locdiry, const std::vector< float > &_locdirz, const std::vector< float > &_locdirtheta, const std::vector< float > &_locdirphi, const std::vector< float > &_exitpointx, const std::vector< float > &_exitpointy, const std::vector< float > &_exitpointz, const std::vector< float > &_entrypointx, const std::vector< float > &_entrypointy, const std::vector< float > &_entrypointz, const std::vector< float > &_enloss, const std::vector< float > &_tof)
std::vector< float > idNxN
void fillEcollectNxN(double een, double hen, double hoen, double etotn)
void putBRL2Digis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
void putTIBL4RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putESCalRecHits(const std::vector< float > &re, const std::vector< float > &she)
void putCSCHits(const std::vector< int > &_cscId, const std::vector< unsigned int > &_detUnitId, const std::vector< float > &_trackId, const std::vector< float > &_processType, const std::vector< float > &_particleType, const std::vector< float > &_pabs, const std::vector< float > &_globposz, const std::vector< float > &_globposphi, const std::vector< float > &_globposeta, const std::vector< float > &_locposx, const std::vector< float > &_locposy, const std::vector< float > &_locposz, const std::vector< float > &_locdirx, const std::vector< float > &_locdiry, const std::vector< float > &_locdirz, const std::vector< float > &_locdirtheta, const std::vector< float > &_locdirphi, const std::vector< float > &_exitpointx, const std::vector< float > &_exitpointy, const std::vector< float > &_exitpointz, const std::vector< float > &_entrypointx, const std::vector< float > &_entrypointy, const std::vector< float > &_entrypointz, const std::vector< float > &_enloss, const std::vector< float > &_tof)
void putFWD1pRecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
SiPixelDigiVector FWD2pDigis
void putPreShHits(const std::vector< float > &e, const std::vector< float > &tof, const std::vector< float > &phi, const std::vector< float > &eta)
SiStripRecHitVector TECW7RecHits
HCalRecHitVector HECalRecHits
DTDigiVector MB2Digis
void putHECalDigis(const std::vector< float > &aee, const std::vector< float > &she)
DTDigiVector MB1Digis
void putDTRecHits(const std::vector< float > &rhd, const std::vector< float > &shd)
SiPixelRecHitVector BRL3RecHits
RPCRecHitVector RPCRecHits
void fillTProfileNxN(double e, int i, double t)
std::vector< float > eLayer
SiStripDigiVector TECW8Digis
SiPixelDigiVector FWD2nDigis
SiPixelRecHitVector FWD2pRecHits
void putEECalDigis(const std::vector< int > &maxpos, const std::vector< double > &aee, const std::vector< float > &she)
SiStripDigiVector TOBL1Digis
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t nHits
SiStripRecHitVector TECW5RecHits
SiPixelRecHitVector BRL2RecHits
void putTIBL1Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void putMB2Digis(const std::vector< int > &slayer, const std::vector< float > &time, const std::vector< int > &layer)
DTRecHitVector DTRecHits
SiStripDigiVector TECW5Digis
ECalDigiVector EBCalDigis
std::vector< float > jetHite
void putTOBL2RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
DTDigiVector MB3Digis
SiPixelDigiVector BRL1Digis
void putPxlBrlHits(const std::vector< float > &tof, const std::vector< float > &r, const std::vector< float > &phi, const std::vector< float > &eta)
void putTIDW2Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void putRawGenPart(int n)
void putG4Vtx(const std::vector< float > &x, const std::vector< float > &y, const std::vector< float > &z)
void putMB3Digis(const std::vector< int > &slayer, const std::vector< float > &time, const std::vector< int > &layer)
void putRPCHits(const std::vector< unsigned int > &_detUnitId, const std::vector< float > &_trackId, const std::vector< float > &_processType, const std::vector< float > &_particleType, const std::vector< float > &_pabs, const std::vector< float > &_globposz, const std::vector< float > &_globposphi, const std::vector< float > &_globposeta, const std::vector< float > &_locposx, const std::vector< float > &_locposy, const std::vector< float > &_locposz, const std::vector< float > &_locdirx, const std::vector< float > &_locdiry, const std::vector< float > &_locdirz, const std::vector< float > &_locdirtheta, const std::vector< float > &_locdirphi, const std::vector< float > &_exitpointx, const std::vector< float > &_exitpointy, const std::vector< float > &_exitpointz, const std::vector< float > &_entrypointx, const std::vector< float > &_entrypointy, const std::vector< float > &_entrypointz, const std::vector< float > &_enloss, const std::vector< float > &_tof)
SiStripRecHitVector TOBL4RecHits
void putMuonDtHits(const std::vector< float > &tof, const std::vector< float > &r, const std::vector< float > &phi, const std::vector< float > &eta)
std::vector< float > hitEta
SiStripDigiVector TOBL4Digis
void putCSCwireDigis(const std::vector< float > &time)
void putTIBL4Digis(const std::vector< float > &adc, const std::vector< int > &strip)
SiStripRecHitVector TOBL1RecHits
void putTIBL2Digis(const std::vector< float > &adc, const std::vector< int > &strip)
HCalDigiVector HBCalDigis
void putTIBL3Digis(const std::vector< float > &adc, const std::vector< int > &strip)
SiStripDigiVector TECW6Digis
SiStripRecHitVector TECW2RecHits
SiStripDigiVector TIBL1Digis
void putTECW4RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putG4Trk(const std::vector< float > &pt, const std::vector< float > &e, const std::vector< float > &eta, const std::vector< float > &phi)
ECalRecHitVector EECalRecHits
void putTOBL3Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void putFWD2pRecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
SiStripRecHitVector TECW3RecHits
void putCSCstripDigis(const std::vector< float > &adc)
SiStripDigiVector TIBL2Digis
void putTIDW3RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void putTIBL3RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
void fillHF(double fibl, double fibs, double enec, double enhc)
uint16_t *__restrict__ uint16_t const *__restrict__ adc
std::vector< float > hitTime
std::vector< float > jetHitr
std::vector< float > hitLayer
void putTIDW1Digis(const std::vector< float > &adc, const std::vector< int > &strip)