#include <AtNuResBayesPdf.h>
Public Member Functions | |
AtNuResBayesPdf (Int_t fbins, Double_t fmin, Double_t fmax) | |
~AtNuResBayesPdf () | |
Int_t | GetBins () |
Double_t | GetMin () |
Double_t | GetMax () |
Int_t | GetBin (Double_t x) |
Double_t | GetCenter (Int_t bin) |
Double_t | GetTotalWeight () |
Double_t | GetWeight (Int_t bin) |
Double_t | GetWeight (Double_t x) |
Double_t | GetMean () |
Double_t | GetRMS () |
void | Fill (Double_t x, Double_t weight) |
void | Reset () |
TH1D * | MakeTH1D (const char *histname) |
Private Attributes | |
Int_t | fBins |
Double_t | fMin |
Double_t | fMax |
Double_t | fSw |
Double_t | fSwx |
Double_t | fSwx2 |
Double_t | fWeight |
Double_t * | fPdf |
|
Definition at line 8 of file AtNuResBayesPdf.cxx. References fBins, fMax, fMin, fPdf, fSw, fSwx, fSwx2, and fWeight.
|
|
Definition at line 26 of file AtNuResBayesPdf.cxx. References fPdf.
00027 { 00028 delete [] fPdf; 00029 } |
|
Definition at line 79 of file AtNuResBayesPdf.cxx. References fBins, fPdf, fSw, fSwx, fSwx2, fWeight, and GetBin(). Referenced by AtNuResolution::AddToBayesPdf().
|
|
Definition at line 18 of file AtNuResBayesPdf.h. References fBins, fMax, and fMin. Referenced by Fill(), and GetWeight().
|
|
Definition at line 14 of file AtNuResBayesPdf.h. References fBins.
00014 { return fBins; } |
|
Definition at line 19 of file AtNuResBayesPdf.h. References fBins, fMax, and fMin.
|
|
Definition at line 16 of file AtNuResBayesPdf.h. References fMax.
00016 { return fMax; } |
|
Definition at line 49 of file AtNuResBayesPdf.cxx.
|
|
Definition at line 15 of file AtNuResBayesPdf.h. References fMin.
00015 { return fMin; } |
|
Definition at line 57 of file AtNuResBayesPdf.cxx. References fSw, fSwx, and fSwx2. Referenced by AtNuResolution::GetResolutionCV().
|
|
Definition at line 20 of file AtNuResBayesPdf.h. References fWeight. Referenced by AtNuResolution::GetResolutionCV().
00020 { return fWeight; }; |
|
Definition at line 42 of file AtNuResBayesPdf.cxx. References GetBin(), and GetWeight().
|
|
Definition at line 31 of file AtNuResBayesPdf.cxx. Referenced by GetWeight().
|
|
Definition at line 95 of file AtNuResBayesPdf.cxx. References fBins, fMax, fMin, and fPdf. Referenced by AtNuResolution::GetResolutionPdf().
00096 { 00097 TH1D* newpdf = new TH1D(histname,histname,fBins,fMin,fMax); 00098 00099 for( Int_t n=0; n<fBins; n++ ){ 00100 newpdf->SetBinContent(n+1,fPdf[n]); 00101 } 00102 00103 return newpdf; 00104 } |
|
Definition at line 65 of file AtNuResBayesPdf.cxx. References fBins, fPdf, fSw, fSwx, fSwx2, and fWeight. Referenced by AtNuResolution::GetResolutionCV(), and AtNuResolution::GetResolutionUPMU().
|
|
Definition at line 34 of file AtNuResBayesPdf.h. Referenced by AtNuResBayesPdf(), Fill(), GetBin(), GetBins(), GetCenter(), GetWeight(), MakeTH1D(), and Reset(). |
|
Definition at line 36 of file AtNuResBayesPdf.h. Referenced by AtNuResBayesPdf(), GetBin(), GetCenter(), GetMax(), and MakeTH1D(). |
|
Definition at line 35 of file AtNuResBayesPdf.h. Referenced by AtNuResBayesPdf(), GetBin(), GetCenter(), GetMin(), and MakeTH1D(). |
|
Definition at line 43 of file AtNuResBayesPdf.h. Referenced by AtNuResBayesPdf(), Fill(), GetWeight(), MakeTH1D(), Reset(), and ~AtNuResBayesPdf(). |
|
Definition at line 38 of file AtNuResBayesPdf.h. Referenced by AtNuResBayesPdf(), Fill(), GetMean(), GetRMS(), and Reset(). |
|
Definition at line 39 of file AtNuResBayesPdf.h. Referenced by AtNuResBayesPdf(), Fill(), GetMean(), GetRMS(), and Reset(). |
|
Definition at line 40 of file AtNuResBayesPdf.h. Referenced by AtNuResBayesPdf(), Fill(), GetRMS(), and Reset(). |
|
Definition at line 41 of file AtNuResBayesPdf.h. Referenced by AtNuResBayesPdf(), Fill(), GetTotalWeight(), and Reset(). |