Ignore:
Timestamp:
11/12/04 13:52:41 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mraw
Files:
2 edited

Legend:

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

    r5398 r5399  
    139139// return the number of hi gain samples per pixel
    140140//
    141 Byte_t MRawEvtData::GetNumHiGainSamples() const
     141UShort_t MRawEvtData::GetNumHiGainSamples() const
    142142{
    143143    return fHiGainPixId->GetSize() ? fHiGainFadcSamples->GetSize()/fHiGainPixId->GetSize() : 0;
     
    148148// return the number of lo gain samples per pixel
    149149//
    150 Byte_t MRawEvtData::GetNumLoGainSamples() const
     150UShort_t MRawEvtData::GetNumLoGainSamples() const
    151151{
    152152    return fLoGainPixId->GetSize() ? fLoGainFadcSamples->GetSize()/fLoGainPixId->GetSize() : 0;
     
    177177    // - DEC: Print values decimal instead of hexadecimal (default)
    178178    //
    179     const Byte_t nHiSamp = GetNumHiGainSamples();
    180     const Byte_t nLoSamp = GetNumLoGainSamples();
     179    const UShort_t nHiSamp = GetNumHiGainSamples();
     180    const UShort_t nLoSamp = GetNumLoGainSamples();
    181181
    182182    const UShort_t nHiPix = fHiGainPixId->GetSize();;
     
    427427    // if there are no samples already stored: this is the new number of samples
    428428    //
    429     const Byte_t ns    = data->GetSize();
    430     const Byte_t nSamp = lflag ? GetNumLoGainSamples() : GetNumHiGainSamples();
     429    const UShort_t ns    = data->GetSize();
     430    const UShort_t nSamp = lflag ? GetNumLoGainSamples() : GetNumHiGainSamples();
    431431    if (nSamp && ns!=nSamp)
    432432    {
  • trunk/MagicSoft/Mars/mraw/MRawEvtData.h

    r4738 r5399  
    6363    void AddPixel(UShort_t nOfPixel, TArrayC *data, Bool_t lflag=kFALSE);
    6464
    65     Byte_t  GetNumHiGainSamples() const;
    66     Byte_t  GetNumLoGainSamples() const;
     65    UShort_t GetNumHiGainSamples() const;
     66    UShort_t GetNumLoGainSamples() const;
    6767    UShort_t GetNumPixels() const;
    6868
Note: See TracChangeset for help on using the changeset viewer.