Ignore:
Timestamp:
03/01/07 21:49:15 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r6253 r8346  
    7474        //          belong to the actual pixel
    7575        //
     76        //
     77        // Use is deprecated!
     78        //
    7679        return fHiGainPos;
    7780    }
    7881
    79     Byte_t  GetNumHiGainSamples() const { return fNumHiGainSamples ; }
    80     Byte_t  GetNumLoGainSamples() const { return fNumLoGainSamples ; }
     82    Byte_t *GetSamples() const
     83    {
     84        //
     85        // return a pointer to the fadc samples of the hi gains
     86        // WARNING: Don't forget to get the number of valid entries
     87        //          (GetNumSamples) to know how many entries of the array
     88        //          belong to the actual pixel
     89        //
     90        return fHiGainPos;
     91    }
    8192
     93    Byte_t  GetNumHiGainSamples() const { return fNumHiGainSamples ; }// Use is deprecated!
     94    Byte_t  GetNumLoGainSamples() const { return fNumLoGainSamples ; }// Use is deprecated!
     95    Byte_t  GetNumSamples() const { return fNumHiGainSamples+fNumLoGainSamples; }
     96
     97    Byte_t  GetIdxMaxHiGainSample(const Byte_t hifirst=0, const Byte_t hilast=0xff) const;
     98    Short_t GetIdxMaxLoGainSample(const Byte_t lofirst=0, const Byte_t lolast=0xff) const;
     99
     100    Byte_t  GetMaxHiGainSample(const Byte_t hifirst=0, const Byte_t hilast=0xff) const;
     101/*
    82102    ULong_t GetSumHiGainSamples() const;
    83103    ULong_t GetSumSqrHiGainSamples() const;
    84104    Float_t GetVarHiGainSamples() const;
    85105
    86     Byte_t  GetMaxHiGainSample() const;
    87106    Byte_t  GetMaxLoGainSample() const;
    88     Byte_t  GetIdxMaxHiGainSample() const;
    89     Short_t GetIdxMaxLoGainSample(const Byte_t lofirst=0) const;
    90107    Short_t GetIdxMaxHiLoGainSample() const;
    91108
    92     Bool_t HasLoGain() const;
     109    ULong_t GetSumLoGainSamples() const;
     110    ULong_t GetSumSqrLoGainSamples() const;
     111  */
     112    Bool_t HasLoGain() const { return fNumLoGainSamples>0; }
    93113    Bool_t IsABFlagValid() const { return fABFlags ? kTRUE : kFALSE; }
    94114    Bool_t HasABFlag() const
     
    116136    }
    117137
    118     ULong_t GetSumLoGainSamples() const;
    119     ULong_t GetSumSqrLoGainSamples() const;
    120 
    121138    void Reset();
    122139
Note: See TracChangeset for help on using the changeset viewer.