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

Last change on this file since 13827 was 11871, checked in by tbretz, 13 years ago
added the possibility to read the pixel map from a file
File size: 747 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 MRawFitsRead : public MRawFileRead
11{
12private:
13 std::vector<UInt_t> fPCTime; //! Buffer
14 std::vector<UShort_t> fPixelMap; //!
15
16 istream *OpenFile(const char *filename);
17 Bool_t ReadRunHeader(istream &fin);
18 Bool_t InitReadData(istream &fin);
19 Bool_t ReadEvent(istream &fin);
20 void SkipEvent(istream &fin);
21
22public:
23 MRawFitsRead(const char *filename=NULL, const char *name=NULL, const char *title=NULL);
24
25 static Bool_t IsFits(const char *name);
26
27 Bool_t LoadMap(const char *name);
28
29 ClassDef(MRawFitsRead, 0) // Task to read the raw data binary file
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.