Changeset 3751 for trunk/MagicSoft


Ignore:
Timestamp:
04/15/04 15:15:58 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3750 r3751  
    2424       works if there is indeed a colour or if the run nubmer is smaller
    2525       than 20000 -> take ct1
    26 
    27    * manalysis/MCerPhotPix.[h,cc]
    28      - added one variable fTime (with Getter and Setter)
    2926
    3027   * mcalib/MCalibrateRelTimes.[h,cc]
  • trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc

    r3749 r3751  
    6060//
    6161MCerPhotPix::MCerPhotPix(Int_t pix, Float_t phot, Float_t errphot) :
    62     fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot), fTime(-1.), fIsSaturated(kFALSE), fIsHGSaturated(kFALSE)
     62    fPixId(pix), fRing(1), fIsCore(kFALSE), fPhot(phot), fErrPhot(errphot),
     63    fIsSaturated(kFALSE), fIsHGSaturated(kFALSE)
    6364{
    6465}
  • trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h

    r3748 r3751  
    1717    Float_t  fPhot;      // The number of Cerenkov photons
    1818    Float_t  fErrPhot;   // the error of fPhot
    19     Float_t  fTime;      // Calibrated Arrival Time
    2019
    2120    Bool_t   fIsSaturated;   // the pixel's low gain is saturated
     
    3029    Float_t  GetNumPhotons() const       { return fPhot;    }
    3130    Float_t  GetErrorPhot() const        { return fErrPhot; }
    32     Float_t  GetTime()      const        { return fTime;    }
    3331   
    3432    Bool_t   IsPixelUsed() const         { return fRing>0; }
     
    4644    void     SetNumPhotons(Float_t f)    { fPhot    = f; }
    4745    void     SetErrorPhot(Float_t f)     { fErrPhot = f; }
    48     void     SetTime    (Float_t f)    { fTime    = f; }
    4946    void     Set(Float_t np, Float_t ep) { fPhot = np; fErrPhot = ep; }
    5047
  • trunk/MagicSoft/Mars/mcalib/MCalibrate.cc

    r3747 r3751  
    256256          MCalibrationChargePix &pix = (MCalibrationChargePix&)(*fCalibrations)[pixidx];
    257257          MCalibrationQEPix     &qe  = (MCalibrationQEPix&)    (*fQEs         )[pixidx];
    258           MBadPixelsPix         &bad = (*fBadPixels)[pixidx];
    259258
    260259          if (fBadPixels)
    261             if (!bad.IsCalibrationResultOK())
    262               continue;
    263 
     260            {
     261              MBadPixelsPix         &bad = (*fBadPixels)[pixidx];
     262              if (!bad.IsCalibrationResultOK())
     263                continue;
     264            }
     265           
    264266          calibConv      = pix.GetMeanConvFADC2Phe();
    265267          calibConvVar   = pix.GetMeanConvFADC2PheVar();
Note: See TracChangeset for help on using the changeset viewer.