Changeset 19940 for trunk/Mars
- Timestamp:
- 04/02/20 11:39:25 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mraw/MRawFitsRead.cc
r19823 r19940 170 170 fRawRunHeader->InitFact(fin.GetUInt("NPIX")/9, 9, fin.GetUInt("NROI"), mmap); 171 171 else 172 fRawRunHeader->InitFact( 1, fin.GetUInt("NPIX"), fin.GetUInt("NROI"), mmap);172 fRawRunHeader->InitFact(8, fin.GetUInt("NPIX"), fin.GetUInt("NROI"), mmap); 173 173 174 174 fRawRunHeader->SetFormat(0xf172, fIsMc ? 0 : fin.GetUInt("BLDVER")); … … 263 263 if (!fIsMc) 264 264 { 265 // Skip incomplete events 266 if (fNumBoards!=40) 265 // Skip incomplete events (FACT: 160 'crates', 40 boards, HAWC's Eye: 8 'crate', 2 board) 266 if ((fRawRunheader->GetNumCrates()==160 && fNumBoards!=40) || 267 (fRawRunheader->GetNumCrates()==8 && fNumBoards!=2)) 267 268 return kCONTINUE; 268 269
Note:
See TracChangeset
for help on using the changeset viewer.