Changeset 7444 for trunk/MagicSoft/Mars/mcamera/MCameraTD.h
- Timestamp:
- 12/06/05 14:24:59 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcamera/MCameraTD.h
r7430 r7444 9 9 #endif 10 10 11 #ifndef ROOT_TArray S12 #include <TArray S.h>11 #ifndef ROOT_TArrayC 12 #include <TArrayC.h> 13 13 #endif 14 14 … … 17 17 friend class MReportCC; 18 18 private: 19 TArray SfTD; // [au] discriminator delays19 TArrayC fTD; // [au] discriminator delays 20 20 21 21 public: 22 22 MCameraTD(Int_t size=577, const char *name=NULL, const char *title=NULL); 23 23 24 void SetDelay(Int_t i, Float_t val) { fTD[i] = (Int_t)val; } 25 Float_t GetDelay(Int_t i) const { return (*this)[i]; } 26 Float_t &operator[](Int_t i) { return (Float_t&)fTD[i]; } 27 const Float_t &operator[](Int_t i) const { return (*const_cast<MCameraTD*>(this))[i]; } 24 Byte_t operator[](Int_t i) { return fTD[i]; } 28 25 29 Float_t GetMin() const;30 Float_t GetMax() const;26 Byte_t GetMin() const; 27 Byte_t GetMax() const; 31 28 32 29 void Print(Option_t *opt=NULL) const;
Note:
See TracChangeset
for help on using the changeset viewer.