AlcapDAQ  1
MyTasks.cxx
Go to the documentation of this file.
1 // A set of classes deriving from TTask
2 // see macro tasks.C to see an example of use
3 // The Exec function of each class prints one line when it is called.
4 
5 #include "TTask.h"
6 
7 class MyRun : public TTask {
8 
9 public:
10  MyRun() {;}
11  MyRun(const char *name, const char *title);
12  virtual ~MyRun() {;}
13  void Exec(Option_t *option="");
14 
15  ClassDef(MyRun,1) // Run Reconstruction task
16 };
17 
18 class MyEvent : public TTask {
19 
20 public:
21  MyEvent() {;}
22  MyEvent(const char *name, const char *title);
23  virtual ~MyEvent() {;}
24  void Exec(Option_t *option="");
25 
26  ClassDef(MyEvent,1) // Event Reconstruction task
27 };
28 
29 class MyGeomInit : public TTask {
30 
31 public:
32  MyGeomInit() {;}
33  MyGeomInit(const char *name, const char *title);
34  virtual ~MyGeomInit() {;}
35  void Exec(Option_t *option="");
36 
37  ClassDef(MyGeomInit,1) // Geometry initialisation task
38 };
39 
40 class MyMaterialInit : public TTask {
41 
42 public:
44  MyMaterialInit(const char *name, const char *title);
45  virtual ~MyMaterialInit() {;}
46  void Exec(Option_t *option="");
47 
48  ClassDef(MyMaterialInit,1) // Materials initialisation task
49 };
50 
51 class MyTracker : public TTask {
52 
53 public:
54  MyTracker() {;}
55  MyTracker(const char *name, const char *title);
56  virtual ~MyTracker() {;}
57  void Exec(Option_t *option="");
58 
59  ClassDef(MyTracker,1) // Main Reconstruction task
60 };
61 
62 class MyRecTPC : public TTask {
63 
64 public:
65  MyRecTPC() {;}
66  MyRecTPC(const char *name, const char *title);
67  virtual ~MyRecTPC() {;}
68  void Exec(Option_t *option="");
69 
70  ClassDef(MyRecTPC,1) // TPC Reconstruction
71 };
72 
73 
74 class MyRecITS : public TTask {
75 
76 public:
77  MyRecITS() {;}
78  MyRecITS(const char *name, const char *title);
79  virtual ~MyRecITS() {;}
80  void Exec(Option_t *option="");
81 
82  ClassDef(MyRecITS,1) // ITS Reconstruction
83 };
84 
85 
86 class MyRecMUON : public TTask {
87 
88 public:
89  MyRecMUON() {;}
90  MyRecMUON(const char *name, const char *title);
91  virtual ~MyRecMUON() {;}
92  void Exec(Option_t *option="");
93 
94  ClassDef(MyRecMUON,1) // MUON Reconstruction
95 };
96 
97 
98 class MyRecPHOS : public TTask {
99 
100 public:
101  MyRecPHOS() {;}
102  MyRecPHOS(const char *name, const char *title);
103  virtual ~MyRecPHOS() {;}
104  void Exec(Option_t *option="");
105 
106  ClassDef(MyRecPHOS,1) // PHOS Reconstruction
107 };
108 
109 
110 class MyRecRICH : public TTask {
111 
112 public:
113  MyRecRICH() {;}
114  MyRecRICH(const char *name, const char *title);
115  virtual ~MyRecRICH() {;}
116  void Exec(Option_t *option="");
117 
118  ClassDef(MyRecRICH,1) // RICH Reconstruction
119 };
120 
121 
122 class MyRecTRD : public TTask {
123 
124 public:
125  MyRecTRD() {;}
126  MyRecTRD(const char *name, const char *title);
127  virtual ~MyRecTRD() {;}
128  void Exec(Option_t *option="");
129 
130  ClassDef(MyRecTRD,1) // TRD Reconstruction
131 };
132 
133 
134 class MyRecGlobal : public TTask {
135 
136 public:
138  MyRecGlobal(const char *name, const char *title);
139  virtual ~MyRecGlobal() {;}
140  void Exec(Option_t *option="");
141 
142  ClassDef(MyRecGlobal,1) // Global Reconstruction
143 };
144 
145 
146 //---------------------------------------------------------
148 
149 MyRun::MyRun(const char *name, const char *title)
150  :TTask(name,title)
151 {
152 }
153 
154 void MyRun::Exec(Option_t *option)
155 {
156  printf("MyRun executing\n");
157 }
158 
159 //---------------------------------------------------------
161 
162 MyEvent::MyEvent(const char *name, const char *title)
163  :TTask(name,title)
164 {
165 }
166 
167 void MyEvent::Exec(Option_t *option)
168 {
169  printf("MyEvent executing\n");
170 }
171 
172 //---------------------------------------------------------
174 
175 MyGeomInit::MyGeomInit(const char *name, const char *title)
176  :TTask(name,title)
177 {
178 }
179 
180 void MyGeomInit::Exec(Option_t *option)
181 {
182  printf("MyGeomInit executing\n");
183 }
184 
185 //---------------------------------------------------------
187 
188 MyMaterialInit::MyMaterialInit(const char *name, const char *title)
189  :TTask(name,title)
190 {
191 }
192 
193 void MyMaterialInit::Exec(Option_t *option)
194 {
195  printf("MyMaterialInit executing\n");
196 }
197 
198 //---------------------------------------------------------
200 
201 MyTracker::MyTracker(const char *name, const char *title)
202  :TTask(name,title)
203 {
204 }
205 
206 void MyTracker::Exec(Option_t *option)
207 {
208  printf("MyTracker executing\n");
209 }
210 
211 //---------------------------------------------------------
213 
214 MyRecTPC::MyRecTPC(const char *name, const char *title)
215  :TTask(name,title)
216 {
217 }
218 
219 void MyRecTPC::Exec(Option_t *option)
220 {
221  printf("MyRecTPC executing\n");
222 }
223 
224 //---------------------------------------------------------
226 
227 MyRecITS::MyRecITS(const char *name, const char *title)
228  :TTask(name,title)
229 {
230 }
231 
232 void MyRecITS::Exec(Option_t *option)
233 {
234  printf("MyRecITS executing\n");
235 }
236 
237 //---------------------------------------------------------
239 
240 MyRecMUON::MyRecMUON(const char *name, const char *title)
241  :TTask(name,title)
242 {
243 }
244 
245 void MyRecMUON::Exec(Option_t *option)
246 {
247  printf("MyRecMUON executing\n");
248 }
249 
250 //---------------------------------------------------------
252 
253 MyRecPHOS::MyRecPHOS(const char *name, const char *title)
254  :TTask(name,title)
255 {
256 }
257 
258 void MyRecPHOS::Exec(Option_t *option)
259 {
260  printf("MyRecPHOS executing\n");
261 }
262 
263 //---------------------------------------------------------
265 
266 MyRecRICH::MyRecRICH(const char *name, const char *title)
267  :TTask(name,title)
268 {
269 }
270 
271 void MyRecRICH::Exec(Option_t *option)
272 {
273  printf("MyRecRICH executing\n");
274 }
275 
276 //---------------------------------------------------------
278 
279 MyRecTRD::MyRecTRD(const char *name, const char *title)
280  :TTask(name,title)
281 {
282 }
283 
284 void MyRecTRD::Exec(Option_t *option)
285 {
286  printf("MyRecTRD executing\n");
287 }
288 
289 //---------------------------------------------------------
291 
292 MyRecGlobal::MyRecGlobal(const char *name, const char *title)
293  :TTask(name,title)
294 {
295 }
296 
297 void MyRecGlobal::Exec(Option_t *option)
298 {
299  printf("MyRecGlobal executing\n");
300 }