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

Last change on this file since 11556 was 11490, checked in by tbretz, 13 years ago
Replaced fPCTime by a two byte buffer and init full time; added StartCell to reading.
File size: 662 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
15 istream *OpenFile(const char *filename);
16 Bool_t ReadRunHeader(istream &fin);
17 Bool_t InitReadData(istream &fin);
18 Bool_t ReadEvent(istream &fin);
19 void SkipEvent(istream &fin);
20
21public:
22 MRawFitsRead(const char *filename=NULL, const char *name=NULL, const char *title=NULL);
23
24 static Bool_t IsFits(const char *name);
25
26 ClassDef(MRawFitsRead, 0) // Task to read the raw data binary file
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.