Changeset 2468 for trunk/MagicSoft
- Timestamp:
- 11/04/03 14:13:45 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mimage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MHillas.cc
r2467 r2468 145 145 return; 146 146 147 TEllipse e(fMeanX, fMeanY, fLength, fWidth, 148 0, 360, fDelta*kRad2Deg+180); 149 147 TEllipse e(fMeanX, fMeanY, fLength, fWidth, 0, 360, fDelta*kRad2Deg+180); 150 148 e.SetLineWidth(2); 151 149 e.Paint(); … … 271 269 // in the camera it has values between -pi/2 and pi/2 degrees 272 270 // 271 // Rem: I tested replacing sqrt() by hypot() but they exactly 272 // consume the same amount of time 273 // 273 274 const Double_t d0 = corryy - corrxx; 274 275 const Double_t d1 = corrxy*2; -
trunk/MagicSoft/Mars/mimage/MHillas.h
r2026 r2468 7 7 8 8 class TArrayF; 9 class TEllipse;10 9 11 10 class MGeomCam; … … 26 25 Float_t fCosDelta; // [1] cos of Delta (to be used in derived classes) 27 26 28 TEllipse *fEllipse; //! Graphical Object to Display Ellipse29 30 27 public: 31 28 MHillas(const char *name=NULL, const char *title=NULL); … … 37 34 38 35 void Print(Option_t *opt=NULL) const; 39 void Draw(Option_t *opt=NULL); 40 41 void Clear(Option_t *opt=NULL); 36 void Paint(Option_t *opt=NULL); 42 37 43 38 Float_t GetLength() const { return fLength; }
Note:
See TracChangeset
for help on using the changeset viewer.