Changeset 703 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 03/27/01 13:21:59 (24 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 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 } -
trunk/MagicSoft/Mars/manalysis/MHillas.h
r702 r703 27 27 ~MHillas(); 28 28 29 voidCalc(MGeomCam &geom, MCerPhotEvt &pix);29 Bool_t Calc(MGeomCam &geom, MCerPhotEvt &pix); 30 30 31 31 void Print(Option_t *opt=NULL);
Note:
See TracChangeset
for help on using the changeset viewer.