Last change
on this file since 19503 was 17781, checked in by tbretz, 11 years ago |
Added a possibility to access the Fits Stream and the PCTime in a constant manner
|
File size:
1.0 KB
|
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 fits;
|
---|
11 | class MRawBoardsFACT;
|
---|
12 |
|
---|
13 | class MRawFitsRead : public MRawFileRead
|
---|
14 | {
|
---|
15 | private:
|
---|
16 | std::vector<UInt_t> fPCTime; //! Buffer
|
---|
17 | std::vector<UShort_t> fPixelMap; //!
|
---|
18 | UInt_t fNumBoards; //!
|
---|
19 |
|
---|
20 | MRawBoardsFACT *fRawBoards;
|
---|
21 |
|
---|
22 | Int_t PreProcess(MParList *pList);
|
---|
23 | std::istream *OpenFile(const char *filename);
|
---|
24 | Bool_t ReadRunHeader(std::istream &fin);
|
---|
25 | Bool_t InitReadData(std::istream &fin);
|
---|
26 | Bool_t ReadEvent(std::istream &fin);
|
---|
27 | void SkipEvent(std::istream &fin);
|
---|
28 |
|
---|
29 | public:
|
---|
30 | MRawFitsRead(const char *filename=NULL, const char *name=NULL, const char *title=NULL);
|
---|
31 |
|
---|
32 | static Bool_t IsFits(const char *name);
|
---|
33 |
|
---|
34 | Bool_t LoadMap(const char *name);
|
---|
35 |
|
---|
36 | const fits *GetFitsFile() const;
|
---|
37 |
|
---|
38 | const std::vector<UInt_t> &GetPCTime() const { return fPCTime; }
|
---|
39 |
|
---|
40 | ClassDef(MRawFitsRead, 0) // Task to read the raw data binary file
|
---|
41 | };
|
---|
42 |
|
---|
43 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.