source: trunk/MagicSoft/Mars/manalysis/MCT1ReadAscii.h@ 1002

Last change on this file since 1002 was 1002, checked in by tbretz, 23 years ago
:
  • Property svn:executable set to *
File size: 848 bytes
Line 
1#ifndef MCT1READASCII_H
2#define MCT1READASCII_H
3
4#ifndef MTASK_H
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.