| 1 |
kusanagi |
1.1 |
/** @file |
| 2 |
|
|
* $Author: nagni $ |
| 3 |
|
|
* $Date: 2004/03/16 10:18:28 $ |
| 4 |
|
|
* $Revision: 1.6 $ |
| 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/EventHeader.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) {} |
| 28 |
|
|
ClassDef(TechmodelAlgorithm, 1) |
| 29 |
|
|
}; |
| 30 |
|
|
} |
| 31 |
|
|
} |
| 32 |
|
|
|
| 33 |
|
|
#endif /* TECHMODEL_ALGORITHM_H */ |
| 34 |
|
|
|
| 35 |
|
|
|