| 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 | Int_t fNumPixel;
|
|---|
| 21 |
|
|---|
| 22 | Bool_t OpenNextFile();
|
|---|
| 23 |
|
|---|
| 24 | public:
|
|---|
| 25 | MReadCurrents(const char *filename=NULL,
|
|---|
| 26 | const char *name=NULL,
|
|---|
| 27 | const char *title=NULL);
|
|---|
| 28 |
|
|---|
| 29 | ~MReadCurrents();
|
|---|
| 30 |
|
|---|
| 31 | Int_t AddFile(const char *fname, Int_t dummy=-1);
|
|---|
| 32 |
|
|---|
| 33 | Int_t PreProcess(MParList *pList);
|
|---|
| 34 | Int_t Process();
|
|---|
| 35 |
|
|---|
| 36 | void SetNumPixel(Int_t i) { fNumPixel=i; }
|
|---|
| 37 |
|
|---|
| 38 | ClassDef(MReadCurrents, 0) // Reads a Central Control currents file
|
|---|
| 39 | };
|
|---|
| 40 |
|
|---|
| 41 | #endif
|
|---|
| 42 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.