Changeset 2849 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 01/19/04 15:46:56 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mimage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MNewImagePar.cc
r2624 r2849 32 32 // fLeakage2 ratio: (photons in the 2 outer rings of pixels) over fSize 33 33 // 34 // Version 2: 35 // Added fNumSaturatedPixels: number of pixels in which at least one slice 36 // of the low gain FADC was saturated. 37 // 34 38 ///////////////////////////////////////////////////////////////////////////// 35 39 #include "MNewImagePar.h" … … 74 78 fNumUsedPixels = -1; 75 79 fNumCorePixels = -1; 80 81 fNumSaturatedPixels = -1; 76 82 } 77 83 … … 86 92 fNumCorePixels = 0; 87 93 94 fNumSaturatedPixels = 0; 95 88 96 const UInt_t npixevt = evt.GetNumPixels(); 89 97 … … 97 105 { 98 106 const MCerPhotPix &pix = evt[i]; 107 108 if (pix.IsPixelSaturated()) 109 fNumSaturatedPixels++; 110 99 111 if (!pix.IsPixelUsed()) 100 112 continue; -
trunk/MagicSoft/Mars/mimage/MNewImagePar.h
r2026 r2849 22 22 Short_t fNumCorePixels; // number of core pixels 23 23 24 Short_t fNumSaturatedPixels; // number of saturated pixels 25 24 26 public: 25 27 MNewImagePar(const char *name=NULL, const char *title=NULL); … … 36 38 Int_t GetNumCorePixels() const { return fNumCorePixels; } 37 39 40 Short_t GetNumSaturatedPixels() const { return fNumSaturatedPixels; } 41 38 42 void Print(Option_t *opt=NULL) const; 39 43 … … 41 45 const MHillas &hillas); 42 46 43 ClassDef(MNewImagePar, 1) // Container to hold new image parameters47 ClassDef(MNewImagePar, 2) // Container to hold new image parameters 44 48 }; 45 49
Note:
See TracChangeset
for help on using the changeset viewer.