Changeset 3757 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 04/15/04 17:13:25 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/msignal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MArrivalTime.cc
r3306 r3757 17 17 ! 18 18 ! Author(s): Sebastian Raducci, 12/2003 <mailto:raducci@fisica.uniud.it> 19 ! Markus Gaug 04/2004 <mailto:markus@ifae.es> 19 20 ! 20 21 ! Copyright: MAGIC Software Development, 2000-2004 … … 62 63 void MArrivalTime::Reset() 63 64 { 64 fData.Reset(-1); 65 fData.Reset(-1); 66 fDataErr.Reset(-1); 65 67 } 66 68 67 69 void MArrivalTime::InitSize(Int_t i) 68 70 { 69 fData.Set(i); 71 fData.Set(i); 72 fDataErr.Set(i); 70 73 } 71 74 … … 77 80 { 78 81 fData[i] = t; 82 } 83 84 85 // ------------------------------------------------------------------------- 86 // 87 // Set the arrival time error in one pixel 88 // 89 void MArrivalTime::SetTimeErr(const Int_t i, const Float_t t) 90 { 91 fDataErr[i] = t; 79 92 } 80 93 -
trunk/MagicSoft/Mars/msignal/MArrivalTime.h
r3306 r3757 20 20 class MArrivalTime : public MParContainer, public MCamEvent 21 21 { 22 private: 23 TArrayF fData; // Stores the arrival times 22 private: 23 TArrayF fData; // Stores the calibrated arrival times 24 TArrayF fDataErr; // Stores the calibrated arrival time errors 24 25 25 26 public: … … 34 35 35 36 void SetTime(const Int_t i, const Float_t time); 37 void SetTimeErr(const Int_t i, const Float_t timeerr); 36 38 37 39 const TArrayF &GetData() const { return fData; } 40 const TArrayF &GetDataErr() const { return fDataErr; } 38 41 39 42 Double_t operator[](int i) { return fData[i]; } 43 Double_t operator()(int i) { return fDataErr[i]; } 40 44 41 45 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
Note:
See TracChangeset
for help on using the changeset viewer.