Line | |
---|
1 | #ifndef MARS_MCT1ReadAscii
|
---|
2 | #define MARS_MCT1ReadAscii
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TList;
|
---|
9 | class MCerPhotEvt;
|
---|
10 | class MPedPhotCam;
|
---|
11 |
|
---|
12 | class MCT1ReadAscii : public MTask
|
---|
13 | {
|
---|
14 | private:
|
---|
15 | ifstream *fIn; // the inputfile
|
---|
16 | MCerPhotEvt *fNphot; // the data container for all data.
|
---|
17 | MPedPhotCam *fPedest; // CT1 pedestals
|
---|
18 | TList *fFileNames; // Array which stores the \0-terminated filenames
|
---|
19 |
|
---|
20 | Bool_t OpenNextFile();
|
---|
21 |
|
---|
22 | void ReadPedestals();
|
---|
23 | void ReadData();
|
---|
24 |
|
---|
25 | Int_t PreProcess(MParList *pList);
|
---|
26 | Int_t Process();
|
---|
27 |
|
---|
28 | public:
|
---|
29 | MCT1ReadAscii(const char *filename=NULL,
|
---|
30 | const char *name=NULL,
|
---|
31 | const char *title=NULL);
|
---|
32 |
|
---|
33 | ~MCT1ReadAscii();
|
---|
34 |
|
---|
35 | Int_t AddFile(const char *fname, Int_t dummy=-1);
|
---|
36 |
|
---|
37 | ClassDef(MCT1ReadAscii, 0) // Reads the CT1 data file
|
---|
38 | };
|
---|
39 |
|
---|
40 | #endif
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.