16#ifndef TEFFiciencyHelper_h
17#define TEFFiciencyHelper_h
50 int X ()
const {
return fX; };
51 int N ()
const {
return fN; };
69template <
typename Sorter>
88 std::vector<BinomialProbHelper>
probs;
89 for (
int i = 0; i <=
ntot; ++i)
105 const int&
x =
probs[i].X();
117 for (
int i = 0; i <
nrho; ++i) {
131 const double tol = 1
e-9;
183 return l.LRatio() >
r.LRatio();
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t target
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Implement noncentral binomial confidence intervals using the Neyman construction.
bool Neyman(const int ntot, const int nrho, double *rho, double *x_l, double *x_r)
bool Find_rho_set(const double rho, const int ntot, int &x_l, int &x_r) const
void Set(double l, double u)
void Calculate(const double X, const double n)
Helper class impelementing the binomial probability and the likelihood ratio used for ordering the in...
BinomialProbHelper(double rho, int x, int n)
const_iterator begin() const
const_iterator end() const
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
bool operator()(const BinomialProbHelper &l, const BinomialProbHelper &r) const
static uint64_t sum(uint64_t i)