/[PAMELA software]/yoda/techmodel/TechmodelAlgorithm.h
ViewVC logotype

Contents of /yoda/techmodel/TechmodelAlgorithm.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2.2 - (show annotations) (download)
Fri Dec 3 22:08:01 2004 UTC (20 years ago) by kusanagi
Branch: MAIN
Changes since 2.1: +4 -3 lines
File MIME type: text/plain
Finally added a real group of Exception classes
Re-strucuted all the log systems (for better performances on unpacking)
Minor changes following the packets changes

1 /** @file
2 * $Author: kusanagi $
3 * $Date: 2004/10/17 12:28:38 $
4 * $Revision: 2.1 $
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

  ViewVC Help
Powered by ViewVC 1.1.23