Changeset 3466 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 03/10/04 20:23:56 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mimage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MNewImagePar.cc
r3183 r3466 37 37 // ---------- 38 38 // - added fNumSaturatedPixels 39 // 40 // Version 3: 41 // ---------- 42 // - added fNumHGSaturatedPixels 39 43 // 40 44 ///////////////////////////////////////////////////////////////////////////// … … 82 86 83 87 fNumSaturatedPixels = -1; 88 fNumHGSaturatedPixels = -1; 84 89 } 85 90 … … 95 100 96 101 fNumSaturatedPixels = 0; 102 fNumHGSaturatedPixels = 0; 97 103 98 104 const UInt_t npixevt = evt.GetNumPixels(); … … 109 115 110 116 // count saturated pixels 117 if (pix.IsPixelHGSaturated()) 118 fNumHGSaturatedPixels++; 111 119 if (pix.IsPixelSaturated()) 112 120 fNumSaturatedPixels++; … … 175 183 *fLog << " - Used Pixels [#] = " << fNumUsedPixels << " Pixels" << endl; 176 184 *fLog << " - Core Pixels [#] = " << fNumCorePixels << " Pixels" << endl; 177 *fLog << " - Sat. Pixels [#] = " << fNumSaturatedPixels << " Pixels" << endl; 185 *fLog << " - Sat. Pixels (HG) [#] = " << fNumHGSaturatedPixels << " Pixels" << endl; 186 *fLog << " - Sat. Pixels (LG) [#] = " << fNumSaturatedPixels << " Pixels" << endl; 178 187 } -
trunk/MagicSoft/Mars/mimage/MNewImagePar.h
r3183 r3466 21 21 Short_t fNumUsedPixels; // Number of pixels which survived the image cleaning 22 22 Short_t fNumCorePixels; // number of core pixels 23 Short_t fNumSaturatedPixels; // number of pixels with saturating lo-gains 23 Short_t fNumHGSaturatedPixels; // number of pixels with saturating hi-gains 24 Short_t fNumSaturatedPixels; // number of pixels with saturating lo-gains 24 25 25 26 public: … … 38 39 39 40 Short_t GetNumSaturatedPixels() const { return fNumSaturatedPixels; } 41 Short_t GetNumHGSaturatedPixels() const { return fNumHGSaturatedPixels; } 40 42 41 43 void Print(Option_t *opt=NULL) const; … … 44 46 const MHillas &hillas); 45 47 46 ClassDef(MNewImagePar, 2) // Container to hold new image parameters48 ClassDef(MNewImagePar, 3) // Container to hold new image parameters 47 49 }; 48 50
Note:
See TracChangeset
for help on using the changeset viewer.