source: trunk/MagicSoft/Mars/mfileio/MCT1ReadAscii.h@ 1466

Last change on this file since 1466 was 1381, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 857 bytes
Line 
1#ifndef MARS_MCT1ReadAscii
2#define MARS_MCT1ReadAscii
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class TList;
9class MCerPhotEvt;
10class MPedestalCam;
11
12class MCT1ReadAscii : public MTask
13{
14private:
15 ifstream *fIn; // the inputfile
16 MCerPhotEvt *fNphot; // the data container for all data.
17 MPedestalCam *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
25public:
26 MCT1ReadAscii(const char *filename=NULL,
27 const char *name=NULL,
28 const char *title=NULL);
29
30 ~MCT1ReadAscii();
31
32 void AddFile(const char *fname);
33
34 Bool_t PreProcess(MParList *pList);
35 Bool_t Process();
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.