Last change
on this file since 17228 was 17068, checked in by tbretz, 11 years ago |
Skip incomplete events by default -- if they are needed, we will have to add some more code.
|
File size:
936 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 MRawBoardsFACT;
|
---|
11 |
|
---|
12 | class MRawFitsRead : public MRawFileRead
|
---|
13 | {
|
---|
14 | private:
|
---|
15 | std::vector<UInt_t> fPCTime; //! Buffer
|
---|
16 | std::vector<UShort_t> fPixelMap; //!
|
---|
17 | UInt_t fNumBoards; //!
|
---|
18 |
|
---|
19 | MRawBoardsFACT *fRawBoards;
|
---|
20 |
|
---|
21 | Int_t PreProcess(MParList *pList);
|
---|
22 | std::istream *OpenFile(const char *filename);
|
---|
23 | Bool_t ReadRunHeader(std::istream &fin);
|
---|
24 | Bool_t InitReadData(std::istream &fin);
|
---|
25 | Bool_t ReadEvent(std::istream &fin);
|
---|
26 | void SkipEvent(std::istream &fin);
|
---|
27 |
|
---|
28 | public:
|
---|
29 | MRawFitsRead(const char *filename=NULL, const char *name=NULL, const char *title=NULL);
|
---|
30 |
|
---|
31 | static Bool_t IsFits(const char *name);
|
---|
32 |
|
---|
33 | Bool_t LoadMap(const char *name);
|
---|
34 |
|
---|
35 | ClassDef(MRawFitsRead, 0) // Task to read the raw data binary file
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.