Ignore:
Timestamp:
04/02/01 15:08:48 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mraw
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawEvtHeader.h

    r654 r716  
    1010class MArrayB;
    1111class MRawRunHeader;
     12
     13//
     14// Trigger Typed (TT)
     15//
     16enum {
     17    kTTEvent       = 0,
     18    kTTPedestal    = 1,
     19    kTTCalibration = 2
     20};
    1221
    1322class MRawEvtHeader : public MParContainer
     
    2736
    2837    //
    29     // Informations only needed to read the raw file
     38    // Informations only needed to read the raw file correctly
    3039    //
    3140    UShort_t fTrigType;        //! Trigger Type of this event
  • trunk/MagicSoft/Mars/mraw/MRawFileWrite.cc

    r609 r716  
    1515
    1616#include "MLog.h"
     17#include "MLogManip.h"
     18
    1719#include "MParList.h"
    1820#include "MRawRunHeader.h"
     
    142144    switch (type)
    143145    {
    144     case 0:
     146    case kTTEvent:
    145147        fTData->Fill();
    146         break;
    147     case 1:
     148        return kTRUE;
     149
     150    case kTTPedestal:
    148151        fTPedestal->Fill();
    149         break;
    150     case 2:
     152        return kTRUE;
     153
     154    case kTTCalibration:
    151155        fTCalibration->Fill();
    152         break;
     156        return kTRUE;
    153157    }
    154158
    155     return kTRUE;
     159    *fLog << dbginf << "Got wrong number for the trigger type: " << type;
     160    *fLog << "  - skipping" << endl;
     161
     162    return kCONTINUE;
    156163}
    157164
Note: See TracChangeset for help on using the changeset viewer.