1 |
kusanagi |
1.1 |
/** @file |
2 |
kusanagi |
2.0 |
* $Author: kusanagi $ |
3 |
kusanagi |
2.1 |
* $Date: 2004/09/21 20:50:54 $ |
4 |
|
|
* $Revision: 2.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 |
|
|
|
14 |
|
|
namespace pamela { |
15 |
|
|
namespace techmodel { |
16 |
|
|
/** |
17 |
|
|
* Base algorithm for all techmodel reader. |
18 |
|
|
*/ |
19 |
|
|
class TechmodelAlgorithm: public Algorithm { |
20 |
|
|
protected: |
21 |
|
|
ifstream *InputFile; //! |
22 |
|
|
void SetInputStream(PamelaRun*); |
23 |
|
|
TechmodelAlgorithm(const PacketType*, std::string); |
24 |
|
|
public: |
25 |
|
|
virtual void Init(PamelaRun*); |
26 |
|
|
virtual void RunEvent(int, long int = 0) {} |
27 |
|
|
ClassDef(TechmodelAlgorithm, 1) |
28 |
|
|
}; |
29 |
|
|
} |
30 |
|
|
} |
31 |
|
|
|
32 |
|
|
#endif /* TECHMODEL_ALGORITHM_H */ |
33 |
|
|
|
34 |
|
|
|