source: trunk/Mars/mraw/MRawFitsRead.h@ 14445

Last change on this file since 14445 was 14089, checked in by tbretz, 13 years ago
Added reading of board times.
File size: 845 bytes
Line 
1#ifndef MARS_MRawFitsRead
2#define MARS_MRawFitsRead
3
4#ifndef MARS_MRawFileRead
5#include "MRawFileRead.h"
6#endif
7
8#include <vector>
9
10class MRawBoardsFACT;
11
12class MRawFitsRead : public MRawFileRead
13{
14private:
15 std::vector<UInt_t> fPCTime; //! Buffer
16 std::vector<UShort_t> fPixelMap; //!
17
18 MRawBoardsFACT *fRawBoards;
19
20 Int_t PreProcess(MParList *pList);
21 istream *OpenFile(const char *filename);
22 Bool_t ReadRunHeader(istream &fin);
23 Bool_t InitReadData(istream &fin);
24 Bool_t ReadEvent(istream &fin);
25 void SkipEvent(istream &fin);
26
27public:
28 MRawFitsRead(const char *filename=NULL, const char *name=NULL, const char *title=NULL);
29
30 static Bool_t IsFits(const char *name);
31
32 Bool_t LoadMap(const char *name);
33
34 ClassDef(MRawFitsRead, 0) // Task to read the raw data binary file
35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.