CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PValidationFormats.h
Go to the documentation of this file.
1 #ifndef PValidationFormats_h
2 #define PValidationFormats_h
3 
5 // PGlobalSimHit
7 #ifndef PGlobalSimHit_h
8 #define PGlobalSimHit_h
9 
19 #include <vector>
20 #include <memory>
21 
23 {
24 
25  public:
26 
31  nMuonRpcBrlHits(0) {}
32  virtual ~PGlobalSimHit(){}
33 
34  struct Vtx
35  {
36  Vtx(): x(0), y(0), z(0) {}
37  float x;
38  float y;
39  float z;
40  };
41 
42  struct Trk
43  {
44  Trk() : pt(0), e(0) {}
45  float pt;
46  float e;
47  };
48 
49  struct CalHit
50  {
51  CalHit() : e(0), tof(0), phi(0), eta(0) {}
52  float e;
53  float tof;
54  float phi;
55  float eta;
56  };
57 
58  struct FwdHit
59  {
60  FwdHit() : tof(0), z(0), phi(0), eta(0) {}
61  float tof;
62  float z;
63  float phi;
64  float eta;
65  };
66 
67  struct BrlHit
68  {
69  BrlHit() : tof(0), r(0), phi(0), eta(0) {}
70  float tof;
71  float r;
72  float phi;
73  float eta;
74  };
75 
76  typedef std::vector<Vtx> VtxVector;
77  typedef std::vector<Trk> TrkVector;
78  typedef std::vector<CalHit> CalVector;
79  typedef std::vector<FwdHit> FwdVector;
80  typedef std::vector<BrlHit> BrlVector;
81 
82  // put functions
83  void putRawGenPart(int n);
84  void putG4Vtx(const std::vector<float>& x, const std::vector<float>& y,
85  const std::vector<float>& z);
86  void putG4Trk(const std::vector<float>& pt, const std::vector<float>& e);
87  void putECalHits(const std::vector<float>& e, const std::vector<float>& tof,
88  const std::vector<float>& phi, const std::vector<float>& eta);
89  void putPreShHits(const std::vector<float>& e, const std::vector<float>& tof,
90  const std::vector<float>& phi, const std::vector<float>& eta);
91  void putHCalHits(const std::vector<float>& e, const std::vector<float>& tof,
92  const std::vector<float>& phi, const std::vector<float>& eta);
93  void putPxlFwdHits(const std::vector<float>& tof, const std::vector<float>& z,
94  const std::vector<float>& phi, const std::vector<float>& eta);
95  void putPxlBrlHits(const std::vector<float>& tof, const std::vector<float>& r,
96  const std::vector<float>& phi, const std::vector<float>& eta);
97  void putSiFwdHits(const std::vector<float>& tof, const std::vector<float>& z,
98  const std::vector<float>& phi, const std::vector<float>& eta);
99  void putSiBrlHits(const std::vector<float>& tof, const std::vector<float>& r,
100  const std::vector<float>& phi, const std::vector<float>& eta);
101  void putMuonCscHits(const std::vector<float>& tof, const std::vector<float>& z,
102  const std::vector<float>& phi, const std::vector<float>& eta);
103  void putMuonDtHits(const std::vector<float>& tof, const std::vector<float>& r,
104  const std::vector<float>& phi, const std::vector<float>& eta);
105  void putMuonRpcFwdHits(const std::vector<float>& tof, const std::vector<float>& z,
106  const std::vector<float>& phi, const std::vector<float>& eta);
107  void putMuonRpcBrlHits(const std::vector<float>& tof, const std::vector<float>& r,
108  const std::vector<float>& phi, const std::vector<float>& eta);
109 
110  int getnRawGenPart() const {return nRawGenPart;}
111  int getnG4Vtx() const {return nG4Vtx;}
112  VtxVector getG4Vtx() const {return G4Vtx;}
113  int getnG4Trk() const {return nG4Trk;}
114  TrkVector getG4Trk() const {return G4Trk;}
115  int getnECalHits() const {return nECalHits;}
116  CalVector getECalHits() const {return ECalHits;}
117  int getnPreShHits() const {return nPreShHits;}
118  CalVector getPreShHits() const {return PreShHits;}
119  int getnHCalHits() const {return nHCalHits;}
120  CalVector getHCalHits() const {return HCalHits;}
121  int getnPxlFwdHits() const {return nPxlFwdHits;}
123  int getnPxlBrlHits() const {return nPxlBrlHits;}
125  int getnSiFwdHits() const {return nSiFwdHits;}
126  FwdVector getSiFwdHits() const {return SiFwdHits;}
127  int getnSiBrlHits() const {return nSiBrlHits;}
128  BrlVector getSiBrlHits() const {return SiBrlHits;}
129  int getnMuonDtHits() const {return nMuonDtHits;}
131  int getnMuonCscHits() const {return nMuonCscHits;}
133  int getnMuonRpcFwdHits() const {return nMuonRpcFwdHits;}
135  int getnMuonRpcBrlHits() const {return nMuonRpcBrlHits;}
137 
138  private:
139 
140  // G4MC info
142  int nG4Vtx;
144  int nG4Trk;
146 
147  // ECal info
152 
153  // HCal info
156 
157  // Tracker info
166 
167  // Muon info
176 
177 }; // end class declaration
178 
179 #endif // endif PGlobalHit_h
180 
182 // PGlobalDigi
184 
185 #ifndef PGlobalDigi_h
186 #define PGlobalDigi_h
187 
189 {
190  public:
191 
199  nBRL1Digis(0), nBRL2Digis(0), nBRL3Digis(0),
201  nMB1Digis(0), nMB2Digis(0), nMB3Digis(0), nMB4Digis(0),
202  nCSCstripDigis(0), nCSCwireDigis(0) {}
203  virtual ~PGlobalDigi(){}
204 
206  // ECal Info
208  struct ECalDigi
209  {
210  ECalDigi(): maxPos(0), AEE(0), SHE(0) {}
211  int maxPos;
212  double AEE; //maximum analog equivalent energy
213  float SHE; //simhit energy sum
214  };
215  typedef std::vector<ECalDigi> ECalDigiVector;
216  struct ESCalDigi
217  {
218  ESCalDigi(): ADC0(0), ADC1(0), ADC2(0), SHE(0) {}
219  float ADC0, ADC1, ADC2; //ADC counts
220  float SHE; //sum simhit energy
221  };
222  typedef std::vector<ESCalDigi> ESCalDigiVector;
223  //put functions
224  void putEBCalDigis(const std::vector<int>& maxpos,
225  const std::vector<double>& aee, const std::vector<float>& she);
226  void putEECalDigis(const std::vector<int>& maxpos,
227  const std::vector<double>& aee, const std::vector<float>& she);
228  void putESCalDigis(const std::vector<float>& adc0, const std::vector<float>& adc1,
229  const std::vector<float>& adc2, const std::vector<float>& she);
230  //get functions
231  int getnEBCalDigis() const {return nEBCalDigis;}
232  int getnEECalDigis() const {return nEECalDigis;}
233  int getnESCalDigis() const {return nESCalDigis;}
237 
239  // HCal Info
241  struct HCalDigi
242  {
243  HCalDigi(): AEE(0), SHE(0) {}
244  float AEE; //sum analog equivalent energy in fC
245  float SHE; //simhit energy sum
246  };
247  typedef std::vector<HCalDigi> HCalDigiVector;
248  //put functions
249  void putHBCalDigis(const std::vector<float>& aee, const std::vector<float>& she);
250  void putHECalDigis(const std::vector<float>& aee, const std::vector<float>& she);
251  void putHOCalDigis(const std::vector<float>& aee, const std::vector<float>& she);
252  void putHFCalDigis(const std::vector<float>& aee, const std::vector<float>& she);
253  //get functions
254  int getnHBCalDigis() const {return nHBCalDigis;}
255  int getnHECalDigis() const {return nHECalDigis;}
256  int getnHOCalDigis() const {return nHOCalDigis;}
257  int getnHFCalDigis() const {return nHFCalDigis;}
262 
264  // Silicon Tracker info
266 
268  // SiStrip info
270  struct SiStripDigi
271  {
272  SiStripDigi(): ADC(0), STRIP(0) {}
273  float ADC; //adc value
274  int STRIP; //strip number
275  };
276  typedef std::vector<SiStripDigi> SiStripDigiVector;
277  //put functions
278  void putTIBL1Digis(const std::vector<float>& adc, const std::vector<int>& strip);
279  void putTIBL2Digis(const std::vector<float>& adc, const std::vector<int>& strip);
280  void putTIBL3Digis(const std::vector<float>& adc, const std::vector<int>& strip);
281  void putTIBL4Digis(const std::vector<float>& adc, const std::vector<int>& strip);
282  void putTOBL1Digis(const std::vector<float>& adc, const std::vector<int>& strip);
283  void putTOBL2Digis(const std::vector<float>& adc, const std::vector<int>& strip);
284  void putTOBL3Digis(const std::vector<float>& adc, const std::vector<int>& strip);
285  void putTOBL4Digis(const std::vector<float>& adc, const std::vector<int>& strip);
286  void putTIDW1Digis(const std::vector<float>& adc, const std::vector<int>& strip);
287  void putTIDW2Digis(const std::vector<float>& adc, const std::vector<int>& strip);
288  void putTIDW3Digis(const std::vector<float>& adc, const std::vector<int>& strip);
289  void putTECW1Digis(const std::vector<float>& adc, const std::vector<int>& strip);
290  void putTECW2Digis(const std::vector<float>& adc, const std::vector<int>& strip);
291  void putTECW3Digis(const std::vector<float>& adc, const std::vector<int>& strip);
292  void putTECW4Digis(const std::vector<float>& adc, const std::vector<int>& strip);
293  void putTECW5Digis(const std::vector<float>& adc, const std::vector<int>& strip);
294  void putTECW6Digis(const std::vector<float>& adc, const std::vector<int>& strip);
295  void putTECW7Digis(const std::vector<float>& adc, const std::vector<int>& strip);
296  void putTECW8Digis(const std::vector<float>& adc, const std::vector<int>& strip);
297  //get functions
298  int getnTIBL1Digis() const {return nTIBL1Digis;}
299  int getnTIBL2Digis() const {return nTIBL2Digis;}
300  int getnTIBL3Digis() const {return nTIBL3Digis;}
301  int getnTIBL4Digis() const {return nTIBL4Digis;}
302  int getnTOBL1Digis() const {return nTOBL1Digis;}
303  int getnTOBL2Digis() const {return nTOBL2Digis;}
304  int getnTOBL3Digis() const {return nTOBL3Digis;}
305  int getnTOBL4Digis() const {return nTOBL4Digis;}
306  int getnTIDW1Digis() const {return nTIDW1Digis;}
307  int getnTIDW2Digis() const {return nTIDW2Digis;}
308  int getnTIDW3Digis() const {return nTIDW3Digis;}
309  int getnTECW1Digis() const {return nTECW1Digis;}
310  int getnTECW2Digis() const {return nTECW2Digis;}
311  int getnTECW3Digis() const {return nTECW3Digis;}
312  int getnTECW4Digis() const {return nTECW4Digis;}
313  int getnTECW5Digis() const {return nTECW5Digis;}
314  int getnTECW6Digis() const {return nTECW6Digis;}
315  int getnTECW7Digis() const {return nTECW7Digis;}
316  int getnTECW8Digis() const {return nTECW8Digis;}
336 
338  // SiPixel info
340  struct SiPixelDigi
341  {
342  SiPixelDigi(): ADC(0), ROW(0), COLUMN(0) {}
343  float ADC; //adc value
344  int ROW; //row number
345  int COLUMN; //column number
346  };
347  typedef std::vector<SiPixelDigi> SiPixelDigiVector;
348  //put functions
349  void putBRL1Digis(const std::vector<float>& adc, const std::vector<int>& row,
350  const std::vector<int>& column);
351  void putBRL2Digis(const std::vector<float>& adc, const std::vector<int>& row,
352  const std::vector<int>& column);
353  void putBRL3Digis(const std::vector<float>& adc, const std::vector<int>& row,
354  const std::vector<int>& column);
355  void putFWD1pDigis(const std::vector<float>& adc, const std::vector<int>& row,
356  const std::vector<int>& column);
357  void putFWD1nDigis(const std::vector<float>& adc, const std::vector<int>& row,
358  const std::vector<int>& column);
359  void putFWD2pDigis(const std::vector<float>& adc, const std::vector<int>& row,
360  const std::vector<int>& column);
361  void putFWD2nDigis(const std::vector<float>& adc, const std::vector<int>& row,
362  const std::vector<int>& column);
363  //get functions
364  int getnBRL1Digis() const {return nBRL1Digis;}
365  int getnBRL2Digis() const {return nBRL2Digis;}
366  int getnBRL3Digis() const {return nBRL3Digis;}
367  int getnFWD1pDigis() const {return nFWD1pDigis;}
368  int getnFWD1nDigis() const {return nFWD1nDigis;}
369  int getnFWD2pDigis() const {return nFWD2pDigis;}
370  int getnFWD2nDigis() const {return nFWD2nDigis;}
378 
380  // Muon info
382 
384  // DT Info
386  struct DTDigi
387  {
388  DTDigi(): SLAYER(0), TIME(0), LAYER(0) {}
389  int SLAYER; //superlayer number
390  float TIME; //time of hit
391  int LAYER; //layer number
392  };
393  typedef std::vector<DTDigi> DTDigiVector;
394  //put functions
395  void putMB1Digis(const std::vector<int>& slayer, const std::vector<float>& time,
396  const std::vector<int>& layer);
397  void putMB2Digis(const std::vector<int>& slayer, const std::vector<float>& time,
398  const std::vector<int>& layer);
399  void putMB3Digis(const std::vector<int>& slayer, const std::vector<float>& time,
400  const std::vector<int>& layer);
401  void putMB4Digis(const std::vector<int>& slayer, const std::vector<float>& time,
402  const std::vector<int>& layer);
403  //get functions
404  int getnMB1Digis() const {return nMB1Digis;}
405  int getnMB2Digis() const {return nMB2Digis;}
406  int getnMB3Digis() const {return nMB3Digis;}
407  int getnMB4Digis() const {return nMB4Digis;}
408  DTDigiVector getMB1Digis() const {return MB1Digis;}
409  DTDigiVector getMB2Digis() const {return MB2Digis;}
410  DTDigiVector getMB3Digis() const {return MB3Digis;}
411  DTDigiVector getMB4Digis() const {return MB4Digis;}
412 
414  // CSC Strip info
417  {
418  CSCstripDigi(): ADC(0) {}
419  float ADC; //ped subtracted amplitude
420  };
421  typedef std::vector<CSCstripDigi> CSCstripDigiVector;
422  //put functions
423  void putCSCstripDigis(const std::vector<float>& adc);
424  //get functions
425  int getnCSCstripDigis() const {return nCSCstripDigis;}
427 
429  // CSC Wire info
431  struct CSCwireDigi
432  {
433  CSCwireDigi(): TIME(0) {}
434  float TIME; //time
435  };
436  typedef std::vector<CSCwireDigi> CSCwireDigiVector;
437  //put functions
438  void putCSCwireDigis(const std::vector<float>& time);
439  //get functions
440  int getnCSCwireDigis() const {return nCSCwireDigis;}
442 
443  private:
444 
446  // ECal info
454 
456  // HCal info
466 
468  // Silicon Tracker info
470 
472  //SiStrip info
512 
514  //SiPixel info
530 
532  // Muon info
534 
536  // DT Info
544  int nMB4Digis;
546 
548  // CSC Strip info
552 
554  // CSC Wire info
558 
559 }; // end class declaration
560 
561 #endif //PGlobalDigiHit_h
562 
564 // PGlobalRecHit
566 
567 #ifndef PGlobalRecHit_h
568 #define PGlobalRecHit_h
569 
571 {
572  public:
573 
583  nDTRecHits(0), nCSCRecHits(0), nRPCRecHits(0) {}
584  virtual ~PGlobalRecHit(){}
585 
587  // ECal Info
589  struct ECalRecHit
590  {
591  ECalRecHit(): RE(0), SHE(0) {}
592  float RE; //reconstructed energy
593  float SHE; //simhit energy
594  };
595  typedef std::vector<ECalRecHit> ECalRecHitVector;
596  //put functions
597  void putEBCalRecHits(const std::vector<float>& re, const std::vector<float>& she);
598  void putEECalRecHits(const std::vector<float>& re, const std::vector<float>& she);
599  void putESCalRecHits(const std::vector<float>& re, const std::vector<float>& she);
600  //get functions
601  int getnEBCalRecHits() const {return nEBCalRecHits;}
602  int getnEECalRecHits() const {return nEECalRecHits;}
603  int getnESCalRecHits() const {return nESCalRecHits;}
607 
609  // HCal Info
611  struct HCalRecHit
612  {
613  HCalRecHit(): REC(0), R(0), SHE(0) {}
614  float REC; // reconstructed energy
615  float R; // distance in cone
616  float SHE; // simhit energy
617  };
618  typedef std::vector<HCalRecHit> HCalRecHitVector;
619  //put functions
620  void putHBCalRecHits(const std::vector<float>& rec, const std::vector<float>& r,
621  const std::vector<float>& she);
622  void putHECalRecHits(const std::vector<float>& rec, const std::vector<float>& r,
623  const std::vector<float>& she);
624  void putHOCalRecHits(const std::vector<float>& rec, const std::vector<float>& r,
625  const std::vector<float>& she);
626  void putHFCalRecHits(const std::vector<float>& rec, const std::vector<float>& r,
627  const std::vector<float>& she);
628  //get functions
629  int getnHBCalRecHits() const {return nHBCalRecHits;}
630  int getnHECalRecHits() const {return nHECalRecHits;}
631  int getnHOCalRecHits() const {return nHOCalRecHits;}
632  int getnHFCalRecHits() const {return nHFCalRecHits;}
637 
639  // Silicon Tracker info
641 
643  // SiStrip info
646  {
647  SiStripRecHit(): RX(0), RY(0), SX(0), SY(0) {}
648  float RX; //reconstructed x
649  float RY; //reconstructed y
650  float SX; //simulated x
651  float SY; //simulated y
652  };
653  typedef std::vector<SiStripRecHit> SiStripRecHitVector;
654  //put functions
655  void putTIBL1RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
656  const std::vector<float>& sx, const std::vector<float>& sy);
657  void putTIBL2RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
658  const std::vector<float>& sx, const std::vector<float>& sy);
659  void putTIBL3RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
660  const std::vector<float>& sx, const std::vector<float>& sy);
661  void putTIBL4RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
662  const std::vector<float>& sx, const std::vector<float>& sy);
663  void putTOBL1RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
664  const std::vector<float>& sx, const std::vector<float>& sy);
665  void putTOBL2RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
666  const std::vector<float>& sx, const std::vector<float>& sy);
667  void putTOBL3RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
668  const std::vector<float>& sx, const std::vector<float>& sy);
669  void putTOBL4RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
670  const std::vector<float>& sx, const std::vector<float>& sy);
671  void putTIDW1RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
672  const std::vector<float>& sx, const std::vector<float>& sy);
673  void putTIDW2RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
674  const std::vector<float>& sx, const std::vector<float>& sy);
675  void putTIDW3RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
676  const std::vector<float>& sx, const std::vector<float>& sy);
677  void putTECW1RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
678  const std::vector<float>& sx, const std::vector<float>& sy);
679  void putTECW2RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
680  const std::vector<float>& sx, const std::vector<float>& sy);
681  void putTECW3RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
682  const std::vector<float>& sx, const std::vector<float>& sy);
683  void putTECW4RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
684  const std::vector<float>& sx, const std::vector<float>& sy);
685  void putTECW5RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
686  const std::vector<float>& sx, const std::vector<float>& sy);
687  void putTECW6RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
688  const std::vector<float>& sx, const std::vector<float>& sy);
689  void putTECW7RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
690  const std::vector<float>& sx, const std::vector<float>& sy);
691  void putTECW8RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
692  const std::vector<float>& sx, const std::vector<float>& sy);
693  //get functions
694  int getnTIBL1RecHits() const {return nTIBL1RecHits;}
695  int getnTIBL2RecHits() const {return nTIBL2RecHits;}
696  int getnTIBL3RecHits() const {return nTIBL3RecHits;}
697  int getnTIBL4RecHits() const {return nTIBL4RecHits;}
698  int getnTOBL1RecHits() const {return nTOBL1RecHits;}
699  int getnTOBL2RecHits() const {return nTOBL2RecHits;}
700  int getnTOBL3RecHits() const {return nTOBL3RecHits;}
701  int getnTOBL4RecHits() const {return nTOBL4RecHits;}
702  int getnTIDW1RecHits() const {return nTIDW1RecHits;}
703  int getnTIDW2RecHits() const {return nTIDW2RecHits;}
704  int getnTIDW3RecHits() const {return nTIDW3RecHits;}
705  int getnTECW1RecHits() const {return nTECW1RecHits;}
706  int getnTECW2RecHits() const {return nTECW2RecHits;}
707  int getnTECW3RecHits() const {return nTECW3RecHits;}
708  int getnTECW4RecHits() const {return nTECW4RecHits;}
709  int getnTECW5RecHits() const {return nTECW5RecHits;}
710  int getnTECW6RecHits() const {return nTECW6RecHits;}
711  int getnTECW7RecHits() const {return nTECW7RecHits;}
712  int getnTECW8RecHits() const {return nTECW8RecHits;}
732 
734  // SiPixel info
737  {
738  SiPixelRecHit(): RX(0), RY(0), SX(0), SY(0) {}
739  float RX; //reconstructed x
740  float RY; //reconstructed y
741  float SX; //simulated x
742  float SY; //simulated y
743  };
744  typedef std::vector<SiPixelRecHit> SiPixelRecHitVector;
745  //put functions
746  void putBRL1RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
747  const std::vector<float>& sx, const std::vector<float>& sy);
748  void putBRL2RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
749  const std::vector<float>& sx, const std::vector<float>& sy);
750  void putBRL3RecHits(const std::vector<float>& rx, const std::vector<float>& ry,
751  const std::vector<float>& sx, const std::vector<float>& sy);
752  void putFWD1pRecHits(const std::vector<float>& rx, const std::vector<float>& ry,
753  const std::vector<float>& sx, const std::vector<float>& sy);
754  void putFWD1nRecHits(const std::vector<float>& rx, const std::vector<float>& ry,
755  const std::vector<float>& sx, const std::vector<float>& sy);
756  void putFWD2pRecHits(const std::vector<float>& rx, const std::vector<float>& ry,
757  const std::vector<float>& sx, const std::vector<float>& sy);
758  void putFWD2nRecHits(const std::vector<float>& rx, const std::vector<float>& ry,
759  const std::vector<float>& sx, const std::vector<float>& sy);
760  //get functions
761  int getnBRL1RecHits() const {return nBRL1RecHits;}
762  int getnBRL2RecHits() const {return nBRL2RecHits;}
763  int getnBRL3RecHits() const {return nBRL3RecHits;}
764  int getnFWD1pRecHits() const {return nFWD1pRecHits;}
765  int getnFWD1nRecHits() const {return nFWD1nRecHits;}
766  int getnFWD2pRecHits() const {return nFWD2pRecHits;}
767  int getnFWD2nRecHits() const {return nFWD2nRecHits;}
775 
777  // Muon info
779 
781  // DT Info
783  struct DTRecHit
784  {
785  DTRecHit(): RHD(0), SHD(0) {}
786  float RHD; //distance of rechit from wire
787  float SHD; //distance of simhit from wire
788  };
789  typedef std::vector<DTRecHit> DTRecHitVector;
790  //put functions
791  void putDTRecHits(const std::vector<float>& rhd, const std::vector<float>& shd);
792  //get functions
793  int getnDTRecHits() const {return nDTRecHits;}
795 
797  // CSC info
799  struct CSCRecHit
800  {
801  CSCRecHit(): RHPHI(0), RHPERP(0), SHPHI(0) {}
802  float RHPHI; //reconstructed hit phi
803  float RHPERP; //reconstructed hit perp
804  float SHPHI; //simulated hit phi
805  };
806  typedef std::vector<CSCRecHit> CSCRecHitVector;
807  //put functions
808  void putCSCRecHits(const std::vector<float>& rhphi, const std::vector<float>& rhperp,
809  const std::vector<float>& shphi);
810  //get functions
811  int getnCSCRecHits() const {return nCSCRecHits;}
813 
815  // RPC info
817  struct RPCRecHit
818  {
819  RPCRecHit(): RHX(0), SHX(0) {}
820  float RHX; //reconstructed hit x
821  float SHX; //simulated hit x
822  };
823  typedef std::vector<RPCRecHit> RPCRecHitVector;
824  //put functions
825  void putRPCRecHits(const std::vector<float>& rhx, const std::vector<float>& shx);
826  //get functions
827  int getnRPCRecHits() const {return nRPCRecHits;}
829 
830  private:
831 
833  // ECal info
841 
843  // HCal info
853 
855  // Silicon Tracker info
857 
859  //SiStrip info
899 
901  //SiPixel info
917 
919  // Muon info
921 
923  // DT Info
927 
929  // CSC info
933 
935  // RPC info
939 
940 }; // end class declaration
941 
942 #endif //PGlobalRecHitHit_h
943 
945 // PEcalValidInfo
947 
948 #ifndef PEcalValidInfo_H
949 #define PEcalValidInfo_H
950 
951 /*----------------------------------------------------------
952 Class Description:
953  The Class, PEcalValidInfo, includes all the quantities
954  needed to validate for the Simulation of Eletromagnetic
955  Calorimetor.
956  The Objects of this class will be save into regular
957  Root file vis EDProducer.
958 
959 Author: X.HUANG ( huangxt@fnal.gov )
960 Date: Dec, 2005
961 
962 ---------------------------------------------------------*/
963 
964 #include <string>
965 #include <vector>
967 
968 class EcalTestAnalysis;
969 
971 {
972  friend class EcalTestAnalysis;
973  friend class PreshowerTestAnalysis;
974  friend class SimHitSingleTest;
976  typedef std::vector<float> FloatVector;
977 
978 public:
980  :ee1(0.0),ee4(0.0),ee9(0.0),ee16(0.0),ee25(0.0),
981  eb1(0.0),eb4(0.0),eb9(0.0),eb16(0.0),eb25(0.0),
982  totalEInEE(0.0), totalEInEB(0.0), totalEInES(0.0),
984 {
985 
986  }
987 
988 
990 
991  // Get functions.
992  float ee1x1() const { return ee1; }
993  float ee2x2() const { return ee4; }
994  float ee3x3() const { return ee9; }
995  float ee4x4() const { return ee16;}
996  float ee5x5() const { return ee25;}
997 
998  float eb1x1() const { return eb1; }
999  float eb2x2() const { return eb4; }
1000  float eb3x3() const { return eb9; }
1001  float eb4x4() const { return eb16;}
1002  float eb5x5() const { return eb25;}
1003 
1004  float eInEE() const { return totalEInEE; }
1005  float eInEB() const { return totalEInEB; }
1006  float eInES() const { return totalEInES; }
1007 
1008  float eInEEzp() const { return totalEInEEzp; }
1009  float eInEEzm() const { return totalEInEEzm; }
1010 
1011  float eInESzp() const { return totalEInESzp; }
1012  float eInESzm() const { return totalEInESzm; }
1013 
1014  int hitsInEcal() const { return totalHits; }
1015  int hitsInEE() const { return nHitsInEE; }
1016  int hitsInEB() const { return nHitsInEB; }
1017  int hitsInES() const { return nHitsInES; }
1018  int hitsIn1ES() const { return nHitsIn1ES;}
1019  int hitsIn2ES() const { return nHitsIn2ES;}
1020 
1021  int hitsIn1ESzp() const { return nHitsIn1ESzp;}
1022  int hitsIn1ESzm() const { return nHitsIn1ESzm;}
1023  int hitsIn2ESzp() const { return nHitsIn2ESzp;}
1024  int hitsIn2ESzm() const { return nHitsIn2ESzm;}
1025 
1026  int crystalInEB() const { return nCrystalInEB;}
1027  int crystalInEEzp() const { return nCrystalInEEzp; }
1028  int crystalInEEzm() const { return nCrystalInEEzm; }
1029 
1030  FloatVector bX0() const { return eBX0; }
1031  FloatVector eX0() const { return eEX0; }
1032 
1033 
1034  FloatVector eIn1ES() const { return eOf1ES; }
1035  FloatVector eIn2ES() const { return eOf2ES; }
1036  FloatVector zOfInES() const { return zOfES; }
1037 
1038  FloatVector eIn1ESzp() const { return eOf1ESzp; }
1039  FloatVector eIn1ESzm() const { return eOf1ESzm; }
1040 
1041  FloatVector eIn2ESzp() const { return eOf2ESzp; }
1042  FloatVector eIn2ESzm() const { return eOf2ESzm; }
1043 
1050 
1051 
1056 
1061 
1064 
1065  int pId() const { return thePID; }
1066 
1067 private:
1068 
1069  float ee1; //Energy deposition in cluser1x1
1070  float ee4; //Energy deposition in cluser2x2
1071  float ee9; //Energy deposition in cluser3x3
1072  float ee16; //Energy deposition in cluser4x4
1073  float ee25; //Energy deposition in cluser5x5
1074 
1075  float eb1; //Energy deposition in cluser1x1
1076  float eb4; //Energy deposition in cluser2x2
1077  float eb9; //Energy deposition in cluser3x3
1078  float eb16; //Energy deposition in cluser4x4
1079  float eb25; //Energy deposition in cluser5x5
1080 
1081 
1082 
1083  float totalEInEE; //The Total Energy deposited in EE;
1084  float totalEInEB; //The Total Energy deposited in EB;
1085  float totalEInES; //The Total Energy deposited in ES;
1086 
1091 
1092 
1093 
1094  int totalHits; //Total number of Hits.
1095  int nHitsInEE; //Total number of Hits in EE.
1096  int nHitsInEB; //Total number of Hits in EB.
1097  int nHitsInES; //Total number of Hits in ES.
1098  int nHitsIn1ES; //Total number of Hits in 1st Layer of ES;
1099  int nHitsIn2ES; //Total number of Hits in 2nd Layer of ES;
1100 
1105 
1109 
1110 
1111  FloatVector eBX0; // longitudinal Energy deposition In EB.
1112  FloatVector eEX0; // longitudinal Energy deposition In EE.
1113 
1114  FloatVector eOf1ES; // Energy deposition of Hits in 1st layer of ES;
1115  FloatVector eOf2ES; // Energy deposition of Hits in 2nd layer of ES;
1117 
1118 
1123 
1126  FloatVector tOfEECaloG4Hit; // Tof of Hits.
1127  FloatVector eOfEECaloG4Hit; // Energy depostion of Hits.
1128  FloatVector eOfEEPlusCaloG4Hit; // Energy depostion of Hits.
1129  FloatVector eOfEEMinusCaloG4Hit; // Energy depostion of Hits.
1130 
1133  FloatVector tOfESCaloG4Hit; // Tof of Hits.
1134  FloatVector eOfESCaloG4Hit; // Energy depostion of Hits.
1135 
1138  FloatVector tOfEBCaloG4Hit; // Tof of Hits.
1139  FloatVector eOfEBCaloG4Hit; // Energy depostion of Hits.
1140 
1141 
1142 
1143  int thePID; // add more ??
1146 };
1147 
1148 
1149 #endif // endif PECal
1150 
1152 // PHcalValidInfoJets
1154 
1155 #ifndef PHcalValidInfoJets_H
1156 #define PHcalValidInfoJets_H
1157 
1158 #include <string>
1159 #include <vector>
1160 #include <memory>
1161 
1162 class SimG4HcalValidation;
1163 
1165 
1166  friend class SimG4HcalValidation;
1167 
1168 public:
1169 
1171  hoJet(0.), etotJet(0.), detaJet(0.), dphiJet(0.),
1172  drJet(0.), dijetM(0.) {}
1173  virtual ~PHcalValidInfoJets() {}
1174 
1175  // acceess
1176 
1177  std::vector<float> jethite() const {return jetHite;}
1178  std::vector<float> jethitr() const {return jetHitr;}
1179  std::vector<float> jethitt() const {return jetHitt;}
1180  int njethit() const {return nJetHit;}
1181 
1182  std::vector<float> jete() const {return jetE;}
1183  std::vector<float> jeteta() const {return jetEta;}
1184  std::vector<float> jetphi() const {return jetPhi;}
1185  int njet() const {return nJet;}
1186 
1187  float ecaljet() const {return ecalJet;}
1188  float hcaljet() const {return hcalJet;}
1189  float hojet() const {return hoJet;}
1190  float etotjet() const {return etotJet;}
1191 
1192  float detajet() const {return detaJet;}
1193  float dphijet() const {return dphiJet;}
1194  float drjet() const {return drJet;}
1195  float dijetm() const {return dijetM;}
1196 
1197  // fill
1198  void fillTProfileJet (double e, double r, double t);
1199  void fillEcollectJet (double ee, double he, double hoe, double etot);
1200  void fillEtaPhiProfileJet (double eta0, double phi0, double eta,
1201  double phi, double dist);
1202  void fillJets (const std::vector<double>& enj, const std::vector<double>& etaj,
1203  const std::vector<double>& phij);
1204  void fillDiJets (double mass);
1205 
1206 private:
1207 
1211  std::vector<float> jetHite;
1212  std::vector<float> jetHitr;
1213  std::vector<float> jetHitt;
1214  std::vector<float> jetE;
1215  std::vector<float> jetEta;
1216  std::vector<float> jetPhi;
1217 
1218 };
1219 
1220 #endif
1221 
1223 // PHcalValidInfoLayer
1225 
1226 #ifndef PHcalValidInfoLayer_H
1227 #define PHcalValidInfoLayer_H
1228 
1229 #include <string>
1230 #include <vector>
1231 #include <memory>
1232 
1233 class SimG4HcalValidation;
1234 
1236 
1237  friend class SimG4HcalValidation;
1238 
1239 public:
1240 
1241  PHcalValidInfoLayer(): hitN(0), eHO(0.0),eHBHE(0.0),eEBEE(0.0),elongHF(0.0),
1242  eshortHF(0.0), eEcalHF(0.0), eHcalHF(0.0) {}
1244 
1245  // access
1246  int nHit() const {return hitN;}
1247 
1248  float eho() const {return eHO;}
1249  float ehbhe() const {return eHBHE;}
1250  float eebee() const {return eEBEE;}
1251  float elonghf() const {return elongHF;}
1252  float eshorthf() const {return eshortHF;}
1253  float eecalhf() const {return eEcalHF;}
1254  float ehcalhf() const {return eHcalHF;}
1255 
1256  std::vector<float> elayer() const {return eLayer;}
1257  std::vector<float> edepth() const {return eDepth;}
1258 
1259  std::vector<float> etaHit() const {return hitEta;}
1260  std::vector<float> phiHit() const {return hitPhi;}
1261  std::vector<float> eHit() const {return hitE;}
1262  std::vector<float> tHit() const {return hitTime;}
1263  std::vector<float> layerHit() const {return hitLayer;}
1264  std::vector<float> idHit() const {return hitId;}
1265 
1266  // filling
1267  void fillLayers (double el[], double ed[], double ho, double hbhe,
1268  double ebee);
1269  void fillHF (double fibl, double fibs, double enec, double enhc);
1270  void fillHits (int Nhits, int lay, int unitID, double eta, double phi,
1271  double ehit, double t);
1272  // void clear();
1273 
1274 
1275 private:
1276 
1277  int hitN;
1278  float eHO, eHBHE, eEBEE;
1280  std::vector<float> eLayer;
1281  std::vector<float> eDepth;
1282  // SimHits parameters
1283  std::vector<float> hitLayer; // float for int
1284  std::vector<float> hitId; // float for int
1285  std::vector<float> hitEta;
1286  std::vector<float> hitPhi;
1287  std::vector<float> hitE;
1288  std::vector<float> hitTime;
1289 
1290 };
1291 
1292 #endif
1293 
1295 // PHcalValidInfoNxN
1297 
1298 #ifndef PHcalValidInfoNxN_H
1299 #define PHcalValidInfoNxN_H
1300 
1301 #include <string>
1302 #include <vector>
1303 #include <memory>
1304 
1305 class SimG4HcalValidation;
1306 
1307 
1309 
1310  friend class SimG4HcalValidation;
1311 
1312 public:
1313 
1315  etotNxNr(0.), ecalNxN(0.), hcalNxN(0.), hoNxN(0.), etotNxN(0.) {}
1316  virtual ~PHcalValidInfoNxN() {}
1317 
1318  // access
1319  std::vector<float> idnxn() const {return idNxN;}
1320  std::vector<float> enxn() const {return eNxN;}
1321  std::vector<float> tnxn() const {return tNxN;}
1322  int nnxn() const {return nNxN;}
1323 
1324  float ecalnxnr() const {return ecalNxNr;}
1325  float hcalnxnr() const {return hcalNxNr;}
1326  float honxnr() const {return hoNxNr;}
1327  float etotnxnr() const {return etotNxNr;}
1328 
1329  float ecalnxn () const {return ecalNxN ;}
1330  float hcalnxn () const {return hcalNxN ;}
1331  float honxn () const {return hoNxN ;}
1332  float etotnxn () const {return etotNxN ;}
1333 
1334 
1335  // fill
1336  void fillHvsE (double ee, double he, double hoe, double etot);
1337  void fillEcollectNxN (double een, double hen, double hoen, double etotn);
1338  void fillTProfileNxN (double e, int i, double t);
1339 
1340 private:
1341 
1342  int nNxN;
1345  std::vector<float> idNxN; // float for int
1346  std::vector<float> eNxN;
1347  std::vector<float> tNxN;
1348 
1349 };
1350 
1351 #endif
1352 
1354 // PMuonSimHit
1356 
1357 #ifndef PMuonSimHit_h
1358 #define PMuonSimHit_h
1359 
1360 #include <vector>
1361 #include <memory>
1362 
1365 
1367 {
1368  public:
1369 
1371  nCSCHits(0), nDTHits(0), nRPCHits(0) {}
1372  virtual ~PMuonSimHit(){}
1373 
1374  struct Vtx
1375  {
1376  Vtx(): x(0), y(0), z(0) {}
1377  float x;
1378  float y;
1379  float z;
1380  };
1381 
1382  struct Trk
1383  {
1384  Trk() : pt(0), e(0), eta(0), phi(0) {}
1385  float pt;
1386  float e;
1387  float eta;
1388  float phi;
1389  };
1390 
1391 
1392  struct CSC
1393  {
1394  CSC() :
1395  _cscId(0),
1396  _detUnitId(0), _trackId(0), _processType(0),
1397  _particleType(0),_pabs(0),
1398  _globposz(0), _globposphi(0), _globposeta(0),
1399  _locposx(0), _locposy(0), _locposz(0),
1400  _locdirx(0), _locdiry(0), _locdirz(0),
1401  _locdirtheta(0), _locdirphi(0),
1402  _exitpointx(0), _exitpointy(0), _exitpointz(0),
1404  _enloss(0), _tof(0) {}
1405 
1406  int _cscId;
1407  unsigned int _detUnitId;
1408  float _trackId;
1411  float _pabs;
1412  float _globposz;
1415  float _locposx;
1416  float _locposy;
1417  float _locposz;
1418  float _locdirx;
1419  float _locdiry;
1420  float _locdirz;
1422  float _locdirphi;
1429  float _enloss;
1430  float _tof;
1431  };
1432 
1433  struct DT
1434  {
1435  DT() :
1436  _detUnitId(0), _trackId(0), _processType(0),
1437  _particleType(0),_pabs(0),
1438  _globposz(0), _globposphi(0), _globposeta(0),
1439  _locposx(0), _locposy(0), _locposz(0),
1440  _locdirx(0), _locdiry(0), _locdirz(0),
1441  _locdirtheta(0), _locdirphi(0),
1442  _exitpointx(0), _exitpointy(0), _exitpointz(0),
1444  _enloss(0), _tof(0) {}
1445 
1446  unsigned int _detUnitId;
1447  float _trackId;
1450  float _pabs;
1451  float _globposz;
1454  float _locposx;
1455  float _locposy;
1456  float _locposz;
1457  float _locdirx;
1458  float _locdiry;
1459  float _locdirz;
1461  float _locdirphi;
1468  float _enloss;
1469  float _tof;
1470  };
1471 
1472  struct RPC
1473  {
1474  RPC() :
1475  _detUnitId(0), _trackId(0), _processType(0),
1476  _particleType(0),_pabs(0),
1477  _globposz(0), _globposphi(0), _globposeta(0),
1478  _locposx(0), _locposy(0), _locposz(0),
1479  _locdirx(0), _locdiry(0), _locdirz(0),
1480  _locdirtheta(0), _locdirphi(0),
1481  _exitpointx(0), _exitpointy(0), _exitpointz(0),
1483  _enloss(0), _tof(0) {}
1484 
1485  unsigned int _detUnitId;
1486  float _trackId;
1489  float _pabs;
1490  float _globposz;
1493  float _locposx;
1494  float _locposy;
1495  float _locposz;
1496  float _locdirx;
1497  float _locdiry;
1498  float _locdirz;
1500  float _locdirphi;
1507  float _enloss;
1508  float _tof;
1509  };
1510 
1511  typedef std::vector<Vtx> VtxVector;
1512  typedef std::vector<Trk> TrkVector;
1513 
1514  typedef std::vector<CSC> CSCVector;
1515  typedef std::vector<DT> DTVector;
1516  typedef std::vector<RPC> RPCVector;
1517 
1519 
1520  void putRawGenPart(int n);
1521 
1522  void putG4Vtx(const std::vector<float>& x, const std::vector<float>& y,
1523  const std::vector<float>& z);
1524  void putG4Trk(const std::vector<float>& pt, const std::vector<float>& e,
1525  const std::vector<float>& eta, const std::vector<float>& phi);
1526 
1527  void putCSCHits(
1528  const std::vector<int>& _cscId,
1529  const std::vector<unsigned int>& _detUnitId,
1530  const std::vector<float>& _trackId ,
1531  const std::vector<float>& _processType,
1532  const std::vector<float>& _particleType,
1533  const std::vector<float>& _pabs,
1534  const std::vector<float>& _globposz,
1535  const std::vector<float>& _globposphi,
1536  const std::vector<float>& _globposeta,
1537  const std::vector<float>& _locposx,
1538  const std::vector<float>& _locposy,
1539  const std::vector<float>& _locposz,
1540  const std::vector<float>& _locdirx,
1541  const std::vector<float>& _locdiry,
1542  const std::vector<float>& _locdirz,
1543  const std::vector<float>& _locdirtheta,
1544  const std::vector<float>& _locdirphi,
1545  const std::vector<float>& _exitpointx,
1546  const std::vector<float>& _exitpointy,
1547  const std::vector<float>& _exitpointz,
1548  const std::vector<float>& _entrypointx,
1549  const std::vector<float>& _entrypointy,
1550  const std::vector<float>& _entrypointz,
1551  const std::vector<float>& _enloss,
1552  const std::vector<float>& _tof);
1553 
1554  void putDTHits(
1555  const std::vector<unsigned int>& _detUnitId,
1556  const std::vector<float>& _trackId ,
1557  const std::vector<float>& _processType,
1558  const std::vector<float>& _particleType,
1559  const std::vector<float>& _pabs,
1560  const std::vector<float>& _globposz,
1561  const std::vector<float>& _globposphi,
1562  const std::vector<float>& _globposeta,
1563  const std::vector<float>& _locposx,
1564  const std::vector<float>& _locposy,
1565  const std::vector<float>& _locposz,
1566  const std::vector<float>& _locdirx,
1567  const std::vector<float>& _locdiry,
1568  const std::vector<float>& _locdirz,
1569  const std::vector<float>& _locdirtheta,
1570  const std::vector<float>& _locdirphi,
1571  const std::vector<float>& _exitpointx,
1572  const std::vector<float>& _exitpointy,
1573  const std::vector<float>& _exitpointz,
1574  const std::vector<float>& _entrypointx,
1575  const std::vector<float>& _entrypointy,
1576  const std::vector<float>& _entrypointz,
1577  const std::vector<float>& _enloss,
1578  const std::vector<float>& _tof);
1579 
1580  void putRPCHits(
1581  const std::vector<unsigned int>& _detUnitId,
1582  const std::vector<float>& _trackId ,
1583  const std::vector<float>& _processType,
1584  const std::vector<float>& _particleType,
1585  const std::vector<float>& _pabs,
1586  const std::vector<float>& _globposz,
1587  const std::vector<float>& _globposphi,
1588  const std::vector<float>& _globposeta,
1589  const std::vector<float>& _locposx,
1590  const std::vector<float>& _locposy,
1591  const std::vector<float>& _locposz,
1592  const std::vector<float>& _locdirx,
1593  const std::vector<float>& _locdiry,
1594  const std::vector<float>& _locdirz,
1595  const std::vector<float>& _locdirtheta,
1596  const std::vector<float>& _locdirphi,
1597  const std::vector<float>& _exitpointx,
1598  const std::vector<float>& _exitpointy,
1599  const std::vector<float>& _exitpointz,
1600  const std::vector<float>& _entrypointx,
1601  const std::vector<float>& _entrypointy,
1602  const std::vector<float>& _entrypointz,
1603  const std::vector<float>& _enloss,
1604  const std::vector<float>& _tof);
1605 
1607 
1608  int getnRawGenPart() {return nRawGenPart;}
1609  int getnG4Vtx() {return nG4Vtx;}
1610  int getnG4Trk() {return nG4Trk;}
1611 
1614 
1615  int getnCSCHits() {return nCSCHits;}
1617 
1618  int getnDTHits() {return nDTHits;}
1620 
1621  int getnRPCHits() {return nRPCHits;}
1623 
1624 
1625 private:
1626 
1628 
1630  int nG4Vtx;
1632  int nG4Trk;
1634 
1636 
1639 
1640  int nDTHits;
1642 
1645 
1646 };
1647 
1648 #endif
1649 
1651 // PTrackerSimHit
1653 
1654 #ifndef PTrackerSimHit_h
1655 #define PTrackerSimHit_h
1656 
1657 #include <vector>
1658 #include <memory>
1659 
1661 {
1662 
1663  public:
1664 
1666  virtual ~PTrackerSimHit(){}
1667 
1668  struct Vtx
1669  {
1670  Vtx(): x(0), y(0), z(0) {}
1671  float x;
1672  float y;
1673  float z;
1674  };
1675 
1676  struct Trk
1677  {
1678  Trk() : pt(0), e(0), eta(0), phi(0) {}
1679  float pt;
1680  float e;
1681  float eta;
1682  float phi;
1683  };
1684 
1685 
1686  struct Hit
1687  {
1689  _particleType(0), _pabs(0),
1690  _lpx(0), _lpy(0), _lpz(0),
1691  _ldx(0), _ldy(0), _ldz(0), _ldtheta(0), _ldphi(0),
1692  _exx(0), _exy(0), _exz(0),
1693  _enx(0), _eny(0), _enz(0), _eloss(0), _tof(0) {}
1694  int _sysID;
1695  float _detUnitId;
1696  float _trackId;
1699  float _pabs;
1700  float _lpx;
1701  float _lpy;
1702  float _lpz;
1703  float _ldx;
1704  float _ldy;
1705  float _ldz;
1706  float _ldtheta;
1707  float _ldphi;
1708  float _exx;
1709  float _exy;
1710  float _exz;
1711  float _enx;
1712  float _eny;
1713  float _enz;
1714  float _eloss;
1715  float _tof;
1716  };
1717 
1718 
1719  typedef std::vector<Vtx> VtxVector;
1720  typedef std::vector<Trk> TrkVector;
1721  typedef std::vector<Hit> HitVector;
1722 
1723  // put functions
1724  void putRawGenPart(int n);
1725  void putG4Vtx(const std::vector<float> &x, const std::vector<float> &y, const std::vector<float> &z);
1726  void putG4Trk(const std::vector<float> &pt, const std::vector<float> &e, const std::vector<float> &eta, const std::vector<float> &phi);
1727  void putHits(const std::vector<int> &_sysID, const std::vector<float> &_detUnitId,
1728  const std::vector<float>&_trackId , const std::vector<float>&_processType,
1729  const std::vector<float>&_particleType, const std::vector<float> &_pabs,
1730  const std::vector<float>&_lpx, const std::vector<float>&_lpy, const std::vector<float>&_lpz,
1731  const std::vector<float>&_ldx, const std::vector<float>&_ldy, const std::vector<float>&_ldz,
1732  const std::vector<float>&_ldtheta, const std::vector<float>&_ldphi,
1733  const std::vector<float>&_exx, const std::vector<float>&_exy, const std::vector<float>&_exz,
1734  const std::vector<float>&_enx, const std::vector<float>&_eny, const std::vector<float>&_enz,
1735  const std::vector<float>&_eloss, const std::vector<float>&_tof);
1736 
1737  // get functions
1738  int getnRawGenPart() {return nRawGenPart;}
1739  int getnG4Vtx() {return nG4Vtx;}
1741  int getnG4Trk() {return nG4Trk;}
1743  int getnHits() {return nHits;}
1744  HitVector getHits() {return Hits;}
1745 
1746  private:
1747 
1748  // G4MC info
1750  int nG4Vtx;
1752  int nG4Trk;
1754  // Tracker info
1755  int nHits;
1757 
1758 
1759 }; // end class declaration
1760 
1761 #endif
1762 
1763 #endif // endif PValidationFormats_h
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
CalVector getPreShHits() const
FloatVector eOfEEPlusHits() const
void putTECW7Digis(const std::vector< float > &adc, const std::vector< int > &strip)
TrkVector getG4Trk()
SiPixelRecHitVector getBRL1RecHits() const
void fillJets(const std::vector< double > &enj, const std::vector< double > &etaj, const std::vector< double > &phij)
SiStripRecHitVector getTIDW2RecHits() const
int getnBRL3RecHits() const
BrlVector getPxlBrlHits() const
void putTOBL4Digis(const std::vector< float > &adc, const std::vector< int > &strip)
SiStripRecHitVector getTECW5RecHits() const
FloatVector eOfEEMinusCaloG4Hit
std::vector< float > jetEta
SiStripRecHitVector TOBL2RecHits
FloatVector eOfESCaloG4Hit
int i
Definition: DBlmapReader.cc:9
float eb4x4() const
int hitsInEcal() const
virtual ~PGlobalDigi()
void putFWD2pDigis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
FloatVector eOfEEHits() const
void putTOBL1Digis(const std::vector< float > &adc, const std::vector< int > &strip)
SiStripDigiVector getTOBL1Digis() const
std::vector< Trk > TrkVector
std::vector< float > eHit() const
void putHFCalRecHits(const std::vector< float > &rec, const std::vector< float > &r, const std::vector< float > &she)
float eInEB() const
HCalRecHitVector HFCalRecHits
HCalDigiVector HOCalDigis
int getnDTRecHits() const
SiStripRecHitVector getTECW8RecHits() const
std::vector< Trk > TrkVector
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
std::vector< Trk > TrkVector
std::vector< float > FloatVector
int getnTOBL1Digis() const
FloatVector eOfEEPlusCaloG4Hit
int getnTECW2Digis() const
void putHECalRecHits(const std::vector< float > &rec, const std::vector< float > &r, const std::vector< float > &she)
CSCwireDigiVector CSCwireDigis
FloatVector eIn2ESzm() const
std::vector< SiPixelDigi > SiPixelDigiVector
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)
int getnTIDW1Digis() const
void putTOBL4RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
DTDigiVector getMB1Digis() const
SiStripDigiVector getTIDW2Digis() const
std::vector< ECalRecHit > ECalRecHitVector
int getnTECW4Digis() const
FloatVector tOfESHits() const
int hitsIn1ESzp() const
void putHCalHits(const std::vector< float > &e, const std::vector< float > &tof, const std::vector< float > &phi, const std::vector< float > &eta)
FloatVector phiOfEECaloG4Hit
SiPixelDigiVector getBRL2Digis() const
int getnTIBL4Digis() const
int getnTECW5Digis() const
std::vector< float > jetE
void fillLayers(double el[], double ed[], double ho, double hbhe, double ebee)
SiStripRecHitVector TIDW1RecHits
DTVector getDTHits()
void putHBCalRecHits(const std::vector< float > &rec, const std::vector< float > &r, const std::vector< float > &she)
std::vector< float > tnxn() const
SiStripDigiVector TECW4Digis
void fillEcollectJet(double ee, double he, double hoe, double etot)
HCalRecHitVector getHFCalRecHits() const
FwdVector getMuonCscHits() const
FloatVector tOfEECaloG4Hit
void putMuonRpcFwdHits(const std::vector< float > &tof, const std::vector< float > &z, const std::vector< float > &phi, const std::vector< float > &eta)
SiPixelDigiVector getFWD1nDigis() const
SiStripRecHitVector getTECW3RecHits() const
SiPixelRecHitVector getBRL3RecHits() const
FloatVector tOfEEHits() const
std::vector< float > eNxN
float ee3x3() const
SiStripDigiVector TIDW3Digis
int getnMB2Digis() const
SiPixelRecHitVector getBRL2RecHits() const
void fillEtaPhiProfileJet(double eta0, double phi0, double eta, double phi, double dist)
SiStripRecHitVector getTIBL2RecHits() const
void putTECW6RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
float ee5x5() const
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)
SiPixelDigiVector getFWD2nDigis() const
SiStripDigiVector getTOBL4Digis() const
CSCRecHitVector getCSCRecHits() const
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
float etotnxnr() const
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)
SiStripDigiVector getTIDW3Digis() const
float hcalnxnr() const
int getnTECW7RecHits() const
void fillDiJets(double mass)
FwdVector MuonRpcFwdHits
std::vector< CSC > CSCVector
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)
SiPixelDigiVector getFWD1pDigis() const
void putMB1Digis(const std::vector< int > &slayer, const std::vector< float > &time, const std::vector< int > &layer)
int getnRawGenPart() const
friend class EcalTestAnalysis
std::vector< float > jete() const
void putTIDW1RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
SiStripRecHitVector TECW1RecHits
FloatVector etaOfEECaloG4Hit
FloatVector phiOfEBCaloG4Hit
math::XYZTLorentzVector vertex() const
int getnHFCalRecHits() const
void putRPCRecHits(const std::vector< float > &rhx, const std::vector< float > &shx)
float eInEEzm() const
int getnSiFwdHits() const
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
SiStripRecHitVector getTOBL4RecHits() const
int getnTECW6Digis() const
int getnHOCalDigis() const
void putMuonCscHits(const std::vector< float > &tof, const std::vector< float > &z, const std::vector< float > &phi, const std::vector< float > &eta)
int getnFWD1nRecHits() const
void putECalHits(const std::vector< float > &e, const std::vector< float > &tof, const std::vector< float > &phi, const std::vector< float > &eta)
SiStripRecHitVector TECW4RecHits
SiStripDigiVector getTECW1Digis() const
float eInES() const
SiStripRecHitVector TIDW2RecHits
SiStripDigiVector getTIBL1Digis() const
SiPixelDigiVector getBRL3Digis() const
int hitsIn1ES() const
SiPixelRecHitVector FWD1pRecHits
std::vector< CSCwireDigi > CSCwireDigiVector
int getnFWD2nDigis() const
ESCalDigiVector ESCalDigis
int getnMB1Digis() const
std::vector< float > eDepth
std::vector< float > enxn() const
VtxVector getG4Vtx()
std::vector< DT > DTVector
float eb1x1() const
int getnTECW8Digis() const
std::vector< CSCRecHit > CSCRecHitVector
void putHOCalDigis(const std::vector< float > &aee, const std::vector< float > &she)
std::vector< float > idnxn() const
FloatVector eIn2ESzp() const
SiPixelDigiVector FWD1nDigis
CSCstripDigiVector CSCstripDigis
int getnHCalHits() const
int getnFWD2pRecHits() const
HCalRecHitVector HOCalRecHits
void putFWD2nDigis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
T eta() const
SiStripDigiVector TECW2Digis
float eInEEzp() const
FloatVector phiOfEBHits() const
SiStripDigiVector TIDW1Digis
int getnMuonCscHits() const
void putFWD1nDigis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
SiStripDigiVector TOBL2Digis
FwdVector getPxlFwdHits() const
int crystalInEEzm() const
void putTECW8Digis(const std::vector< float > &adc, const std::vector< int > &strip)
FloatVector eOfESHits() const
SiStripDigiVector TIBL4Digis
unsigned int _detUnitId
float eInESzp() const
std::vector< float > jetHitt
math::XYZTLorentzVector momentum() const
void putG4Vtx(const std::vector< float > &x, const std::vector< float > &y, const std::vector< float > &z)
int getnBRL2RecHits() const
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)
int hitsIn2ESzm() const
FloatVector etaOfEBCaloG4Hit
std::vector< float > hitId
SiStripRecHitVector TIDW3RecHits
float float float z
int getnMuonRpcFwdHits() const
FloatVector eOfEEMinusHits() const
math::XYZTLorentzVector theVertex
HCalDigiVector HECalDigis
void fillHits(int Nhits, int lay, int unitID, double eta, double phi, double ehit, double t)
math::XYZTLorentzVector theMomentum
int getnMuonDtHits() const
int getnPreShHits() const
int getnCSCRecHits() const
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
std::vector< float > jeteta() const
SiStripRecHitVector getTOBL3RecHits() const
SiPixelRecHitVector BRL1RecHits
std::vector< RPCRecHit > RPCRecHitVector
CSCRecHitVector CSCRecHits
std::vector< float > jetphi() const
void putBRL1Digis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
SiStripRecHitVector getTIBL4RecHits() const
int getnESCalRecHits() const
SiStripDigiVector getTECW2Digis() const
int crystalInEB() const
std::vector< float > jethitr() const
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:30
SiPixelDigiVector FWD1pDigis
int getnTIBL3RecHits() const
ECalDigiVector getEBCalDigis() const
DTDigiVector getMB3Digis() const
int getnHBCalDigis() const
int nCSCHits
Hit info.
SiStripRecHitVector TECW6RecHits
int getnTOBL1RecHits() const
void putTECW6Digis(const std::vector< float > &adc, const std::vector< int > &strip)
void putG4Trk(const std::vector< float > &pt, const std::vector< float > &e)
int getnFWD2pDigis() const
int getnMB4Digis() const
std::vector< float > layerHit() const
void putHBCalDigis(const std::vector< float > &aee, const std::vector< float > &she)
float eb2x2() const
void putTECW2Digis(const std::vector< float > &adc, const std::vector< int > &strip)
int getnEBCalDigis() const
void putTOBL1RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
SiStripRecHitVector getTIDW1RecHits() const
SiPixelRecHitVector getFWD2nRecHits() const
int getnTECW5RecHits() const
DTDigiVector getMB4Digis() const
HCalDigiVector HFCalDigis
RPCVector getRPCHits()
void putTIDW2RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
DTRecHitVector getDTRecHits() const
float ee4x4() const
void putFWD2nRecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
FwdVector getSiFwdHits() const
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
virtual ~PMuonSimHit()
ECalDigiVector EECalDigis
float eInEE() const
void putG4Trk(const std::vector< float > &pt, const std::vector< float > &e, const std::vector< float > &eta, const std::vector< float > &phi)
std::vector< DTDigi > DTDigiVector
void putHOCalRecHits(const std::vector< float > &rec, const std::vector< float > &r, const std::vector< float > &she)
std::vector< SiStripRecHit > SiStripRecHitVector
SiStripDigiVector TIBL3Digis
SiStripDigiVector getTECW8Digis() const
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)
HCalRecHitVector getHOCalRecHits() const
int crystalInEEzp() const
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)
int getnESCalDigis() const
int getnBRL1RecHits() const
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)
FloatVector etaOfESHits() const
SiStripRecHitVector getTECW7RecHits() const
FloatVector eIn1ESzp() const
FloatVector eOfEBCaloG4Hit
ECalRecHitVector getEBCalRecHits() const
TrkVector getG4Trk() const
SiStripRecHitVector TIBL2RecHits
std::vector< CalHit > CalVector
int getnTECW1RecHits() const
SiStripDigiVector TECW7Digis
void putHFCalDigis(const std::vector< float > &aee, const std::vector< float > &she)
ECalRecHitVector ESCalRecHits
int getnBRL3Digis() const
DTDigiVector MB4Digis
RPCRecHitVector getRPCRecHits() const
HCalDigiVector getHFCalDigis() const
void putTECW4Digis(const std::vector< float > &adc, const std::vector< int > &strip)
int getnBRL1Digis() const
std::vector< float > idHit() const
std::vector< Hit > HitVector
int hitsInES() const
SiStripDigiVector TIDW2Digis
void putTOBL2Digis(const std::vector< float > &adc, const std::vector< int > &strip)
int getnFWD1nDigis() const
int getnTOBL3RecHits() const
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)
FloatVector phiOfEEHits() const
FloatVector eIn1ESzm() const
std::vector< float > jethite() const
int getnTECW1Digis() const
int getnTECW8RecHits() const
FloatVector phiOfESCaloG4Hit
SiStripDigiVector getTECW4Digis() const
int getnTIDW2Digis() const
std::vector< float > edepth() const
void putEBCalRecHits(const std::vector< float > &re, const std::vector< float > &she)
int getnTIBL2Digis() const
SiStripRecHitVector TIBL1RecHits
float hcalnxn() const
SiPixelRecHitVector getFWD1pRecHits() const
float ecalnxn() const
void putBRL3RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
int getnTOBL2Digis() const
void putG4Vtx(const std::vector< float > &x, const std::vector< float > &y, const std::vector< float > &z)
std::vector< DTRecHit > DTRecHitVector
friend class SimHitSingleTest
int getnHFCalDigis() const
int getnPxlFwdHits() const
SiStripDigiVector TECW3Digis
void putSiFwdHits(const std::vector< float > &tof, const std::vector< float > &z, const std::vector< float > &phi, const std::vector< float > &eta)
SiStripRecHitVector getTECW6RecHits() const
float etotnxn() const
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
CSCwireDigiVector getCSCwireDigis() const
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)
int getnTECW6RecHits() const
SiStripDigiVector getTIBL4Digis() const
int getnTECW7Digis() const
std::vector< float > idNxN
BrlVector getMuonDtHits() const
void fillEcollectNxN(double een, double hen, double hoen, double etotn)
std::vector< float > jethitt() const
void putBRL2Digis(const std::vector< float > &adc, const std::vector< int > &row, const std::vector< int > &column)
float ecalnxnr() const
int getnRPCRecHits() const
SiStripRecHitVector getTECW2RecHits() const
void putTIBL4RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
int getnG4Trk() const
SiStripRecHitVector getTECW4RecHits() const
void putESCalRecHits(const std::vector< float > &re, const std::vector< float > &she)
int getnTIDW1RecHits() const
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)
ESCalDigiVector getESCalDigis() const
int getnTOBL2RecHits() const
SiPixelDigiVector getFWD2pDigis() const
VtxVector getG4Vtx() const
int hitsIn1ESzm() const
int hitsIn2ES() const
int getnTIDW3RecHits() const
void putFWD1pRecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
HCalRecHitVector getHECalRecHits() const
friend class PreshowerTestAnalysis
SiPixelDigiVector FWD2pDigis
void putPreShHits(const std::vector< float > &e, const std::vector< float > &tof, const std::vector< float > &phi, const std::vector< float > &eta)
int hitsInEB() const
virtual ~PGlobalRecHit()
SiStripRecHitVector TECW7RecHits
HCalRecHitVector HECalRecHits
int getnTECW2RecHits() const
DTDigiVector MB2Digis
void putHECalDigis(const std::vector< float > &aee, const std::vector< float > &she)
std::vector< HCalRecHit > HCalRecHitVector
DTDigiVector MB1Digis
int getnMB3Digis() const
void putDTRecHits(const std::vector< float > &rhd, const std::vector< float > &shd)
float eb5x5() const
SiPixelRecHitVector BRL3RecHits
RPCRecHitVector RPCRecHits
SiStripDigiVector getTECW7Digis() const
void fillTProfileNxN(double e, int i, double t)
std::vector< float > eLayer
SiStripRecHitVector getTOBL2RecHits() const
FloatVector eIn2ES() const
std::vector< RPC > RPCVector
SiStripDigiVector getTOBL3Digis() const
SiStripDigiVector TECW8Digis
int getnHOCalRecHits() const
FloatVector etaOfEBHits() const
SiPixelDigiVector FWD2nDigis
SiPixelRecHitVector FWD2pRecHits
SiStripDigiVector getTIBL2Digis() const
CSCVector getCSCHits()
void putEECalDigis(const std::vector< int > &maxpos, const std::vector< double > &aee, const std::vector< float > &she)
SiStripDigiVector TOBL1Digis
int getnTIBL1RecHits() const
int getnHBCalRecHits() const
std::vector< CSCstripDigi > CSCstripDigiVector
SiStripRecHitVector TECW5RecHits
SiStripDigiVector getTIBL3Digis() const
int getnFWD1pRecHits() const
int hitsIn2ESzp() const
SiPixelRecHitVector BRL2RecHits
FloatVector tOfEBHits() const
void putTIBL1Digis(const std::vector< float > &adc, const std::vector< int > &strip)
int getnG4Vtx() const
int getnMuonRpcBrlHits() const
float eb3x3() const
void putMB2Digis(const std::vector< int > &slayer, const std::vector< float > &time, const std::vector< int > &layer)
DTRecHitVector DTRecHits
SiStripDigiVector getTECW5Digis() const
std::vector< float > phiHit() const
FloatVector etaOfESCaloG4Hit
SiStripDigiVector TECW5Digis
ECalRecHitVector getEECalRecHits() const
ECalDigiVector EBCalDigis
std::vector< float > jetHite
int getnECalHits() const
void putTOBL2RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
std::vector< float > elayer() const
DTDigiVector MB3Digis
std::vector< Vtx > VtxVector
int getnTIBL3Digis() const
std::vector< Vtx > VtxVector
SiStripRecHitVector getTIDW3RecHits() const
HCalRecHitVector getHBCalRecHits() const
int getnTIDW2RecHits() const
SiPixelDigiVector BRL1Digis
int getnTIDW3Digis() const
ECalDigiVector getEECalDigis() const
int getnHECalDigis() const
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)
std::vector< ECalDigi > ECalDigiVector
int getnTECW4RecHits() const
FloatVector eX0() const
int getnEBCalRecHits() const
CalVector getHCalHits() const
float eInESzm() const
SiPixelRecHitVector getFWD2pRecHits() const
void putG4Vtx(const std::vector< float > &x, const std::vector< float > &y, const std::vector< float > &z)
std::vector< SiPixelRecHit > SiPixelRecHitVector
int getnHECalRecHits() const
FloatVector phiOfiESHits() const
SiStripRecHitVector getTOBL1RecHits() const
int getnRawGenPart()
get functions
int getnCSCwireDigis() const
void putMB3Digis(const std::vector< int > &slayer, const std::vector< float > &time, const std::vector< int > &layer)
HCalDigiVector getHBCalDigis() const
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
int getnEECalRecHits() const
FloatVector eOfEBHits() const
CalVector getECalHits() const
std::vector< FwdHit > FwdVector
std::vector< float > tHit() const
SiStripRecHitVector getTIBL1RecHits() const
int getnFWD1pDigis() const
void putMuonDtHits(const std::vector< float > &tof, const std::vector< float > &r, const std::vector< float > &phi, const std::vector< float > &eta)
int getnTECW3Digis() const
HCalDigiVector getHECalDigis() const
int getnTIBL4RecHits() const
FloatVector tOfESCaloG4Hit
std::vector< SiStripDigi > SiStripDigiVector
int getnSiBrlHits() const
int getnTECW3RecHits() const
std::vector< float > hitEta
SiPixelRecHitVector getFWD1nRecHits() const
FloatVector bX0() const
Definition: DDAxes.h:10
FloatVector etaOfEEHits() const
SiStripDigiVector TOBL4Digis
void putCSCwireDigis(const std::vector< float > &time)
void putTIBL4Digis(const std::vector< float > &adc, const std::vector< int > &strip)
float ee1x1() const
int getnEECalDigis() const
SiStripRecHitVector TOBL1RecHits
void putTIBL2Digis(const std::vector< float > &adc, const std::vector< int > &strip)
HCalDigiVector HBCalDigis
FloatVector tOfEBCaloG4Hit
CSCstripDigiVector getCSCstripDigis() const
void putTIBL3Digis(const std::vector< float > &adc, const std::vector< int > &strip)
HCalDigiVector getHOCalDigis() const
std::vector< Vtx > VtxVector
FloatVector eOfEECaloG4Hit
int getnFWD2nRecHits() const
SiStripDigiVector TECW6Digis
SiStripRecHitVector TECW2RecHits
BrlVector getMuonRpcBrlHits() const
int hitsInEE() const
SiStripDigiVector TIBL1Digis
void putTECW4RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
SiStripDigiVector getTOBL2Digis() const
void putG4Trk(const std::vector< float > &pt, const std::vector< float > &e, const std::vector< float > &eta, const std::vector< float > &phi)
int getnTIBL2RecHits() const
ECalRecHitVector EECalRecHits
std::vector< BrlHit > BrlVector
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
BrlVector getSiBrlHits() const
SiStripDigiVector getTIDW1Digis() const
void putCSCstripDigis(const std::vector< float > &adc)
int getnPxlBrlHits() const
SiStripDigiVector TIBL2Digis
void putTIDW3RecHits(const std::vector< float > &rx, const std::vector< float > &ry, const std::vector< float > &sx, const std::vector< float > &sy)
FwdVector getMuonRpcFwdHits() const
SiStripDigiVector getTECW6Digis() const
int getnCSCstripDigis() const
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)
FloatVector eIn1ES() const
SiStripDigiVector getTECW3Digis() const
int getnTOBL3Digis() const
std::vector< ESCalDigi > ESCalDigiVector
int getnTOBL4Digis() const
std::vector< float > etaHit() const
int getnBRL2Digis() const
std::vector< HCalDigi > HCalDigiVector
std::vector< float > hitTime
SiStripRecHitVector getTECW1RecHits() const
int getnTIBL1Digis() const
virtual ~PGlobalSimHit()
SiStripRecHitVector getTIBL3RecHits() const
SiPixelDigiVector getBRL1Digis() const
std::vector< float > jetHitr
float ee2x2() const
DTDigiVector getMB2Digis() const
ECalRecHitVector getESCalRecHits() const
std::vector< float > hitLayer
Definition: DDAxes.h:10
void putTIDW1Digis(const std::vector< float > &adc, const std::vector< int > &strip)
FloatVector zOfInES() const
int getnTOBL4RecHits() const