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

Last change on this file since 770 was 716, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 913 bytes
Line 
1#ifndef MCT1READASCII_H
2#define MCT1READASCII_H
3
4#ifndef MTASK_H
5#include "MTask.h"
6#endif
7
8class TArrayC;
9class MCerPhotEvt;
10class MPedestalCam;
11
12class MCT1ReadAscii : public MTask
13{
14private:
15 TString fFileName; // the file name of the string
16 ifstream *fIn; // the inputfile
17 MCerPhotEvt *fNphot; // the data container for all data.
18 MPedestalCam *fPedest; // ct1 pedestals
19 TArrayC *fFileNames; // Array which stores the \0-terminated filenames
20
21 Bool_t OpenNextFile();
22
23 void ReadPedestals();
24 void ReadData();
25
26public:
27 MCT1ReadAscii(const char *filename=NULL,
28 const char *name=NULL,
29 const char *title=NULL);
30
31 ~MCT1ReadAscii();
32
33 void AddFile(const char *fname);
34
35 Bool_t PreProcess(MParList *pList);
36 Bool_t Process();
37
38 ClassDef(MCT1ReadAscii, 0) // Reads the CT1 data file
39};
40
41#endif
42
Note: See TracBrowser for help on using the repository browser.