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