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 | MParList *pParList;
|
---|
22 |
|
---|
23 | MTime *fTime;
|
---|
24 | MRawRunHeader *fRawRunHeader;
|
---|
25 | MRawEvtHeader *fRawEvtHeader;
|
---|
26 | MRawEvtData *fRawEvtData;
|
---|
27 | MRawCrateArray *fRawCrateArray;
|
---|
28 |
|
---|
29 | TTree *fTData; //!
|
---|
30 | TTree *fTPedestal; //!
|
---|
31 | TTree *fTCalibration; //!
|
---|
32 |
|
---|
33 | TTree *fTRunHeader; //!
|
---|
34 |
|
---|
35 | TFile *fOut; //!
|
---|
36 |
|
---|
37 | Int_t PreProcess(MParList *pList);
|
---|
38 | Bool_t ReInit(MParList *pList);
|
---|
39 | Int_t Process();
|
---|
40 |
|
---|
41 | public:
|
---|
42 | MRawFileWrite(const char *fname,
|
---|
43 | const Option_t *opt="RECREATE",
|
---|
44 | const char *ftitle="Untitled",
|
---|
45 | const Int_t comp=2,
|
---|
46 | const char *name=NULL, const char *title=NULL);
|
---|
47 | ~MRawFileWrite();
|
---|
48 |
|
---|
49 | ClassDef(MRawFileWrite, 0) // Task to write the raw data containers to a root file
|
---|
50 | };
|
---|
51 |
|
---|
52 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.