Changeset 14089 for trunk/Mars/mraw/MRawFitsRead.cc
- Timestamp:
- 06/06/12 11:04:25 (12 years ago)
- File:
-
- 1 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;
Note:
See TracChangeset
for help on using the changeset viewer.