class TConfidenceLevel: public TObject


 TConfidenceLevel

 Class to compute 95% CL limits


Function Members (Methods)

public:
TConfidenceLevel()
TConfidenceLevel(const TConfidenceLevel&)
TConfidenceLevel(Int_t mc, bool onesided = kTRUE)
virtual~TConfidenceLevel()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
Double_tCLb(bool use_sMC = kFALSE) const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
Double_tCLs(bool use_sMC = kFALSE) const
Double_tCLsb(bool use_sMC = kFALSE) const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidDraw(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 TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Double_tGet3sProbability() const
Double_tGet5sProbability() const
Double_tGetAverageCLs() const
Double_tGetAverageCLsb() const
Double_tGetBtot() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetDtot() const
Double_tGetExpectedCLb_b(Int_t sigma = 0) const
Double_tGetExpectedCLb_sb(Int_t sigma = 0) const
Double_tGetExpectedCLs_b(Int_t sigma = 0) const
Double_tGetExpectedCLsb_b(Int_t sigma = 0) const
Double_tGetExpectedStatistic_b(Int_t sigma = 0) const
Double_tGetExpectedStatistic_sb(Int_t sigma = 0) const
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tGetStatistic() const
Double_tGetStot() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
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_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::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)
TConfidenceLevel&operator=(const TConfidenceLevel&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::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)
voidSetBtot(Double_t in)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetDtot(Int_t in)
voidSetLRB(Double_t* in)
voidSetLRS(Double_t* in)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetStot(Double_t in)
voidSetTSB(Double_t* in)
voidSetTSD(Double_t in)
voidSetTSS(Double_t* in)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
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
};
private:
Double_tfBtot
Int_tfDtot
Int_t*fISB[fNNMC]
Int_t*fISS[fNNMC]
Double_t*fLRB[fNNMC]
Double_t*fLRS[fNNMC]
Double_tfMCL3S
Double_tfMCL5S
Double_tfNMC
Int_tfNNMC
Double_tfStot
Double_t*fTSB[fNNMC]
Double_tfTSD
Double_t*fTSS[fNNMC]
static const Double_tfgMCL3S1S
static const Double_tfgMCL3S2S
static const Double_tfgMCL5S1S
static const Double_tfgMCL5S2S
static const Double_tfgMCLM1S
static const Double_tfgMCLM2S
static const Double_tfgMCLMED
static const Double_tfgMCLP1S
static const Double_tfgMCLP2S

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TConfidenceLevel(const TConfidenceLevel& )
 Default constructor
TConfidenceLevel(Int_t mc, bool onesided = kTRUE)
 a constructor that fix some conventions:
 mc is the number of Monte Carlo experiments
 while onesided specifies if the intervals are one-sided or not.
~TConfidenceLevel()
 The destructor
Double_t GetExpectedStatistic_b(Int_t sigma = 0) const
 Get the expected statistic value in the background only hypothesis
Double_t GetExpectedStatistic_sb(Int_t sigma = 0) const
 Get the expected statistic value in the signal plus background hypothesis
Double_t CLb(bool use_sMC = kFALSE) const
 Get the Confidence Level for the background only
Double_t CLsb(bool use_sMC = kFALSE) const
 Get the Confidence Level for the signal plus background hypothesis
Double_t CLs(bool use_sMC = kFALSE) const
 Get the Confidence Level defined by CLs = CLsb/CLb.
 This quantity is stable w.r.t. background fluctuations.
Double_t GetExpectedCLsb_b(Int_t sigma = 0) const
 Get the expected Confidence Level for the signal plus background hypothesis
 if there is only background.
Double_t GetExpectedCLb_sb(Int_t sigma = 0) const
 Get the expected Confidence Level for the background only
 if there is signal and background.
Double_t GetExpectedCLb_b(Int_t sigma = 0) const
 Get the expected Confidence Level for the background only
 if there is only background.
Double_t GetAverageCLsb()
 Get average CLsb.
Double_t GetAverageCLs()
 Get average CLs.
Double_t Get3sProbability()
 Get 3s probability.
Double_t Get5sProbability()
 Get 5s probability.
void Draw(Option_t* option = "")
 Display sort of a "canonical" -2lnQ plot.
 This results in a plot with 2 elements:
 - The histogram of -2lnQ for background hypothesis (full)
 - The histogram of -2lnQ for signal and background hypothesis (dashed)
 The 2 histograms are respectively named b_hist and sb_hist.
void SetTSB(Double_t* in)
 Set the TSB.
void SetTSS(Double_t* in)
 Set the TSS.
TConfidenceLevel(const TConfidenceLevel& )
void SetTSD(Double_t in)
{ fTSD = in; }
void SetLRS(Double_t* in)
{ fLRS = in; }
void SetLRB(Double_t* in)
{ fLRB = in; }
void SetBtot(Double_t in)
{ fBtot = in; }
void SetStot(Double_t in)
{ fStot = in; }
void SetDtot(Int_t in)
{ fDtot = in; }
Double_t GetStatistic()
{ return -2 * (fTSD - fStot); }
Double_t GetExpectedCLs_b(Int_t sigma = 0) const
{ return (GetExpectedCLsb_b(sigma) / GetExpectedCLb_b(sigma)); }
Int_t GetDtot()
{ return fDtot; }
Double_t GetStot()
{ return fStot; }
Double_t GetBtot()
{ return fBtot; }

Author: Christophe.Delaere@cern.ch 21/08/2002
Last change: root/hist:$Id: TConfidenceLevel.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:35

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.