CMS 3D CMS Logo

ClopperPearsonBinomialInterval.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_RooStatsCms_ClopperPearsonBinomialInterval_h
2 #define PhysicsTools_RooStatsCms_ClopperPearsonBinomialInterval_h
3 /* \class ClopperPearsonBinomialInterval
4  *
5  * \author Jordan Tucker
6  *
7  * integration in CMSSW: Luca Lista
8  *
9  */
10 
11 #if (defined(STANDALONE) or defined(__CINT__))
12 #include "BinomialInterval.h"
13 #else
15 #endif
16 
17 // A class to implement the calculation of intervals for the binomial
18 // parameter rho. The bulk of the work is done by derived classes that
19 // implement calculate() appropriately.
20 
22 public:
23  void calculate(const double successes, const double trials) override;
24  const char* name() const override { return "Clopper-Pearson"; }
25 #if (defined(STANDALONE) or defined(__CINT__))
27 #endif
28 };
29 
30 #endif
void calculate(const double successes, const double trials) override