1 |
mocchiut |
1.1 |
/** @file |
2 |
mocchiut |
1.2 |
* $Author: mocchiut $ |
3 |
|
|
* $Date: 2008/09/23 07:20:25 $ |
4 |
|
|
* $Revision: 1.1.1.1 $ |
5 |
mocchiut |
1.1 |
* |
6 |
|
|
* Header file for the algorithms used to read the techmodel data file. |
7 |
|
|
*/ |
8 |
|
|
|
9 |
|
|
|
10 |
|
|
#ifndef TECHMODEL_ALGORITHM_H |
11 |
|
|
#define TECHMODEL_ALGORITHM_H |
12 |
|
|
|
13 |
|
|
#include <iostream> |
14 |
|
|
#include <fstream> |
15 |
|
|
|
16 |
|
|
#include "event/Algorithm.h" |
17 |
|
|
#include "event/Exception.h" |
18 |
mocchiut |
1.2 |
#include <TString.h> |
19 |
mocchiut |
1.1 |
//my logger |
20 |
|
|
#include "../Logger.h" |
21 |
|
|
|
22 |
|
|
namespace PamOffLineSW |
23 |
|
|
{ |
24 |
|
|
//logger |
25 |
|
|
extern LogUtil* mainLogUtil; |
26 |
|
|
} |
27 |
|
|
|
28 |
|
|
namespace pamela { |
29 |
|
|
namespace techmodel { |
30 |
|
|
|
31 |
|
|
/** |
32 |
|
|
* Base algorithm for all techmodel reader. |
33 |
|
|
*/ |
34 |
|
|
class TechmodelAlgorithm: public Algorithm { |
35 |
|
|
protected: |
36 |
|
|
TechmodelAlgorithm(const PacketType*, std::string); |
37 |
|
|
public: |
38 |
mocchiut |
1.2 |
virtual void Init(PamelaRun*); |
39 |
|
|
virtual void PKT_RunEvent(char*, long int = 0) throw (Exception){} |
40 |
|
|
virtual TObject *GetPtr(TString=""){return this;}; |
41 |
|
|
ClassDef(TechmodelAlgorithm, 2) |
42 |
mocchiut |
1.1 |
}; |
43 |
|
|
} |
44 |
|
|
} |
45 |
|
|
|
46 |
|
|
#endif /* TECHMODEL_ALGORITHM_H */ |
47 |
|
|
|
48 |
|
|
|