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

Last change on this file since 532 was 454, checked in by harald, 24 years ago
Import the first sources of the MAGIC Analysis and Reconstruction Software. T. Bretz and H. Kornmayer 20.December 2000
File size: 1.1 KB
Line 
1#ifndef MRAWFILEWRITE_H
2#define MRAWFILEWRITE_H
3
4#ifndef MTASK_H
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 *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
35public:
36 MRawFileWrite(const char *fname,
37 Option_t *opt="UPDATE",
38 const char *ftitle="Unnamed",
39 Int_t comp=9,
40 const char *name=NULL, const char *title=NULL);
41
42 Bool_t PreProcess(MParList *pList);
43 Bool_t Process();
44 Bool_t PostProcess();
45
46 ClassDef(MRawFileWrite, 1) // 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.