Line | |
---|
1 | #ifndef MARS_MRawFileWrite
|
---|
2 | #define MARS_MRawFileWrite
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TFile;
|
---|
9 | class TTree;
|
---|
10 |
|
---|
11 | class MTime;
|
---|
12 | class MParList;
|
---|
13 | class MRawRunHeader;
|
---|
14 | class MRawEvtHeader;
|
---|
15 | class MRawCrateArray;
|
---|
16 | class MRawEvtData;
|
---|
17 |
|
---|
18 | class MRawFileWrite : public MTask
|
---|
19 | {
|
---|
20 | private:
|
---|
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 |
|
---|
42 | public:
|
---|
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.