Changeset 14089 for trunk/Mars/mraw
- Timestamp:
- 06/06/12 11:04:25 (12 years ago)
- Location:
- trunk/Mars/mraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mraw/MRawFitsRead.cc
r12794 r14089 51 51 #include "MArrayS.h" 52 52 53 #include "MParList.h" 54 53 55 #include "MRawRunHeader.h" 54 56 #include "MRawEvtHeader.h" 55 57 #include "MRawEvtData.h" 58 #include "MRawBoardsFACT.h" 56 59 57 60 ClassImp(MRawFitsRead); … … 64 67 // 65 68 MRawFitsRead::MRawFitsRead(const char *fname, const char *name, const char *title) 66 : MRawFileRead(fname, name, title) 67 { 69 : MRawFileRead(fname, name, title), fRawBoards(0) 70 { 71 } 72 73 Int_t MRawFitsRead::PreProcess(MParList *pList) 74 { 75 fRawBoards = (MRawBoardsFACT*)pList->FindCreateObj("MRawBoardsFACT"); 76 return fRawBoards!=0; 68 77 } 69 78 … … 188 197 return kFALSE; 189 198 199 if (!fin.SetPtrAddress("BoardTime", fRawBoards->fFadTime, 40)) 200 return kFALSE; 201 190 202 if (!fin.SetPtrAddress("Data", (int16_t*)(*data)->GetArray(), (*data)->GetSize()/2)) 191 203 return kFALSE; -
trunk/Mars/mraw/MRawFitsRead.h
r11871 r14089 8 8 #include <vector> 9 9 10 class MRawBoardsFACT; 11 10 12 class MRawFitsRead : public MRawFileRead 11 13 { … … 14 16 std::vector<UShort_t> fPixelMap; //! 15 17 18 MRawBoardsFACT *fRawBoards; 19 20 Int_t PreProcess(MParList *pList); 16 21 istream *OpenFile(const char *filename); 17 22 Bool_t ReadRunHeader(istream &fin);
Note:
See TracChangeset
for help on using the changeset viewer.