/[PAMELA software]/tracker/flight/PamelaViewer/inc/AcViewer.h
ViewVC logotype

Contents of /tracker/flight/PamelaViewer/inc/AcViewer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Tue Jan 20 10:29:57 2009 UTC (15 years, 10 months ago) by pam-fi
Branch: MAIN, tracker
CVS Tags: V00, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
tracker utilities

1 /**
2 * \file AcViewer.h
3 * \author Elena Vannuccini
4 */
5 #ifndef acviewer_h
6 #define acviewer_h
7
8 #if !defined(__CINT__) || defined(__MAKECINT__)
9
10 #include <PamLevel2.h>
11
12 #include <TObject.h>
13 #include <TObjArray.h>
14 #include <TBox.h>
15
16 #include <iostream>
17 using namespace std;
18 #endif
19
20 /* #define ZTOF11 53.74 */
21 /* #define ZTOF12 53.04 */
22 /* #define ZTOF21 23.94 */
23 /* #define ZTOF22 23.44 */
24 /* #define ZTOF31 -23.49 */
25 /* #define ZTOF32 -24.34 */
26 /* //--------------------- */
27 /* #define NTOF11 8 //x */
28 /* #define DXTOF11 5.1 */
29 /* #define DYTOF11 33.0 */
30 /* #define DTTOF11 0.7 */
31 /* //--------------------- */
32 /* #define NTOF12 6 //y */
33 /* #define DXTOF12 40.8 */
34 /* #define DYTOF12 5.5 */
35 /* #define DTTOF12 0.7 */
36 /* //--------------------- */
37 /* #define NTOF21 2 //y */
38 /* #define DXTOF21 18. */
39 /* #define DYTOF21 7.5 */
40 /* #define DTTOF21 0.5 */
41 /* //--------------------- */
42 /* #define NTOF22 2 //x */
43 /* #define DXTOF22 9. */
44 /* #define DYTOF22 15. */
45 /* #define DTTOF22 0.5 */
46 /* //--------------------- */
47 /* #define NTOF31 3 //x */
48 /* #define DXTOF31 6. */
49 /* #define DYTOF31 15.0 */
50 /* #define DTTOF31 0.7 */
51 /* //--------------------- */
52 /* #define NTOF32 3 //y */
53 /* #define DXTOF32 18.0 */
54 /* #define DYTOF32 5.0 */
55 /* #define DTTOF32 0.7 */
56 /* //--------------------- */
57
58 class GAcVolume : public TObject{
59
60 private:
61
62 /* // --- S11 --- */
63 /* TBox *ftof11x[NTOF11]; */
64 /* TBox *ftof11y; */
65 /* // --- S12 --- */
66 /* TBox *ftof12x; */
67 /* TBox *ftof12y[NTOF12]; */
68 /* // --- S21 --- */
69 /* TBox *ftof21x; */
70 /* TBox *ftof21y[NTOF21]; */
71 /* // --- S22 --- */
72 /* TBox *ftof22x[NTOF22]; */
73 /* TBox *ftof22y; */
74 /* // --- S31 --- */
75 /* TBox *ftof31x[NTOF31]; */
76 /* TBox *ftof31y; */
77 /* // --- S32 --- */
78 /* TBox *ftof32x; */
79 /* TBox *ftof32y[NTOF32]; */
80
81 public:
82
83 GAcVolume();
84 void DrawProjectionX();
85 void DrawProjectionY();
86 // void DrawProjectionT();
87 void Delete();
88
89 ClassDef(GAcVolume,1);
90
91 };
92
93
94 //
95 class GAcLevel2 : public TObject{
96
97 private:
98
99 TClonesArray *HitX; ///< x hit
100 TClonesArray *HitY; ///< y hit
101
102 public:
103
104 GAcLevel2();
105 GAcLevel2(AcLevel2*);
106 GAcLevel2(PamLevel2*);
107
108 void SetLevel2(AcLevel2*);
109
110 void DrawProjectionX();
111 void DrawProjectionY();
112 // void DrawProjectionT();
113
114 void Delete();
115 void Clear();
116
117 ClassDef(GAcLevel2,1);
118
119 };
120 //
121
122
123 class GAcHit : public TObject{
124
125 private:
126
127 TBox *hit_x;
128 TBox *hit_y;
129
130 public:
131 GAcHit();
132 GAcHit(Int_t,Int_t);
133 GAcHit(GToFHit*);
134 void Delete();
135 void DrawProjectionX();
136 void DrawProjectionY();
137
138 ~GAcHit() {Delete();};
139
140 ClassDef(GAcHit,1);
141 };
142
143
144 #endif

  ViewVC Help
Powered by ViewVC 1.1.23