Changeset 7726 for trunk/MagicSoft/Mars/mcamera
- Timestamp:
- 05/22/06 17:51:33 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mcamera
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcamera/MCameraRecTemp.cc
r7444 r7726 19 19 ! Author(s): Florian Goebel 11/2005 <mailto:fgoebel@mppmu.mpg.de> 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 521 ! Copyright: MAGIC Software Development, 2000-2006 22 22 ! 23 23 ! … … 27 27 // 28 28 // MCameraRecTemp 29 // 30 // Class Version 2: 31 // ---------------- 32 // + Bool_t fIsValid; // fTD contains valid information 29 33 // 30 34 ///////////////////////////////////////////////////////////////////////////// … … 45 49 // 46 50 MCameraRecTemp::MCameraRecTemp(Int_t size, const char *name, const char *title) 47 : fRecTemp(size) 51 : fRecTemp(size), fIsValid(kTRUE) 48 52 { 49 53 fName = name ? name : "MCameraRecTemp"; -
trunk/MagicSoft/Mars/mcamera/MCameraRecTemp.h
r7444 r7726 15 15 private: 16 16 TArrayF fRecTemp; // [deg C] receiver board temperatures 17 Bool_t fIsValid; // fRecTemp contains valid information 17 18 18 19 public: … … 21 22 Float_t operator[](Int_t i) const { return fRecTemp[i]; } 22 23 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 23 29 Float_t GetMin() const; 24 30 Float_t GetMax() const; … … 26 32 void Print(Option_t *opt=NULL) const; 27 33 28 ClassDef(MCameraRecTemp, 1) // Storage Container for Receiver Board Temperature34 ClassDef(MCameraRecTemp, 2) // Storage Container for Receiver Board Temperature 29 35 }; 30 36
Note:
See TracChangeset
for help on using the changeset viewer.