source: trunk/MagicSoft/Mars/mraw/MRawFileWrite.h@ 3370

Last change on this file since 3370 was 2556, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.0 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 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 TFile *fOut; //!
34
35public:
36 MRawFileWrite(const char *fname,
37 const Option_t *opt="RECREATE",
38 const char *ftitle="Untitled",
39 const Int_t comp=1,
40 const char *name=NULL, const char *title=NULL);
41 ~MRawFileWrite();
42
43 Int_t PreProcess(MParList *pList);
44 Int_t Process();
45
46 ClassDef(MRawFileWrite, 0) // Task to write the raw data containers to a root file
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.