Changeset 6038 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 01/27/05 10:44:51 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/msignal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MArrivalTime.cc
r5143 r6038 64 64 { 65 65 fData.Reset(-1); 66 fDataErr.Reset(-1);67 66 } 68 67 … … 70 69 { 71 70 fData.Set(i); 72 fDataErr.Set(i);73 71 } 74 72 … … 82 80 } 83 81 84 85 // -------------------------------------------------------------------------86 //87 // Set the arrival time error in one pixel88 //89 void MArrivalTime::SetTimeErr(const Int_t i, const Float_t t)90 {91 fDataErr[i] = t;92 }93 82 94 83 void MArrivalTime::Print(Option_t *o) const -
trunk/MagicSoft/Mars/msignal/MArrivalTime.h
r4828 r6038 22 22 private: 23 23 TArrayF fData; // Stores the calibrated arrival times 24 TArrayF fDataErr; // Stores the calibrated arrival time errors25 24 26 25 public: … … 35 34 36 35 void SetTime(const Int_t i, const Float_t time); 37 void SetTimeErr(const Int_t i, const Float_t timeerr); 38 36 39 37 const TArrayF &GetData() const { return fData; } 40 const TArrayF &GetDataErr() const { return fDataErr; }41 38 42 39 Double_t operator[](int i) { return fData[i]; } … … 52 49 void DrawPixelContent(Int_t num) const; 53 50 54 ClassDef(MArrivalTime, 1) // class for an event containing the arrival times51 ClassDef(MArrivalTime, 2) // class for an event containing the arrival times 55 52 }; 56 53
Note:
See TracChangeset
for help on using the changeset viewer.