source: trunk/Mars/mraw/MRawFileWrite.h@ 13304

Last change on this file since 13304 was 4738, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MRawFileWrite
2#define MARS_MRawFileWrite
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class TFile;
9class TTree;
10
11class MTime;
12class MParList;
13class MRawRunHeader;
14class MRawEvtHeader;
15class MRawCrateArray;
16class MRawEvtData;
17
18class MRawFileWrite : public MTask
19{
20private:
21 MTime *fTime;
22 MRawRunHeader *fRawRunHeader;
23 MRawEvtHeader *fRawEvtHeader;
24 MRawEvtData *fRawEvtData1;
25 MRawEvtData *fRawEvtData2;
26 MRawCrateArray *fRawCrateArray;
27
28 TTree *fTData; //!
29 TTree *fTPedestal; //!
30 TTree *fTCalibration; //!
31
32 TTree *fTRunHeader; //!
33
34 TFile *fOut; //!
35
36 Bool_t fSplit;
37
38 Int_t PreProcess(MParList *pList);
39 Bool_t ReInit(MParList *pList);
40 Int_t Process();
41
42public:
43 MRawFileWrite(const char *fname, const Option_t *opt="RECREATE",
44 const char *ftitle="Untitled", const Int_t comp=2,
45 const char *name=NULL, const char *title=NULL);
46 ~MRawFileWrite();
47
48 void EnableSplit(Bool_t b=kTRUE) { fSplit=b; }
49
50 ClassDef(MRawFileWrite, 0) // Task to write the raw data containers to a root file
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.