11 #ifndef RooStats_ConfidenceBelt
12 #define RooStats_ConfidenceBelt
20 #ifndef RooStats_ConfInterval
46 AcceptanceCriteria tmp(cl, leftside);
50 std::cout<<
"SamplingSummaryLookup::Add, already in lookup table" << std::endl;
57 AcceptanceCriteria tmp(cl, leftside);
64 if(
TMath::Abs( (*it).second.first - cl ) < tolerance &&
65 TMath::Abs( (*it).second.second - leftside ) < tolerance )
78 std::cout <<
"SamplingSummaryLookup::GetConfidenceLevel, index not in lookup table" << std::endl;
86 std::cout <<
"SamplingSummaryLookup::GetLeftSideTailFraction, index not in lookup table" << std::endl;
143 std::cout <<
"SamplingSummary::AddAcceptanceRegion, need to implement merging protocol" << std::endl;
SamplingSummary(AcceptanceRegion &ar)
ConfidenceBelt()
Default constructor.
AcceptanceRegion * GetAcceptanceRegion(RooArgSet &, Double_t cl=-1., Double_t leftside=-1.)
Method to determine if a parameter point is in the interval.
void Add(Double_t cl, Double_t leftside)
virtual ~ConfidenceBelt()
Destructor.
void AddAcceptanceRegion(RooArgSet &, AcceptanceRegion region, Double_t cl=-1., Double_t leftside=-1.)
std::pair< Double_t, Double_t > AcceptanceCriteria
Persistent Reference link to a TObject A TRef is a lightweight object pointing to any TObject...
Double_t GetConfidenceLevel(Int_t index)
#define ClassDef(name, id)
TRef fSamplingDistribution
The TNamed class is the base class for all named ROOT classes.
ConfidenceBelt is a concrete implementation of the ConfInterval interface.
Int_t GetParameterPointIndex()
virtual RooArgSet * GetParameters() const
returns list of parameters
std::map< Int_t, AcceptanceCriteria > LookupTable
SamplingSummaryLookup fSamplingSummaryLookup
AcceptanceRegion(Int_t lu, Double_t ll, Double_t ul)
Bool_t CheckParameters(RooArgSet &) const
Int_t GetLookupIndex(Double_t cl, Double_t leftside)
std::map< Int_t, AcceptanceRegion > fAcceptanceRegions
std::vector< Double_t > ConfidenceLevels() const
AcceptanceRegion & GetAcceptanceRegion(Int_t index=0)
RooAbsData * fParameterPoints
This class simply holds a sampling distribution of some test statistic.
Int_t fParameterPointIndex
Namespace for the RooStats classes.
virtual ~AcceptanceRegion()
Double_t GetLeftSideTailFraction(Int_t index)
Mother of all ROOT objects.
TObject * GetObject() const
Return a pointer to the referenced object.
virtual ~SamplingSummary()
Double_t GetAcceptanceRegionMax(RooArgSet &, Double_t cl=-1., Double_t leftside=-1.)
std::vector< SamplingSummary > fSamplingSummaries
void AddAcceptanceRegion(AcceptanceRegion &ar)
SamplingDistribution * GetSamplingDistribution()
virtual ~SamplingSummaryLookup()
Double_t GetAcceptanceRegionMin(RooArgSet &, Double_t cl=-1., Double_t leftside=-1.)