Changeset 8957 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 06/14/08 16:55:58 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mimage
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/ImageLinkDef.h
r6890 r8957 6 6 7 7 #pragma link C++ class MImgCleanStd+; 8 #pragma link C++ class MCameraSmooth+;9 8 10 9 #pragma link C++ class MHillas+; -
trunk/MagicSoft/Mars/mimage/MCameraSmooth.cc
r8489 r8957 110 110 const MGeomPix &gpix = (*fGeomCam)[i]; 111 111 112 const Int_t n = gpix.GetNumNeighbors();112 const Int_t nn = gpix.GetNumNeighbors(); 113 113 114 114 Int_t num = fUseCentralPixel ? 1 : 0; … … 116 116 errors[i] = fUseCentralPixel ? pix.GetErrorPhot() : 0; 117 117 118 for (int j=0; j<n ; j++)118 for (int j=0; j<nn; j++) 119 119 { 120 120 const UShort_t nid = gpix.GetNeighbor(j); -
trunk/MagicSoft/Mars/mimage/MConcentration.cc
r6855 r8957 111 111 112 112 const UInt_t npix = evt.GetNumPixels(); 113 for (UInt_t i=0; i<npix; i++)113 for (UInt_t j=0; j<npix; j++) 114 114 { 115 const MSignalPix &pix = evt[ i];115 const MSignalPix &pix = evt[j]; 116 116 if (!pix.IsPixelUsed()) 117 117 continue; 118 118 119 const Double_t nphot = pix.GetNumPhotons()* geom.GetPixRatio( i);119 const Double_t nphot = pix.GetNumPhotons()* geom.GetPixRatio(j); 120 120 121 121 // Get number of photons in the 8 most populated pixels … … 134 134 continue; 135 135 136 for(int j=0;j<i-1;j++)137 maxpix[7- j]=maxpix[6-j]; // [#phot]136 for(int k=0;k<i-1;k++) 137 maxpix[7-k]=maxpix[6-k]; // [#phot] 138 138 139 139 maxpix[8-i]=nphot; -
trunk/MagicSoft/Mars/mimage/Makefile
r6890 r8957 27 27 28 28 SRCFILES = MImgCleanStd.cc \ 29 MCameraSmooth.cc \30 29 MHillas.cc \ 31 30 MHillasSrc.cc \
Note:
See TracChangeset
for help on using the changeset viewer.