source: branches/MarsGapdTimeJitter/manalysisct1/MCT1ReadAscii.h@ 18315

Last change on this file since 18315 was 4460, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 859 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 MPedPhotCam;
11
12class MCT1ReadAscii : public MTask
13{
14private:
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
28public:
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.