class RooStats::HybridResult: public RooStats::HypoTestResult


HybridResult class: this class is a fresh rewrite in RooStats of
	RooStatsCms/LimitResults developped by D. Piparo and G. Schott

The objects of this class store and access with lightweight methods the
information calculated by LimitResults through a Lent calculation using
MC toy experiments.
In some ways can be considered an extended and extensible implementation of the
TConfidenceLevel class (http://root.cern.ch/root/html/TConfidenceLevel.html).

Function Members (Methods)

public:
virtual~HybridResult()
voidTObject::AbstractMethod(const char* method) const
voidAdd(RooStats::HybridResult* other)
virtual Double_tAlternatePValue() const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual Double_tRooStats::HypoTestResult::CLb() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Double_tRooStats::HypoTestResult::CLs() const
virtual Double_tRooStats::HypoTestResult::CLsplusb() const
virtual Int_tTNamed::Compare(const TObject* obj) 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
RooStats::HybridPlot*GetPlot(const char* name, const char* title, int n_bins)
vector<double>GetTestStat_b()
doubleGetTestStat_data()
vector<double>GetTestStat_sb()
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
RooStats::HybridResultHybridResult()
RooStats::HybridResultHybridResult(const RooStats::HybridResult&)
RooStats::HybridResultHybridResult(const char* name, const char* title)
RooStats::HybridResultHybridResult(const char* name, const char* title, vector<double>& testStat_sb_vals, vector<double>& testStat_b_vals)
RooStats::HypoTestResultRooStats::HypoTestResult::HypoTestResult()
RooStats::HypoTestResultRooStats::HypoTestResult::HypoTestResult(const RooStats::HypoTestResult&)
RooStats::HypoTestResultRooStats::HypoTestResult::HypoTestResult(const char* name, Double_t nullp, Double_t altp)
RooStats::HypoTestResultRooStats::HypoTestResult::HypoTestResult(const char* name, const char* title, Double_t nullp, Double_t altp)
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
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
virtual Double_tNullPValue() const
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::HybridResult&operator=(const RooStats::HybridResult&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
voidPrintMore(const char* options)
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)
voidSetDataTestStatistics(double testStat_data_val)
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 voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Double_tRooStats::HypoTestResult::Significance() const
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 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()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Double_tRooStats::HypoTestResult::fAlternatePValuep-value for the alternate hypothesis (small number means disfavored)
TStringTNamed::fNameobject identifier
Double_tRooStats::HypoTestResult::fNullPValuep-value for the null hypothesis (small number means disfavored)
TStringTNamed::fTitleobject title
private:
boolfComputationsAltDoneFlagflag if the fAlternatePValue computation have been already done or not (ie need to be refreshed)
boolfComputationsNulDoneFlagflag if the fNullPValue computation have been already done or not (ie need to be refreshed)
vector<double>fTestStat_bvector of results for B-only toy-MC
doublefTestStat_dataresults (test statistics) evaluated for data
vector<double>fTestStat_sbvector of results for S+B toy-MC

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HybridResult(const char* name, const char* title, vector<double>& testStat_sb_vals, vector<double>& testStat_b_vals)
TNamed(name,title),
 HybridResult constructor (with name, title and vectors of S+B and B values)
HybridResult(const char* name, const char* title)
TNamed(name,title),
 HybridResult constructor (with name and title)
HybridResult(const RooStats::HybridResult& )
   TNamed("HybridResult_DefaultName","HybridResult"),
 HybridResult default constructor
~HybridResult()
 HybridResult destructor
void SetDataTestStatistics(double testStat_data_val)
 set the value of the test statistics on data
double NullPValue()
 return 1-CL_b : the B p-value
double AlternatePValue()
 return CL_s+b : the S+B p-value
void Add(RooStats::HybridResult* other)
 add additional toy-MC experiments to the current results
 use the data test statistics of the added object if none is already present (otherwise, ignore the new one)
HybridPlot* GetPlot(const char* name, const char* title, int n_bins)
 prepare a plot showing a result and return a pointer to a HybridPlot object
 the needed arguments are: an object name, a title and the number of bins in the plot
void PrintMore(const char* options)
 Print out some information about the results
HybridResult(const char* name, const char* title, vector<double>& testStat_sb_vals, vector<double>& testStat_b_vals)
 Constructor for HybridResult
std::vector<double> GetTestStat_sb()
 Get test statistics values for the sb model
{return fTestStat_sb;}
std::vector<double> GetTestStat_b()
 Get test statistics values for the b model
{return fTestStat_b;}
double GetTestStat_data()
 Get test statistics value for data
{ return fTestStat_data;}

Last change: root/roostats:$Id: HybridResult.h 26434 2008-11-24 21:29:32Z moneta $
Last generated: 2008-11-25 08:47
Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.