Ignore:
Timestamp:
09/12/05 16:35:04 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/msignal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MSignalCam.cc

    r7297 r7349  
    252252        Float_t testval = pix.GetNumPhotons()/pix.GetErrorPhot();
    253253        if (geom)
    254             testval *= TMath::Sqrt(geom->GetPixRatio(i/*pix.GetPixId()*/));
     254            testval *= geom->GetPixRatioSqrt(i/*pix.GetPixId()*/);
    255255
    256256        if (testval < minval)
     
    280280        Float_t testval = pix.GetNumPhotons()/pix.GetErrorPhot();
    281281        if (geom)
    282             testval *= TMath::Sqrt(geom->GetPixRatio(i/*pix.GetPixId()*/));
     282            testval *= geom->GetPixRatioSqrt(i/*pix.GetPixId()*/);
    283283
    284284        if (testval > maxval)
  • trunk/MagicSoft/Mars/msignal/MSignalCam.h

    r6856 r7349  
    4646    }
    4747
     48    // Setter functions for use in image cleaning classes only
     49    void SetSinglePixels(Short_t num, Float_t size)  { fNumSinglePixels=num; fSizeSinglePixels=size; }
     50    void SetNumPixelsSaturated(UInt_t hi, UInt_t lo) { fNumPixelsSaturatedHiGain=hi;fNumPixelsSaturatedLoGain=lo; }
     51
    4852    // Getter functions
    4953    UInt_t  GetNumPixels() const { return fPixels->GetEntriesFast(); }
     
    5559    Int_t   GetNumPixelsSaturatedHiGain() const { return fNumPixelsSaturatedHiGain; }
    5660    Int_t   GetNumPixelsSaturatedLoGain() const { return fNumPixelsSaturatedLoGain; }
    57 
    58     // Setter functions for use in image cleaning classes only
    59     void SetSinglePixels(Short_t num, Float_t size)  { fNumSinglePixels=num; fSizeSinglePixels=size; }
    60     void SetNumPixelsSaturated(UInt_t hi, UInt_t lo) { fNumPixelsSaturatedHiGain=hi;fNumPixelsSaturatedLoGain=lo; }
    6161
    6262    Bool_t  IsPixelExisting(Int_t id) const;
Note: See TracChangeset for help on using the changeset viewer.