Changeset 6871 for trunk/MagicSoft/Mars/mimage/MHillas.cc
- Timestamp:
- 03/21/05 16:37:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MHillas.cc
r6869 r6871 118 118 // -------------------------------------------------------------------------- 119 119 // 120 // Analytical estimation of length of border line: 121 // U = pi*(a+b - sqrt(a*b)) 122 // 123 // GetBorderLine() [mm] 124 // 125 Double_t MHillas::GetBorderLine() const 126 { 127 const Double_t a = fWidth+fLength; 128 const Double_t s = fWidth*fLength; 129 130 return TMath::Pi()*(1.5*a - TMath::Sqrt(s)); 131 } 132 133 // -------------------------------------------------------------------------- 134 // 135 // Analytical estimation of length of border line: 136 // A = pi*a*b 137 // 138 // GetArea() [mm^2] 139 // 140 Double_t MHillas::GetArea() const 141 { 142 return TMath::Pi()*fWidth*fLength; 143 } 144 145 // -------------------------------------------------------------------------- 146 // 120 147 // Print the hillas Parameters to *fLog 121 148 //
Note:
See TracChangeset
for help on using the changeset viewer.