Changeset 3666 for trunk/MagicSoft/Mars/mimage/MNewImagePar.cc
- Timestamp:
- 04/06/04 13:41:56 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MNewImagePar.cc
r3574 r3666 44 44 // - added fInnerLeakage2 45 45 // - added fInnerSize 46 // - added fUsedArea 47 // - added fCoreArea 48 // 46 49 // 47 50 ///////////////////////////////////////////////////////////////////////////// … … 92 95 fNumCorePixels = -1; 93 96 97 fUsedArea = -1; 98 fCoreArea = -1; 99 94 100 fNumSaturatedPixels = -1; 95 101 fNumHGSaturatedPixels = -1; … … 105 111 fNumUsedPixels = 0; 106 112 fNumCorePixels = 0; 113 114 fUsedArea = 0; 115 fCoreArea = 0; 107 116 108 117 fNumSaturatedPixels = 0; … … 136 145 continue; 137 146 147 // Get geometry of pixel 148 const Int_t pixid = pix.GetPixId(); 149 const MGeomPix &gpix = geom[pixid]; 150 138 151 // count used and core pixels 139 152 if (pix.IsPixelCore()) 153 { 140 154 fNumCorePixels++; 155 fCoreArea += gpix.GetA(); 156 } 141 157 142 158 // count used pixels 143 159 fNumUsedPixels++; 144 145 const Int_t pixid = pix.GetPixId(); 146 147 const MGeomPix &gpix = geom[pixid]; 160 fUsedArea += gpix.GetA(); 148 161 149 162 Double_t nphot = pix.GetNumPhotons(); … … 165 178 // count inner pixels: To dependent on MAGIC Camera --> FIXME 166 179 167 168 169 170 171 172 173 174 180 if (pixid<397){ 181 fInnerSize += nphot; 182 if(pixid>270){ 183 edgepixin2 += nphot; 184 if(pixid>330) 185 edgepixin1 += nphot; 186 } 187 } 175 188 176 189 // Compute Concetration 1 -2 177 190 178 191 if (nphot>maxpix1) 179 192 { 180 193 maxpix2 = maxpix1; 181 194 maxpix1 = nphot; // [1] 182 195 continue; // [1] 183 184 196 } 197 185 198 if (nphot>maxpix2) 186 199 maxpix2 = nphot; // [1] 187 200 } 188 201
Note:
See TracChangeset
for help on using the changeset viewer.