Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
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
ConfigFiles.l
tuple l
Definition:
ConfigFiles.py:113
BinomialProbHelper
Definition:
BinomialProbHelper.h:10
BinomialNoncentralInterval.h
BinomialProbHelper::prob
double prob() const
Definition:
BinomialProbHelper.h:28
SterneBinomialInterval
Definition:
SterneBinomialInterval.h:16
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
SterneBinomialInterval::name
const char * name() const
Definition:
SterneBinomialInterval.h:17
SterneSorter
Definition:
SterneBinomialInterval.h:10
Generated for CMSSW Reference Manual by
1.8.5