Simple class to simulate Bayesian psi distributions. More...
#include "NcPsiDistrib.h"
Simple class to simulate Bayesian psi distributions.
Definition at line 15 of file NcPsiDistrib.h.
Public Member Functions | |
| NcPsiDistrib () | |
| virtual | ~NcPsiDistrib () |
| void | Distribute (Int_t storemode=0) |
| Double_t | GetFracAbove () |
| Double_t | GetFracBelow () |
| TH1D * | GetPsiHisto () |
| NcSample * | GetPsiSample () |
| void | SetNevents (Int_t n) |
| void | SetNoutcomes (Int_t n, Double_t *p=0) |
| void | SetNtrials (Long_t n) |
| void | SetPrintFreq (Int_t freq) |
| void | SetProbabilities (Double_t *p) |
| void | SetPsiRange (Int_t nb, Float_t low, Float_t high) |
| void | SetReferencePsi (Double_t ref) |
| void | SetSignal (Int_t *s) |
Protected Member Functions | |
| Float_t | FindMaxPsi () |
Protected Attributes | |
| Long_t | fNabove |
| Long_t | fNbelow |
| Int_t | fNevents |
| Int_t | fNoutcomes |
| Long_t | fNtrials |
| Int_t | fPrintFreq |
| Double_t * | fProbs |
| TH1D * | fPsiHisto |
| Bool_t | fRangeSet |
| Double_t | fRefPsi |
| NcSample * | fSample |
| Int_t * | fSignal |
| NcPsiDistrib::NcPsiDistrib | ( | ) |
Definition at line 97 of file NcPsiDistrib.cxx.
|
virtual |
Definition at line 130 of file NcPsiDistrib.cxx.
| void NcPsiDistrib::Distribute | ( | Int_t | storemode = 0 | ) |
Definition at line 298 of file NcPsiDistrib.cxx.
|
protected |
Definition at line 424 of file NcPsiDistrib.cxx.
| Double_t NcPsiDistrib::GetFracAbove | ( | ) |
Definition at line 413 of file NcPsiDistrib.cxx.
| Double_t NcPsiDistrib::GetFracBelow | ( | ) |
Definition at line 402 of file NcPsiDistrib.cxx.
| TH1D * NcPsiDistrib::GetPsiHisto | ( | ) |
Definition at line 380 of file NcPsiDistrib.cxx.
| NcSample * NcPsiDistrib::GetPsiSample | ( | ) |
Definition at line 391 of file NcPsiDistrib.cxx.
| void NcPsiDistrib::SetNevents | ( | Int_t | n | ) |
Definition at line 171 of file NcPsiDistrib.cxx.
| void NcPsiDistrib::SetNoutcomes | ( | Int_t | n, |
| Double_t * | p = 0 ) |
Definition at line 182 of file NcPsiDistrib.cxx.
| void NcPsiDistrib::SetNtrials | ( | Long_t | n | ) |
Definition at line 160 of file NcPsiDistrib.cxx.
| void NcPsiDistrib::SetPrintFreq | ( | Int_t | freq | ) |
Definition at line 287 of file NcPsiDistrib.cxx.
| void NcPsiDistrib::SetProbabilities | ( | Double_t * | p | ) |
Definition at line 211 of file NcPsiDistrib.cxx.
| void NcPsiDistrib::SetPsiRange | ( | Int_t | nb, |
| Float_t | low, | ||
| Float_t | high ) |
Definition at line 264 of file NcPsiDistrib.cxx.
| void NcPsiDistrib::SetReferencePsi | ( | Double_t | ref | ) |
Definition at line 276 of file NcPsiDistrib.cxx.
| void NcPsiDistrib::SetSignal | ( | Int_t * | s | ) |
Definition at line 238 of file NcPsiDistrib.cxx.
|
protected |
Definition at line 46 of file NcPsiDistrib.h.
|
protected |
Definition at line 45 of file NcPsiDistrib.h.
|
protected |
Definition at line 39 of file NcPsiDistrib.h.
|
protected |
Definition at line 40 of file NcPsiDistrib.h.
|
protected |
Definition at line 38 of file NcPsiDistrib.h.
|
protected |
Definition at line 49 of file NcPsiDistrib.h.
|
protected |
Definition at line 41 of file NcPsiDistrib.h.
|
protected |
Definition at line 47 of file NcPsiDistrib.h.
|
protected |
Definition at line 43 of file NcPsiDistrib.h.
|
protected |
Definition at line 44 of file NcPsiDistrib.h.
|
protected |
Definition at line 48 of file NcPsiDistrib.h.
|
protected |
Definition at line 42 of file NcPsiDistrib.h.