Changeset 3748 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/15/04 14:45:22 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3747 r3748  
    2525       than 20000 -> take ct1
    2626
    27    * manalysis/MCerPhotEvt.h
     27   * manalysis/MCerPhotPix.[h,cc]
    2828     - added one variable fTime (with Getter and Setter)
    2929
  • trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc

    r3734 r3748  
    6060//
    6161MCerPhotPix::MCerPhotPix(Int_t pix, Float_t phot, Float_t errphot) :
    62   fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fIsSaturated(kFALSE), fIsHGSaturated(kFALSE)
     62    fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fIsSaturated(kFALSE), fIsHGSaturated(kFALSE), fTime(-1.)
    6363{
    6464}
  • trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h

    r3466 r3748  
    1717    Float_t  fPhot;      // The number of Cerenkov photons
    1818    Float_t  fErrPhot;   // the error of fPhot
     19    Float_t  fTime;      // Calibrated Arrival Time
    1920
    2021    Bool_t   fIsSaturated;   // the pixel's low gain is saturated
     
    2930    Float_t  GetNumPhotons() const       { return fPhot;    }
    3031    Float_t  GetErrorPhot() const        { return fErrPhot; }
    31 
     32    Float_t  GetTime()      const        { return fTime;    }
     33   
    3234    Bool_t   IsPixelUsed() const         { return fRing>0; }
    3335    Bool_t   IsPixelUnmapped() const     { return fRing==-1; }
     
    4446    void     SetNumPhotons(Float_t f)    { fPhot    = f; }
    4547    void     SetErrorPhot(Float_t f)     { fErrPhot = f; }
     48    void     SetTime    (Float_t f)    { fTime    = f; }
    4649    void     Set(Float_t np, Float_t ep) { fPhot = np; fErrPhot = ep; }
    4750
Note: See TracChangeset for help on using the changeset viewer.