Main Page
Namespaces
Classes
Package Documentation
src
PhysicsTools
RooStatsCms
interface
SterneBinomialInterval.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_RooStatsCms_SterneBinomialInterval_h
2
#define PhysicsTools_RooStatsCms_SterneBinomialInterval_h
3
4
#if (defined (STANDALONE) or defined (__CINT__) )
5
#include "
BinomialNoncentralInterval.h
"
6
#else
7
#include "
PhysicsTools/RooStatsCms/interface/BinomialNoncentralInterval.h
"
8
#endif
9
10
struct
SterneSorter
{
11
bool
operator()
(
const
BinomialProbHelper
&
l
,
const
BinomialProbHelper
&
r
)
const
{
12
return
l.
prob
() > r.
prob
();
13
}
14
};
15
16
class
SterneBinomialInterval
:
public
BinomialNoncentralInterval
<SterneSorter> {
17
const
char
*
name
()
const override
{
return
"Feldman-Cousins"
; }
18
19
#if (defined (STANDALONE) or defined (__CINT__) )
20
ClassDef(
SterneBinomialInterval
,1)
21
#endif
22
};
23
24
#endif
BinomialNoncentralInterval
Definition:
BinomialNoncentralInterval.h:31
SterneSorter::operator()
bool operator()(const BinomialProbHelper &l, const BinomialProbHelper &r) const
Definition:
SterneBinomialInterval.h:11
BinomialProbHelper
Definition:
BinomialProbHelper.h:14
BinomialNoncentralInterval.h
BinomialProbHelper::prob
double prob() const
Definition:
BinomialProbHelper.h:32
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
SterneBinomialInterval::name
const char * name() const override
Definition:
SterneBinomialInterval.h:17
SterneBinomialInterval
Definition:
SterneBinomialInterval.h:16
checklumidiff.l
l
Definition:
checklumidiff.py:65
SterneSorter
Definition:
SterneBinomialInterval.h:10
Generated for CMSSW Reference Manual by
1.8.11