ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::HypoTestInverterResult

class RooStats::HypoTestInverterResult: public RooStats::SimpleInterval

Function Members (Methods)

public:
virtual~HypoTestInverterResult()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
intArraySize() const
virtual voidTObject::Browse(TBrowser* b)
virtual Bool_tRooStats::SimpleInterval::CheckParameters(const RooArgSet&) const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual Double_tRooStats::SimpleInterval::ConfidenceLevel() const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual RooArgSet*RooStats::SimpleInterval::GetParameters() const
RooStats::HypoTestResult*GetResult(int index) const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
doubleGetXValue(int index) const
doubleGetYError(int index) const
doubleGetYValue(int index) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
RooStats::HypoTestInverterResultHypoTestInverterResult(const char* name = 0)
RooStats::HypoTestInverterResultHypoTestInverterResult(const char* name, const RooRealVar& scannedVariable, double cl)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tRooStats::SimpleInterval::IsInInterval(const RooArgSet&) const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual Double_tLowerLimit()
Double_tLowerLimitEstimatedError()
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
RooStats::SimpleInterval&RooStats::SimpleInterval::operator=(const RooStats::SimpleInterval&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetConfidenceLevel(Double_t cl)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetTestSize(Double_t size)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
RooStats::SimpleIntervalRooStats::SimpleInterval::SimpleInterval(const char* name = 0)
RooStats::SimpleIntervalRooStats::SimpleInterval::SimpleInterval(const RooStats::SimpleInterval&)
RooStats::SimpleIntervalRooStats::SimpleInterval::SimpleInterval(const char* name, const RooRealVar& var, Double_t lower, Double_t upper, Double_t cl)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual Double_tUpperLimit()
Double_tUpperLimitEstimatedError()
voidUseCLs(bool on = true)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
boolAdd(const RooStats::HypoTestInverterResult& otherResult)
doubleCalculateEstimatedError(double target)
intFindClosestPointIndex(double target)
doubleFindInterpolatedLimit(double target)

Data Members

protected:
boolfInterpolateLowerLimit
boolfInterpolateUpperLimit
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
boolfUseCLs
vector<double>fXValues
TListfYObjects

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HypoTestInverterResult(const char* name = 0)
 default constructor
HypoTestInverterResult(const char* name, const RooRealVar& scannedVariable, double cl)
 constructor
~HypoTestInverterResult()
 destructor
 no need to delete explictly the objects in the TList since the TList owns the objects
bool Add(const RooStats::HypoTestInverterResult& otherResult)
 Merge this HypoTestInverterResult with another
 HypoTestInverterResult passed as argument
double GetXValue(int index) const
double GetYValue(int index) const
double GetYError(int index) const
HypoTestResult* GetResult(int index) const
double FindInterpolatedLimit(double target)
int FindClosestPointIndex(double target)
 find the object with the smallest error that is < 1 sigma from the target
Double_t LowerLimit()
std::cout << "finding point with cl = " << 1-(1-ConfidenceLevel())/2 << endl;
Double_t UpperLimit()
std::cout << "finding point with cl = " << (1-ConfidenceLevel())/2 << endl;
Double_t CalculateEstimatedError(double target)
 Return an error estimate on the upper limit.  This is the error on
 either CLs or CLsplusb divided by an estimate of the slope at this
 point.
Double_t LowerLimitEstimatedError()
std::cout << "The HypoTestInverterResult::LowerLimitEstimatedError() function evaluates only a rought error on the upper limit. Be careful when using this estimation\n";
Double_t UpperLimitEstimatedError()
std::cout << "The HypoTestInverterResult::UpperLimitEstimatedError() function evaluates only a rought error on the upper limit. Be careful when using this estimation\n";
int ArraySize() const
 number of entries in the results array
{ return fXValues.size(); }
void SetTestSize(Double_t size)
 set the size of the test (rate of Type I error) (eg. 0.05 for a 95% Confidence Interval)
{ fConfidenceLevel = 1.-size; }
void SetConfidenceLevel(Double_t cl)
 set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
{ fConfidenceLevel = cl; }
void UseCLs(bool on = true)
 flag to switch between using CLsb (default) or CLs as confidence level
{ fUseCLs = on; }