Ignore:
Timestamp:
05/19/06 13:57:47 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcamera
Files:
4 edited

Legend:

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

    r7446 r7719  
    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// MCameraTD
     29//
     30// Class Version 2:
     31// ----------------
     32//   + Bool_t  fIsValid; // fTD contains valid information
    2933//
    3034/////////////////////////////////////////////////////////////////////////////
     
    4549//
    4650MCameraTD::MCameraTD(Int_t size, const char *name, const char *title)
    47     : fTD(size)
     51    : fTD(size), fIsValid(kTRUE)
    4852{
    4953    fName  = name  ? name  : "MCameraTD";
  • trunk/MagicSoft/Mars/mcamera/MCameraTD.h

    r7489 r7719  
    1717    friend class MReportCC;
    1818private:
    19     TArrayC fTD; // [au] discriminator delays
     19    TArrayC fTD;      // [au] discriminator delays
     20    Bool_t  fIsValid; // fTD contains valid information
    2021
    2122public:
     
    2829
    2930    void Print(Option_t *opt=NULL) const;
     31
     32    void Invalidate() { fTD.Reset(); fIsValid=kFALSE; }
     33
     34    void SetValid(Bool_t v=kTRUE) { fIsValid=v; }
     35    Bool_t IsValid() const { return fIsValid; }
    3036
    3137    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const
     
    4147    }
    4248
    43     ClassDef(MCameraTD, 1) // Storage Container for Discriminator Delays
     49    ClassDef(MCameraTD, 2) // Storage Container for Discriminator Delays
    4450};
    4551
  • trunk/MagicSoft/Mars/mcamera/MCameraTH.cc

    r7446 r7719  
    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!
     
    2626/////////////////////////////////////////////////////////////////////////////
    2727//
    28 // MCameraTH (PRELIMINARY)
     28// MCameraTH
     29//
     30// Class Version 2:
     31// ----------------
     32//   + Bool_t  fIsValid; // fTH contains valid information
    2933//
    3034/////////////////////////////////////////////////////////////////////////////
     
    4549//
    4650MCameraTH::MCameraTH(Int_t size, const char *name, const char *title)
    47     : fTH(size)
     51    : fTH(size), fIsValid(kTRUE)
    4852{
    4953    fName  = name  ? name  : "MCameraTH";
  • trunk/MagicSoft/Mars/mcamera/MCameraTH.h

    r7489 r7719  
    1717    friend class MReportCC;
    1818private:
    19     TArrayC fTH; // [au] discriminator thresholds
     19    TArrayC fTH;      // [au] discriminator thresholds
     20    Bool_t  fIsValid; // fTH contains valid information
    2021
    2122public:
     
    2829
    2930    void Print(Option_t *opt=NULL) const;
     31
     32    void Invalidate() { fTH.Reset(); fIsValid=kFALSE; }
     33
     34    void SetValid(Bool_t v=kTRUE) { fIsValid=v; }
     35    Bool_t IsValid() const { return fIsValid; }
    3036
    3137    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const
     
    4147    }
    4248
    43     ClassDef(MCameraTH, 1) // Storage Container for the discriminator thresholds
     49    ClassDef(MCameraTH, 2) // Storage Container for the discriminator thresholds
    4450};
    4551
Note: See TracChangeset for help on using the changeset viewer.