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