11 #ifndef RooStats_ConfidenceBelt 12 #define RooStats_ConfidenceBelt 41 AcceptanceCriteria tmp(cl, leftside);
45 std::cout<<
"SamplingSummaryLookup::Add, already in lookup table" << std::endl;
52 AcceptanceCriteria tmp(cl, leftside);
59 if(
TMath::Abs( (*it).second.first - cl ) < tolerance &&
60 TMath::Abs( (*it).second.second - leftside ) < tolerance )
73 std::cout <<
"SamplingSummaryLookup::GetConfidenceLevel, index not in lookup table" << std::endl;
81 std::cout <<
"SamplingSummaryLookup::GetLeftSideTailFraction, index not in lookup table" << std::endl;
127 AddAcceptanceRegion(ar);
137 if( fAcceptanceRegions.count(index) !=0) {
138 std::cout <<
"SamplingSummary::AddAcceptanceRegion, need to implement merging protocol" << std::endl;
140 fAcceptanceRegions[index]=ar;
182 std::vector<Double_t> ConfidenceLevels()
const ;
SamplingSummary(AcceptanceRegion &ar)
void Add(Double_t cl, Double_t leftside)
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()
std::map< Int_t, AcceptanceCriteria > LookupTable
SamplingSummaryLookup fSamplingSummaryLookup
AcceptanceRegion(Int_t lu, Double_t ll, Double_t ul)
Int_t GetLookupIndex(Double_t cl, Double_t leftside)
std::map< Int_t, AcceptanceRegion > fAcceptanceRegions
AcceptanceRegion & GetAcceptanceRegion(Int_t index=0)
RooAbsData * fParameterPoints
void GetParameters(TFitEditor::FuncParams_t &pars, TF1 *func)
Stores the parameters of the given function into pars.
RooAbsData is the common abstract base class for binned and unbinned datasets.
This class simply holds a sampling distribution of some test statistic.
constexpr Double_t E()
Base of natural log: .
Int_t fParameterPointIndex
Namespace for the RooStats classes.
virtual ~AcceptanceRegion()
Double_t GetLeftSideTailFraction(Int_t index)
Mother of all ROOT objects.
virtual ~SamplingSummary()
std::vector< SamplingSummary > fSamplingSummaries
void AddAcceptanceRegion(AcceptanceRegion &ar)
SamplingDistribution * GetSamplingDistribution()
virtual ~SamplingSummaryLookup()