| Line | |
|---|
| 1 | #ifndef MARS_MReadCurrents
|
|---|
| 2 | #define MARS_MReadCurrents
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MTask
|
|---|
| 5 | #include "MTask.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class TList;
|
|---|
| 9 | class MTime;
|
|---|
| 10 | class MCurrents;
|
|---|
| 11 |
|
|---|
| 12 | class MReadCurrents : public MTask
|
|---|
| 13 | {
|
|---|
| 14 | private:
|
|---|
| 15 | ifstream *fIn; // the inputfile
|
|---|
| 16 | MTime *fTime; //
|
|---|
| 17 | MCurrents *fCurrents; //
|
|---|
| 18 | TList *fFileNames; // Array which stores the \0-terminated filenames
|
|---|
| 19 |
|
|---|
| 20 | Bool_t OpenNextFile();
|
|---|
| 21 |
|
|---|
| 22 | public:
|
|---|
| 23 | MReadCurrents(const char *filename=NULL,
|
|---|
| 24 | const char *name=NULL,
|
|---|
| 25 | const char *title=NULL);
|
|---|
| 26 |
|
|---|
| 27 | ~MReadCurrents();
|
|---|
| 28 |
|
|---|
| 29 | Int_t AddFile(const char *fname, Int_t dummy=-1);
|
|---|
| 30 |
|
|---|
| 31 | Int_t PreProcess(MParList *pList);
|
|---|
| 32 | Int_t Process();
|
|---|
| 33 |
|
|---|
| 34 | ClassDef(MReadCurrents, 0) // Reads a Central Control currents file
|
|---|
| 35 | };
|
|---|
| 36 |
|
|---|
| 37 | #endif
|
|---|
| 38 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.