Changeset 11447


Ignore:
Timestamp:
07/18/11 16:49:40 (13 years ago)
Author:
tbretz
Message:
Added virtual function to initialize reading event data.
Location:
trunk/Mars/mraw
Files:
2 edited

Legend:

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

    r11431 r11447  
    274274    fRawEvtData2 ->InitRead(fRawRunHeader);
    275275
     276    if (!InitReadData(*fIn))
     277        return kERROR;
     278
    276279    //
    277280    // Search for MTaskList
  • trunk/Mars/mraw/MRawFileRead.h

    r11431 r11447  
    2727    virtual istream *OpenFile(const char *filename);
    2828    virtual Bool_t   ReadRunHeader(istream &fin);
     29    virtual Bool_t   InitReadData(istream &fin) { return kTRUE; }
    2930
    3031    Int_t  OpenNextFile(Bool_t print=kTRUE);
Note: See TracChangeset for help on using the changeset viewer.