Class Reference for E1039 Core & Analysis Software
MatrixData.h
Go to the documentation of this file.
1 #ifndef _MJ_MATRIX_DATA_H__
2 #define _MJ_MATRIX_DATA_H__
3 #include <TObject.h>
4 
5 class Road : public TObject
6 {
7  public:
8 
9  int id;
10  int charge; //+1 for +, -1 for -
11  int tb; // +1 for top, -1 for bottom
12  float pX;
13  float pY;
14  float pZ;
15  float chisq;
17  int detectorIDs[3][4];
18  int elementIDs[3][4];
19  float el_pos[3][4];
20  float zpos[3][4];
22  float exp_xpos[4];
23  float exp_ypos[4];
24 
25  Road();
26  virtual ~Road() {;}
27 
28  void clear()
29  {
30  id = 0; charge =0; pX=0;
31  }
32 
33  void get_id();
34 
36 };
37 
38 class RoadPair : public TObject
39 {
40  public:
41 
42  Road roads[2]; //[+,-]
43  float mass;
44  float x1;
45  float x2;
46  float xf;
47 
48  RoadPair();
49  virtual ~RoadPair() {;}
50 
51  void clear()
52  {
53  roads[0].clear(); roads[1].clear();
54  mass=-9999, x1=-9999, x2=-9999, xf=-9999;
55  }
56 
58 };
59 
60 #endif /* _MJ_MATRIX_DATA_H__ */
float mass
Definition: MatrixData.h:43
Road roads[2]
Definition: MatrixData.h:42
float x2
Definition: MatrixData.h:45
virtual ~RoadPair()
Definition: MatrixData.h:49
float x1
Definition: MatrixData.h:44
float xf
Definition: MatrixData.h:46
void clear()
Definition: MatrixData.h:51
ClassDef(RoadPair, 1)
Definition: MatrixData.h:6
float pZ
Definition: MatrixData.h:14
float exp_xpos[4]
at X hodo stations only
Definition: MatrixData.h:22
int id
Definition: MatrixData.h:9
float pY
Definition: MatrixData.h:13
float el_pos[3][4]
Definition: MatrixData.h:19
int tb
Definition: MatrixData.h:11
float exp_ypos[4]
Definition: MatrixData.h:23
ClassDef(Road, 1)
int charge
Definition: MatrixData.h:10
Road()
Definition: MatrixData.cc:5
void clear()
Definition: MatrixData.h:28
virtual ~Road()
Definition: MatrixData.h:26
void get_id()
Definition: MatrixData.cc:23
float zpos[3][4]
Definition: MatrixData.h:20
int detectorIDs[3][4]
followings are [x,y,dp][st]
Definition: MatrixData.h:17
float pX
Definition: MatrixData.h:12
float chisq
Definition: MatrixData.h:15
int elementIDs[3][4]
Definition: MatrixData.h:18