Ignore:
Timestamp:
01/08/05 11:33:50 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.