TLimitDataSource
class description - source file - inheritance tree
public:
TLimitDataSource TLimitDataSource()
TLimitDataSource TLimitDataSource(TH1D* s, TH1D* b, TH1D* d)
virtual void ~TLimitDataSource()
virtual void AddChannel(TH1D*, TH1D*, TH1D*)
virtual void AddChannel(TH1D*, TH1D*, TH1D*, TH1D*, TH1D*, TObjArray*)
static TClass* Class()
virtual TObjArray* GetBackground()
virtual TObjArray* GetCandidates()
virtual TObjArray* GetErrorNames()
virtual TObjArray* GetErrorOnBackground()
virtual TObjArray* GetErrorOnSignal()
virtual TObjArray* GetSignal()
virtual TClass* IsA() const
virtual void SetOwner(bool swtch = kTRUE)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TObjArray fSignal packed input signal
TObjArray fBackground packed input background
TObjArray fCandidates packed input candidates (data)
TObjArray fErrorOnSignal packed error sources for signal
TObjArray fErrorOnBackground packed error sources for background
TObjArray fIds packed IDs for the different error sources
TObjArray fDummyTH1D array of dummy object (used for bookeeping)
TObjArray fDummyIds array of dummy object (used for bookeeping)
TLimitDataSource
This class serves as interface to feed data into the TLimit routines
TLimitDataSource()
Default constructor
TLimitDataSource(TH1D * s, TH1D * b, TH1D * d)
Another constructor, directly adds one channel
with signal, background and data given as input.
void AddChannel(TH1D * s, TH1D * b, TH1D * d)
Adds a channel with signal, background and data given as input.
void AddChannel(TH1D * s, TH1D * b, TH1D * d, TH1D * es,
TH1D * eb, TObjArray * names)
Adds a channel with signal, background and data given as input.
In addition, error sources are defined.
TH1D are here used for convenience: each bin has to be seen as
an error source (relative).
names is an array of strings containing the names of the sources.
Sources with the same name are correlated.
void SetOwner(bool swtch)
Gives to the TLimitDataSource the ownership of the various objects
given as input.
Objects are then deleted by the TLimitDataSource destructor.
Inline Functions
TObjArray* GetSignal()
TObjArray* GetBackground()
TObjArray* GetCandidates()
TObjArray* GetErrorOnSignal()
TObjArray* GetErrorOnBackground()
TObjArray* GetErrorNames()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void ~TLimitDataSource()
Author: Christophe.Delaere@cern.ch 21/08/2002
Last update: root/hist:$Name: $:$Id: TLimitDataSource.cxx,v 1.3 2003/03/21 14:53:49 brun Exp $
ROOT page - Class index - 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.