Changeset 12701 for trunk/Mars/mraw
- Timestamp:
- 12/05/11 10:26:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mraw/MRawFitsRead.cc
r12628 r12701 163 163 MArrayS **cell = reinterpret_cast<MArrayS**>(fRawEvtData1->DataMember("fStartCells")); 164 164 UInt_t *evtnum = reinterpret_cast<UInt_t*> (fRawEvtHeader->DataMember("fDAQEvtNumber")); 165 166 if (!data || !cell || !evtnum) 165 UShort_t *trg = reinterpret_cast<UShort_t*>(fRawEvtHeader->DataMember("fTrigPattern")); 166 167 if (!data || !cell || !evtnum || !trg) 167 168 return kFALSE; 168 169 … … 172 173 173 174 if (!fin.SetRefAddress("EventNum", *evtnum)) 175 return kFALSE; 176 177 if (!fin.SetRefAddress("TriggerType", *trg)) 174 178 return kFALSE; 175 179
Note:
See TracChangeset
for help on using the changeset viewer.