|
Last change
on this file since 11565 was 11490, checked in by tbretz, 14 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 |
|
|---|
| 10 | class MRawFitsRead : public MRawFileRead
|
|---|
| 11 | {
|
|---|
| 12 | private:
|
|---|
| 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 |
|
|---|
| 21 | public:
|
|---|
| 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.