Ignore:
Timestamp:
05/22/06 17:51:33 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcamera
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcamera/MCameraRecTemp.cc

    r7444 r7726  
    1919!   Author(s): Florian Goebel 11/2005 <mailto:fgoebel@mppmu.mpg.de>
    2020!
    21 !   Copyright: MAGIC Software Development, 2000-2005
     21!   Copyright: MAGIC Software Development, 2000-2006
    2222!
    2323!
     
    2727//
    2828// MCameraRecTemp
     29//
     30// Class Version 2:
     31// ----------------
     32//   + Bool_t  fIsValid; // fTD contains valid information
    2933//
    3034/////////////////////////////////////////////////////////////////////////////
     
    4549//
    4650MCameraRecTemp::MCameraRecTemp(Int_t size, const char *name, const char *title)
    47     : fRecTemp(size)
     51    : fRecTemp(size), fIsValid(kTRUE)
    4852{
    4953    fName  = name  ? name  : "MCameraRecTemp";
  • trunk/MagicSoft/Mars/mcamera/MCameraRecTemp.h

    r7444 r7726  
    1515private:
    1616    TArrayF fRecTemp; // [deg C] receiver board temperatures
     17    Bool_t  fIsValid; // fRecTemp contains valid information
    1718
    1819public:
     
    2122    Float_t operator[](Int_t i) const { return fRecTemp[i]; }
    2223
     24    void Invalidate() { fRecTemp.Reset(); fIsValid=kFALSE; }
     25
     26    void SetValid(Bool_t v=kTRUE) { fIsValid=v; }
     27    Bool_t IsValid() const { return fIsValid; }
     28
    2329    Float_t GetMin() const;
    2430    Float_t GetMax() const;
     
    2632    void Print(Option_t *opt=NULL) const;
    2733
    28     ClassDef(MCameraRecTemp, 1) // Storage Container for Receiver Board Temperature
     34    ClassDef(MCameraRecTemp, 2) // Storage Container for Receiver Board Temperature
    2935};
    3036
Note: See TracChangeset for help on using the changeset viewer.