Changeset 703 for trunk/MagicSoft/Mars/manalysis/MHillas.cc
- Timestamp:
- 03/27/01 13:21:59 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MHillas.cc
r702 r703 95 95 } 96 96 97 voidMHillas::Calc(MGeomCam &geom, MCerPhotEvt &evt)97 Bool_t MHillas::Calc(MGeomCam &geom, MCerPhotEvt &evt) 98 98 { 99 99 const UInt_t nevt = evt.GetNumPixels(); 100 101 // 102 // sanity check 103 // 104 if (nevt<2) 105 return kFALSE; 100 106 101 107 // … … 200 206 fTheta = atan(ymean/xmean); // [rad] 201 207 if (xmean<0) fTheta += kPI; // [rad] 202 } 208 209 return kTRUE; 210 }
Note:
See TracChangeset
for help on using the changeset viewer.