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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc

    r3183 r3466  
    4141//  - added fIsSaturated
    4242//
     43// Version 4:
     44// ----------
     45//  - added fIsHGSaturated
     46//
    4347////////////////////////////////////////////////////////////////////////////
    4448#include "MCerPhotPix.h"
     
    5660//
    5761MCerPhotPix::MCerPhotPix(Int_t pix, Float_t phot, Float_t errphot) :
    58   fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fIsSaturated(kFALSE)
     62  fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fIsSaturated(kFALSE), fIsHGSaturated(kFALSE)
    5963{
    6064}
     
    6973    gLog << (fRing>0?"   Used ":" Unused ");
    7074    gLog << (fIsCore?" Core ":"      ");
     75    gLog << "High gain " << (fIsHGSaturated?"   ":"not") << " saturated";
    7176    gLog << (fIsSaturated?"   ":"Not") << " saturated";
    7277    gLog << " Nphot= " << fPhot << " Error(Nphot)=" << fErrPhot << endl;
  • trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h

    r3415 r3466  
    1818    Float_t  fErrPhot;   // the error of fPhot
    1919
    20     Bool_t   fIsSaturated; // the pixel is saturated
     20    Bool_t   fIsSaturated;   // the pixel's low gain is saturated
     21    Bool_t   fIsHGSaturated; // the pixel's high gain is saturated
    2122
    2223    // FIXME: arrival time t, and it's error sigma t
     
    4849    Bool_t   IsPixelSaturated() const    { return fIsSaturated; }
    4950
     51    void     SetPixelHGSaturated()         { fIsHGSaturated = kTRUE; }
     52    Bool_t   IsPixelHGSaturated() const    { return fIsHGSaturated; }
     53
    5054    void     AddNumPhotons(Float_t f)    { fPhot += f; }
    5155
     
    5458    void     Print(Option_t *opt = NULL) const;
    5559
    56     ClassDef(MCerPhotPix, 3)  // class containing information about the Cerenkov Photons in a pixel
     60    ClassDef(MCerPhotPix, 4)  // class containing information about the Cerenkov Photons in a pixel
    5761};
    5862
Note: See TracChangeset for help on using the changeset viewer.