Ignore:
Timestamp:
03/10/04 20:23:56 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mimage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mimage/MNewImagePar.cc

    r3183 r3466  
    3737// ----------
    3838//  - added fNumSaturatedPixels
     39//
     40// Version 3:
     41// ----------
     42//  - added fNumHGSaturatedPixels
    3943//
    4044/////////////////////////////////////////////////////////////////////////////
     
    8286
    8387    fNumSaturatedPixels = -1;
     88    fNumHGSaturatedPixels = -1;
    8489}
    8590
     
    95100
    96101    fNumSaturatedPixels = 0;
     102    fNumHGSaturatedPixels = 0;
    97103
    98104    const UInt_t npixevt = evt.GetNumPixels();
     
    109115
    110116        // count saturated pixels
     117        if (pix.IsPixelHGSaturated())
     118            fNumHGSaturatedPixels++;
    111119        if (pix.IsPixelSaturated())
    112120            fNumSaturatedPixels++;
     
    175183    *fLog << " - Used Pixels    [#]   = " << fNumUsedPixels << " Pixels" << endl;
    176184    *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;
    178187}
  • trunk/MagicSoft/Mars/mimage/MNewImagePar.h

    r3183 r3466  
    2121    Short_t fNumUsedPixels;      // Number of pixels which survived the image cleaning
    2222    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
    2425
    2526public:
     
    3839
    3940    Short_t GetNumSaturatedPixels() const { return fNumSaturatedPixels; }
     41    Short_t GetNumHGSaturatedPixels() const { return fNumHGSaturatedPixels; }
    4042
    4143    void Print(Option_t *opt=NULL) const;
     
    4446              const MHillas &hillas);
    4547
    46     ClassDef(MNewImagePar, 2) // Container to hold new image parameters
     48    ClassDef(MNewImagePar, 3) // Container to hold new image parameters
    4749};
    4850
Note: See TracChangeset for help on using the changeset viewer.