Changeset 11453


Ignore:
Timestamp:
07/18/11 17:47:44 (13 years ago)
Author:
tbretz
Message:
Use FITS reader instead of raw-reader if it is a FITS raw file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mjobs/MJMerpp.cc

    r9388 r11453  
    4646
    4747#include "MRawFileRead.h"
     48#include "MRawFitsRead.h"
    4849#include "MReportFileReadCC.h"
    4950#include "MWriteRootFile.h"
     
    152153void MJMerpp::SetupRaw(MRawFileRead &read, MWriteRootFile *write) const
    153154{
    154     read.SetInterleave(fInterleave);
    155     read.SetForceMode(fForceProcessing);
     155//    read.SetInterleave(fInterleave);
     156//    read.SetForceMode(fForceProcessing);
    156157
    157158    if (!write)
     
    305306    else
    306307    {
    307         MRawFileRead *r = new MRawFileRead(fPathIn);
     308        MRawFileRead *r = MRawFitsRead::IsFits(fPathIn) ? new MRawFitsRead(fPathIn) : new MRawFileRead(fPathIn);
    308309        SetupRaw(*r, write);
    309310        read = r;
Note: See TracChangeset for help on using the changeset viewer.