Changeset 2092 for trunk/MagicSoft/Mars
- Timestamp:
- 05/07/03 16:33:22 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2091 r2092 25 25 * mfileio/MCT1ReadPreProc.cc: 26 26 - do not output the run number twice! 27 28 * mimage/MHillasExt.[h,cc]: 29 - changed ClassDef to 2 30 - updated comments 31 32 * mimage/MNewImagePar.cc: 33 - updated comments 27 34 28 35 -
trunk/MagicSoft/Mars/mimage/MHillasExt.cc
r2026 r2092 32 32 // 33 33 // extended image parameters 34 // 35 // 36 // Version 1: 37 // ---------- 34 38 // fConc ratio of sum of two highest pixels over fSize 35 39 // fConc1 ratio of highest pixel over fSize … … 38 42 // fM3Trans third moment along minor axis 39 43 // 44 // Version 2: 45 // ---------- 46 // fConc removed 47 // fConc1 removed 48 // 49 // 40 50 // WARNING: Before you can use fAsym, fM3Long and fM3Trans you must 41 51 // multiply by the sign of MHillasSrc::fCosDeltaAlpha … … 43 53 //////////////////////////////////////////////////////////////////////////// 44 54 /* 45 // fLeakage1 ratio : (photons in most outer ring of pixels) over fSize46 // fLeakage2 ratio : (photons in the 2 outer rings of pixels) over fSize47 //48 55 // fAsymna d/(d na) of ( sum(x*q^na)/sum(q^na), sum(y*q^na)/sum(q^na) ) 49 56 // projected onto the major axis … … 155 162 continue; // [1] 156 163 } 157 158 /*159 //160 // power na for calculating fAsymna;161 // the value 1.5 was suggested by Thomas Schweizer162 //163 Double_t na = 1.5;164 165 //166 // get sums for calculating fAsymna167 // the outer pixels are 4 times as big (in area)168 // as the inner pixels !169 //170 const Double_t dummy = pow(nphot, na)/r;171 172 sna += dummy;173 xna += dzx*dummy;174 175 sna1 += sna/nphot;176 xna1 += xna/nphot;177 178 //179 // forward-backward asymmetry180 //181 fb += dzx<0 ? -nphot: nphot;182 */183 164 } 184 165 … … 186 167 187 168 fAsym = (hil.GetMeanX()-maxp.GetX())*hil.GetCosDelta() + 188 (hil.GetMeanY()-maxp.GetY())*hil.GetSinDelta(); // [mm] 189 190 /* 191 fAsym0 = fb / GetSize(); 192 fAsymna = na * (sna*xna1 - sna1*xna) / (sna*sna); 193 */ 169 (hil.GetMeanY()-maxp.GetY())*hil.GetSinDelta(); // [mm] 194 170 195 171 // -
trunk/MagicSoft/Mars/mimage/MHillasExt.h
r2026 r2092 35 35 void Set(const TArrayF &arr); 36 36 37 ClassDef(MHillasExt, 1) // Storage Container for extended Hillas Parameter37 ClassDef(MHillasExt, 2) // Storage Container for extended Hillas Parameter 38 38 }; 39 39 #endif -
trunk/MagicSoft/Mars/mimage/MNewImagePar.cc
r2062 r2092 29 29 // Storage Container for new image parameters 30 30 // 31 // fLeakage1 ratio: (photons in most outer ring of pixels) over fSize 32 // fLeakage2 ratio: (photons in the 2 outer rings of pixels) over fSize 33 // 31 34 ///////////////////////////////////////////////////////////////////////////// 32 35 #include "MNewImagePar.h" … … 44 47 #include "MCerPhotEvt.h" 45 48 #include "MCerPhotPix.h" 46 47 49 48 50 ClassImp(MNewImagePar);
Note:
See TracChangeset
for help on using the changeset viewer.