1 |
/** @file |
2 |
* $Author: kusanagi $ |
3 |
* $Date: 2005/03/04 15:54:11 $ |
4 |
* $Revision: 3.0 $ |
5 |
* |
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 |
#include "event/Exception.h" |
14 |
|
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 |
virtual void RunEvent(int, long int = 0) throw (Exception){} |
28 |
ClassDef(TechmodelAlgorithm, 1) |
29 |
}; |
30 |
} |
31 |
} |
32 |
|
33 |
#endif /* TECHMODEL_ALGORITHM_H */ |
34 |
|
35 |
|