Changeset 1222 for trunk/MagicSoft/Mars/manalysis/MHillasExt.cc
- Timestamp:
- 02/21/02 14:46:59 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MHillasExt.cc
r1220 r1222 41 41 42 42 #include <fstream.h> 43 #include <math.h>44 43 45 44 #include "MGeomPix.h" … … 162 161 m3y /= GetSize(); 163 162 164 fM3Long = m3x<0 ? -pow( fabs(m3x), 1./3) : pow(fabs(m3x), 1./3); // [mm]165 fM3Trans = m3y<0 ? -pow( fabs(m3y), 1./3) : pow(fabs(m3y), 1./3); // [mm]163 fM3Long = m3x<0 ? -pow(-m3x, 1./3) : pow(m3x, 1./3); // [mm] 164 fM3Trans = m3y<0 ? -pow(-m3y, 1./3) : pow(m3y, 1./3); // [mm] 166 165 167 166 SetReadyToSave(); … … 184 183 185 184 // ------------------------------------------------------------------------- 186 / /185 /* 187 186 void MHillasExt::AsciiWrite(ofstream &fout) const 188 187 { … … 196 195 fout << fM3Trans; 197 196 } 197 */
Note:
See TracChangeset
for help on using the changeset viewer.