Changeset 1465 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 08/01/02 09:31:18 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MHillas.cc
r1434 r1465 126 126 *fLog << all; 127 127 *fLog << "Basic Image Parameters (" << GetName() << ")" << endl; 128 *fLog << " - Length [mm] = " << fLength << endl; 129 *fLog << " - Width [mm] = " << fWidth << endl; 130 *fLog << " - Delta [deg] = " << fDelta*kRad2Deg << endl; 131 *fLog << " - Size [1] = " << fSize << " #CherPhot" << endl; 132 *fLog << " - Meanx [mm] = " << fMeanX << endl; 133 *fLog << " - Meany [mm] = " << fMeanY << endl; 134 *fLog << " - atg(y/x) [deg] = " << atg << endl; 128 *fLog << " - Length [mm] = " << fLength << endl; 129 *fLog << " - Width [mm] = " << fWidth << endl; 130 *fLog << " - Delta [deg] = " << fDelta*kRad2Deg << endl; 131 *fLog << " - Size [1] = " << fSize << " #CherPhot" << endl; 132 *fLog << " - Meanx [mm] = " << fMeanX << endl; 133 *fLog << " - Meany [mm] = " << fMeanY << endl; 134 *fLog << " - atg(y/x) [deg] = " << atg << endl; 135 *fLog << " - Used Pixels [#] = " << fNumUsedPixels << " Pixels" << endl; 136 *fLog << " - Core Pixels [#] = " << fNumCorePixels << " Pixels" << endl; 135 137 } 136 138 … … 160 162 161 163 Clear(); 164 165 if (fLength<0 || fWidth<0) 166 return; 162 167 163 168 fEllipse = new TEllipse(fMeanX, fMeanY, fLength, fWidth, -
trunk/MagicSoft/Mars/manalysis/MHillas.h
r1434 r1465 22 22 Float_t fMeanY; // [mm] y-coordinate of center of ellipse 23 23 24 Short_t fNumUsedPixels; // Number of pixels which survived the image cleaning 25 Short_t fNumCorePixels; // number of core pixels 26 24 27 Float_t fSinDelta; //! [1] sin of Delta (to be used in derived classes) 25 28 Float_t fCosDelta; //! [1] cos of Delta (to be used in derived classes) 26 27 Short_t fNumUsedPixels; // Number of pixels which survived the image cleaning28 Short_t fNumCorePixels; // number of core pixels29 29 30 30 TEllipse *fEllipse; //! Graphical Object to Display Ellipse -
trunk/MagicSoft/Mars/manalysis/MHillasExt.cc
r1460 r1465 18 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de> 19 19 ! Author(s): Rudolf Bock 10/2001 <mailto:Rudolf.Bock@cern.ch> 20 ! Author(s): Wolfgang Wittek 06/2002 <mailto:wittek@mppmu.mpg.de> 20 21 ! 21 22 ! Copyright: MAGIC Software Development, 2000-2002 … … 36 37 // fM3Long third moment along major axis 37 38 // fM3Trans third moment along minor axis 39 // fLeakage1 ratio : (photons in most outer ring of pixels) over fSize 40 // fLeakage2 ratio : (photons in the 2 outer rings of pixels) over fSize 41 // 42 // WARNING: Before you can use fAsym, fM3Long and fM3Trans you must 43 // multiply by the sign of MHillasSrc::fCosAlphaDelta 38 44 // 39 45 //////////////////////////////////////////////////////////////////////////// 46 /* 47 // fAsymna d/(d na) of ( sum(x*q^na)/sum(q^na), sum(y*q^na)/sum(q^na) ) 48 // projected onto the major axis 49 // fAsym0 (F-B)/(F+B) along the major axis 50 */ 40 51 #include "MHillasExt.h" 41 52 … … 172 183 /* 173 184 // 185 // power na for calculating fAsymna; 186 // the value 1.5 was suggested by Thomas Schweizer 187 // 188 Double_t na = 1.5; 189 190 // 174 191 // get sums for calculating fAsymna 175 192 // the outer pixels are 4 times as big (in area) … … 201 218 202 219 /* 203 204 //205 // power na for calculating fAsymna;206 // the value 1.5 was suggested by Thomas Schweizer207 //208 Double_t na = 1.5;209 210 220 fLeakage1 = edgepix1 / GetSize(); 211 221 fLeakage2 = edgepix2 / GetSize();
Note:
See TracChangeset
for help on using the changeset viewer.