CMS 3D CMS Logo

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