icemc
rx.hpp
Go to the documentation of this file.
1 // rx.hpp //
4 
5 #ifndef RX_HPP
6 #define RX_HPP 1
7 
8 // Standard Library #includes
9 #include <vector>
10 
11 // ROOT Library #includes
12 #include "TObject.h"
13 
14 // from RVersion.h
15 #if ROOT_VERSION_CODE >= ROOT_VERSION(6,0,0)
16 #include "TClingRuntime.h"
17 #else
18 #include "TCint.h"
19 #endif
20 
21 class RX : public TObject {
22 public:
23  unsigned phi_sector;
24  unsigned layer;
25  double x, y, z;
26  std::vector <double>* waveform;
27  std::vector <double>* digitized;
28  RX (void) : phi_sector(0xffff),layer(0xffff), x(0),y(0),z(0), waveform (NULL), digitized (NULL) {}
29  ~RX (void) {delete waveform; delete digitized;}
30  ClassDef(RX, 1);
31 };
32 
33 #endif
~RX(void)
Definition: rx.hpp:29
RX(void)
Definition: rx.hpp:28
unsigned phi_sector
Definition: rx.hpp:23
double y
Definition: rx.hpp:25
std::vector< double > * digitized
Definition: rx.hpp:27
Definition: rx.hpp:21
double z
Definition: rx.hpp:25
std::vector< double > * waveform
Definition: rx.hpp:26
unsigned layer
Definition: rx.hpp:24
double x
Definition: rx.hpp:25
ClassDef(RX, 1)