Changeset 7719 for trunk/MagicSoft/Mars/mcamera
- Timestamp:
- 05/19/06 13:57:47 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mcamera
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcamera/MCameraTD.cc
r7446 r7719 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 // MCameraTD 29 // 30 // Class Version 2: 31 // ---------------- 32 // + Bool_t fIsValid; // fTD contains valid information 29 33 // 30 34 ///////////////////////////////////////////////////////////////////////////// … … 45 49 // 46 50 MCameraTD::MCameraTD(Int_t size, const char *name, const char *title) 47 : fTD(size) 51 : fTD(size), fIsValid(kTRUE) 48 52 { 49 53 fName = name ? name : "MCameraTD"; -
trunk/MagicSoft/Mars/mcamera/MCameraTD.h
r7489 r7719 17 17 friend class MReportCC; 18 18 private: 19 TArrayC fTD; // [au] discriminator delays 19 TArrayC fTD; // [au] discriminator delays 20 Bool_t fIsValid; // fTD contains valid information 20 21 21 22 public: … … 28 29 29 30 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; } 30 36 31 37 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const … … 41 47 } 42 48 43 ClassDef(MCameraTD, 1) // Storage Container for Discriminator Delays49 ClassDef(MCameraTD, 2) // Storage Container for Discriminator Delays 44 50 }; 45 51 -
trunk/MagicSoft/Mars/mcamera/MCameraTH.cc
r7446 r7719 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 ! … … 26 26 ///////////////////////////////////////////////////////////////////////////// 27 27 // 28 // MCameraTH (PRELIMINARY) 28 // MCameraTH 29 // 30 // Class Version 2: 31 // ---------------- 32 // + Bool_t fIsValid; // fTH contains valid information 29 33 // 30 34 ///////////////////////////////////////////////////////////////////////////// … … 45 49 // 46 50 MCameraTH::MCameraTH(Int_t size, const char *name, const char *title) 47 : fTH(size) 51 : fTH(size), fIsValid(kTRUE) 48 52 { 49 53 fName = name ? name : "MCameraTH"; -
trunk/MagicSoft/Mars/mcamera/MCameraTH.h
r7489 r7719 17 17 friend class MReportCC; 18 18 private: 19 TArrayC fTH; // [au] discriminator thresholds 19 TArrayC fTH; // [au] discriminator thresholds 20 Bool_t fIsValid; // fTH contains valid information 20 21 21 22 public: … … 28 29 29 30 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; } 30 36 31 37 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const … … 41 47 } 42 48 43 ClassDef(MCameraTH, 1) // Storage Container for the discriminator thresholds49 ClassDef(MCameraTH, 2) // Storage Container for the discriminator thresholds 44 50 }; 45 51
Note:
See TracChangeset
for help on using the changeset viewer.