Changeset 18564 for trunk/Mars/mraw


Ignore:
Timestamp:
09/03/16 14:39:42 (8 years ago)
Author:
tbretz
Message:
Set the run type to monte carlo if it is a monte carlo file as it is supposed to be.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mraw/MRawFitsRead.cc

    r18563 r18564  
    167167    fRawRunHeader->InitFact(fin.GetUInt("NPIX")/9, 9, fin.GetUInt("NROI"), fPixelMap.size()==0?0:fPixelMap.data());
    168168    fRawRunHeader->SetFormat(0xf172, fIsMc ? 0 : fin.GetUInt("BLDVER"));
    169     fRawRunHeader->SetRunType(0/*data*/);
     169    fRawRunHeader->SetRunType(fIsMc ? 0/*data*/ : 0x0100/*mc*/);
    170170
    171171    if (!fIsMc)
Note: See TracChangeset for help on using the changeset viewer.