library: libHist
#include "TConfidenceLevel.h"

TConfidenceLevel


class description - source file - inheritance tree (.pdf)

class TConfidenceLevel : public TObject

Inheritance Chart:
TObject
<-
TConfidenceLevel

    public:
TConfidenceLevel() TConfidenceLevel(Int_t mc, bool onesided = kTRUE) TConfidenceLevel(const TConfidenceLevel&) virtual ~TConfidenceLevel() static TClass* Class() Double_t CLb(bool use_sMC = kFALSE) const Double_t CLs(bool use_sMC = kFALSE) const Double_t CLsb(bool use_sMC = kFALSE) const virtual void Draw(Option_t* option = "") Double_t Get3sProbability() const Double_t Get5sProbability() const Double_t GetAverageCLs() const Double_t GetAverageCLsb() const Double_t GetBtot() const Int_t GetDtot() const Double_t GetExpectedCLb_b(Int_t sigma = 0) const Double_t GetExpectedCLb_sb(Int_t sigma = 0) const Double_t GetExpectedCLs_b(Int_t sigma = 0) const Double_t GetExpectedCLsb_b(Int_t sigma = 0) const Double_t GetExpectedStatistic_b(Int_t sigma = 0) const Double_t GetExpectedStatistic_sb(Int_t sigma = 0) const Double_t GetStatistic() const Double_t GetStot() const virtual TClass* IsA() const TConfidenceLevel& operator=(const TConfidenceLevel&) void SetBtot(Double_t in) void SetDtot(Int_t in) void SetLRB(Double_t* in) void SetLRS(Double_t* in) void SetStot(Double_t in) void SetTSB(Double_t* in) void SetTSD(Double_t in) void SetTSS(Double_t* in) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fNNMC Int_t fDtot Double_t fStot Double_t fBtot Double_t fTSD Double_t fNMC Double_t fMCL3S Double_t fMCL5S Double_t* fTSB [fNNMC] Double_t* fTSS [fNNMC] Double_t* fLRS [fNNMC] Double_t* fLRB [fNNMC] Int_t* fISS [fNNMC] Int_t* fISB [fNNMC] static const Double_t fgMCLM2S static const Double_t fgMCLM1S static const Double_t fgMCLMED static const Double_t fgMCLP1S static const Double_t fgMCLP2S static const Double_t fgMCL3S1S static const Double_t fgMCL5S1S static const Double_t fgMCL3S2S static const Double_t fgMCL5S2S

Class Description

 TConfidenceLevel

 Class to compute 95% CL limits



TConfidenceLevel()
 Default constructor

TConfidenceLevel(Int_t mc, bool onesided)
 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) const
 Get the expected statistic value in the background only hypothesis

Double_t GetExpectedStatistic_sb(Int_t sigma) const
 Get the expected statistic value in the signal plus background hypothesis

Double_t CLb(bool use_sMC) const
 Get the Confidence Level for the background only

Double_t CLsb(bool use_sMC) const
 Get the Confidence Level for the signal plus background hypothesis

Double_t CLs(bool use_sMC) 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) const
 Get the expected Confidence Level for the signal plus background hypothesis
 if there is only background.

Double_t GetExpectedCLb_sb(Int_t sigma) const
 Get the expected Confidence Level for the background only
 if there is signal and background.

Double_t GetExpectedCLb_b(Int_t sigma) const
 Get the expected Confidence Level for the background only
 if there is only background.

Double_t GetAverageCLsb() const

Double_t GetAverageCLs() const

Double_t Get3sProbability() const

Double_t Get5sProbability() const

void Draw(const Option_t*)
 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.



Inline Functions


                     void SetTSD(Double_t in)
                     void SetTSB(Double_t* in)
                     void SetTSS(Double_t* in)
                     void SetLRS(Double_t* in)
                     void SetLRB(Double_t* in)
                     void SetBtot(Double_t in)
                     void SetStot(Double_t in)
                     void SetDtot(Int_t in)
                 Double_t GetStatistic() const
                 Double_t GetExpectedCLs_b(Int_t sigma = 0) const
                    Int_t GetDtot() const
                 Double_t GetStot() const
                 Double_t GetBtot() const
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
         TConfidenceLevel TConfidenceLevel(const TConfidenceLevel&)
        TConfidenceLevel& operator=(const TConfidenceLevel&)


Author: Christophe.Delaere@cern.ch 21/08/2002
Last update: root/hist:$Name: $:$Id: TConfidenceLevel.cxx,v 1.4 2003/06/23 20:37:56 brun Exp $


ROOT page - Class index - Class Hierarchy - Top of the page

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.