CMS 3D CMS Logo

Functions
BinomialInterval.cc File Reference
#include <string>
#include <cstdio>
#include "Math/PdfFuncMathCore.h"
#include "Math/QuantFuncMathCore.h"
#include "BinomialInterval.h"

Go to the source code of this file.

Functions

 ClassImp (BinomialInterval) void BinomialInterval
 

Function Documentation

ClassImp ( BinomialInterval  )

Definition at line 9 of file BinomialInterval.cc.

References BinomialInterval::alpha(), BinomialInterval::alpha_, BinomialInterval::alpha_min_, BinomialInterval::equal_tailed, BinomialInterval::kappa2_, BinomialInterval::kappa_, and BinomialInterval::type_.

14  {
15  alpha_ = alpha;
16  type_ = type;
17  alpha_min_ = type_ == equal_tailed ? alpha_/2 : alpha_;
18  kappa_ = ROOT::Math::normal_quantile(1 - alpha/2, 1);
19  kappa2_ = kappa_*kappa_;
20 }
type
Definition: HCALResponse.h:21
float alpha
Definition: AMPTWrapper.h:95