Changeset 5740 for trunk


Ignore:
Timestamp:
01/08/05 11:33:50 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5739 r5740  
    3131       calculate the joint probability of Chisquare of pixel "pixidx"
    3232       and fNdf
     33     - added documentation of data members
    3334     - raised version number by 1
    3435
  • trunk/MagicSoft/Mars/msignal/MExtractedSignalCam.cc

    r3720 r5740  
    5151    : fFirstUsedSliceHiGain(0), fFirstUsedSliceLoGain(0),
    5252      fLastUsedSliceHiGain(0), fLastUsedSliceLoGain(0),
    53       fUsedWindowHiGain(0.), fUsedWindowLoGain(0.)
     53      fUsedWindowHiGain(0.), fUsedWindowLoGain(0.), fNdf(-1)
    5454{
    5555    fName  = name  ? name  : "MExtractedSignalCam";
     
    114114}
    115115
     116Float_t MExtractedSignalCam::GetProb( const Int_t pixidx )   const
     117{
     118
     119  if (pixidx > GetSize()-1)
     120    return -1.;
     121 
     122  return TMath::Prob((*this)[pixidx].GetChisquare(),fNdf);
     123}
     124
    116125void MExtractedSignalCam::Clear(Option_t *o)
    117126{
Note: See TracChangeset for help on using the changeset viewer.