CMS 3D CMS Logo

Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/PhysicsTools/RooStatsCms/src/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_.

                                                                    {
  alpha_     = alpha;
  type_      = type;
  alpha_min_ = type_ == equal_tailed ? alpha_/2 : alpha_;
  kappa_     = ROOT::Math::normal_quantile(1 - alpha/2, 1);
  kappa2_    = kappa_*kappa_;
}