source: tags/Mars-V0.8.1/mfileio/MReadCurrents.h

Last change on this file was 2377, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 845 bytes
Line 
1#ifndef MARS_MReadCurrents
2#define MARS_MReadCurrents
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class TList;
9class MTime;
10class MCurrents;
11
12class MReadCurrents : public MTask
13{
14private:
15 ifstream *fIn; // the inputfile
16 MTime *fTime; //
17 MCurrents *fCurrents; //
18 TList *fFileNames; // Array which stores the \0-terminated filenames
19
20 Int_t fNumPixel;
21
22 Bool_t OpenNextFile();
23
24public:
25 MReadCurrents(const char *filename=NULL,
26 const char *name=NULL,
27 const char *title=NULL);
28
29 ~MReadCurrents();
30
31 Int_t AddFile(const char *fname, Int_t dummy=-1);
32
33 Int_t PreProcess(MParList *pList);
34 Int_t Process();
35
36 void SetNumPixel(Int_t i) { fNumPixel=i; }
37
38 ClassDef(MReadCurrents, 0) // Reads a Central Control currents file
39};
40
41#endif
42
Note: See TracBrowser for help on using the repository browser.