Ignore:
Timestamp:
12/06/05 14:24:59 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcamera/MCameraTH.h

    r7430 r7444  
    99#endif
    1010
    11 #ifndef ROOT_TArrayS
    12 #include <TArrayS.h>
     11#ifndef ROOT_TArrayC
     12#include <TArrayC.h>
    1313#endif
    1414
     
    1717    friend class MReportCC;
    1818private:
    19     TArrayS fTH; // [au] discriminator thresholds
     19    TArrayC fTH; // [au] discriminator thresholds
    2020
    2121public:
    2222    MCameraTH(Int_t size=577, const char *name=NULL, const char *title=NULL);
    2323
    24     void SetThreshold(Int_t i, Float_t val) { fTH[i] = (Int_t)val; }
    25     Float_t GetThreshold(Int_t i) const { return (*this)[i]; }
    26     Float_t &operator[](Int_t i) { return (Float_t&)fTH[i]; }
    27     const Float_t &operator[](Int_t i) const { return (*const_cast<MCameraTH*>(this))[i]; }
     24    Byte_t operator[](Int_t i) { return fTH[i]; }
    2825
    29     Float_t GetMin() const;
    30     Float_t GetMax() const;
     26    Byte_t GetMin() const;
     27    Byte_t GetMax() const;
    3128
    3229    void Print(Option_t *opt=NULL) const;
Note: See TracChangeset for help on using the changeset viewer.