CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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);
24  const char* name() const { return "Clopper-Pearson"; }
25 
26 #if (defined (STANDALONE) or defined (__CINT__) )
28 #endif
29 };
30 
31 #endif
void calculate(const double successes, const double trials)