Ignore:
Timestamp:
11/23/03 21:18:30 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mraw
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawSocketRead.cc

    r2529 r2563  
    3939//   MRawEvtData
    4040//   MRawCrateArray
    41 //   MRawEvtTime
     41//   MTime
    4242//
    4343//////////////////////////////////////////////////////////////////////////////
     
    147147//   MRawEvtData <output>     if not found it is created
    148148//   MRawCrateArray <output>  if not found it is created
    149 //   MRawEvtTime <output>     if not found it is created (MTime)
     149//   MTime <output>           if not found it is created
    150150//
    151151// If all containers are found or created the run header is read from the
     
    180180        return kFALSE;
    181181
    182     fRawEvtTime = (MTime*)pList->FindCreateObj("MTime", "MRawEvtTime");
    183     if (!fRawEvtTime)
     182    fTime = (MTime*)pList->FindCreateObj("MTime");
     183    if (!fTime)
    184184        return kTRUE;
    185185
     
    268268
    269269    if (atoi(size)==fRawRunHeader->GetNumTotalBytes())
     270    {
     271        *fLog << dbg << "Event contains only run header information... skipped." << endl;
    270272        return kCONTINUE;
     273    }
    271274
    272275    //
    273276    // Give the run header information to the 'sub-classes'
    274277    //
    275     fRawEvtHeader->Init(fRawRunHeader, fRawEvtTime);
     278    fRawEvtHeader->Init(fRawRunHeader, fTime);
    276279    fRawEvtData  ->Init(fRawRunHeader);
    277280
     
    317320    //
    318321    if (fEvtNumber==fRawEvtHeader->GetDAQEvtNumber())
     322    {
     323        *fLog << dbg << "Event number #" << dec << fEvtNumber << " didn't change... skipped." << endl;
    319324        return kCONTINUE;
     325    }
    320326
    321327    fEvtNumber=fRawEvtHeader->GetDAQEvtNumber();
  • trunk/MagicSoft/Mars/mraw/MRawSocketRead.h

    r2490 r2563  
    2121    MRawEvtData    *fRawEvtData;    // raw evt header infomation container to fill from file
    2222    MRawCrateArray *fRawCrateArray; // crate information array container to fill from file
    23     MTime          *fRawEvtTime;    // raw evt time information container to fill from file
     23    MTime          *fTime;          // raw evt time information container to fill from file
    2424
    2525    MReadSocket    *fIn;            //! buffered input stream (file to read from)
Note: See TracChangeset for help on using the changeset viewer.