1 |
kusanagi |
1.1 |
/** @file |
2 |
kusanagi |
2.0 |
* $Author: kusanagi $ |
3 |
kusanagi |
4.0 |
* $Date: 2005/03/04 15:54:11 $ |
4 |
|
|
* $Revision: 3.0 $ |
5 |
kusanagi |
1.1 |
* |
6 |
|
|
* Header file for the algorithms used to read the techmodel data file. |
7 |
|
|
*/ |
8 |
|
|
|
9 |
|
|
#ifndef TECHMODEL_ALGORITHM_H |
10 |
|
|
#define TECHMODEL_ALGORITHM_H |
11 |
|
|
|
12 |
|
|
#include "event/Algorithm.h" |
13 |
kusanagi |
2.2 |
#include "event/Exception.h" |
14 |
kusanagi |
1.1 |
|
15 |
|
|
namespace pamela { |
16 |
|
|
namespace techmodel { |
17 |
|
|
/** |
18 |
|
|
* Base algorithm for all techmodel reader. |
19 |
|
|
*/ |
20 |
|
|
class TechmodelAlgorithm: public Algorithm { |
21 |
|
|
protected: |
22 |
|
|
ifstream *InputFile; //! |
23 |
|
|
void SetInputStream(PamelaRun*); |
24 |
|
|
TechmodelAlgorithm(const PacketType*, std::string); |
25 |
|
|
public: |
26 |
|
|
virtual void Init(PamelaRun*); |
27 |
kusanagi |
2.2 |
virtual void RunEvent(int, long int = 0) throw (Exception){} |
28 |
kusanagi |
1.1 |
ClassDef(TechmodelAlgorithm, 1) |
29 |
|
|
}; |
30 |
|
|
} |
31 |
|
|
} |
32 |
|
|
|
33 |
|
|
#endif /* TECHMODEL_ALGORITHM_H */ |
34 |
|
|
|
35 |
|
|
|