#include "QSigExDisTF.h"

QSigExDisTF


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

class QSigExDisTF : public QSigExDis

Inheritance Chart:
TObject
<-
TNamed
QSigExIO
<-
QSigExDis
<-
QSigExDisTF

    public:
QSigExDisTF() QSigExDisTF(const Char_t* classname) QSigExDisTF(const QSigExDisTF& newqdtf) QSigExDisTF(const Char_t* classname, const Char_t* filename, const Char_t* objectname) QSigExDisTF(const Char_t* classname, const TF1& newobject) virtual ~QSigExDisTF() static TClass* Class() virtual QSigExDis* CloneQSigExDis() const virtual Double_t Derivative(const Double_t& x) const virtual Int_t GetDimension() virtual TClass* IsA() const virtual void Normalize(Option_t* cutexpr = "NULL", Int_t normflags = 0, Double_t* fullintegral = NULL, Double_t* cutintegral = NULL, Double_t* error = NULL) const QSigExDisTF& operator=(const QSigExDisTF& newqdis) virtual Double_t ProbDensity(const Double_t& x, const Double_t& y, const Double_t& z) const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
static QSigExTFOps fQSigExTFOps !

Class Description

                                                                  
 QSigExDisTF                                                      
                                                                  
 This class creates a probability density function from a TF      
 object. The class is derived from abstract base class QSigExDis  
 that gives a common interface to all type of p.d.f.. It          
 implements a Normalize function that allows to normalize the     
 initial function using complex cuts.                             
                                                                  

Double_t ProbDensity(const Double_t &x,const Double_t &y,const Double_t &z)
This function returns the probability density associated with a point which
coordinates are (x,y,z). For p.d.f. with less than 3 dimensions, the
arguments of extra dimensions are optional. Before calling this function,
the user must call QSigExDisTF::Normalize() to normalize the p.d.f. properly. 
Double_t Derivative(const Double_t &x)
 This function returns the derivative of the pdf at x
 this function only works for one dimensional pdfs
void Normalize(Option_t* cutexpr, Int_t normflags, Double_t* fullintegral, Double_t* cutintegral, Double_t* error)
This function normalizes the p.d.f. according to the cuts defined via
cutexpr string. This string is a standard ROOT selection expression that
contains x and/or y and/or z variables. The second and third arguments
(optional) are filled with the total function integral and the integral of
function between cuts respectively. The fourth argument, when provided, is
set to 0. 
QSigExDisTF()


{}
QSigExDisTF(const Char_t* classname)


{}
QSigExDisTF(const QSigExDisTF& newqdtf)


{PRINTF2(this,"\tQSigExDisTF::QSigExDisTF(const QSigExDisTF& newqdtf)\n") *this=newqdtf; }
QSigExDisTF(const Char_t* classname, const Char_t* filename, const Char_t* objectname)

QSigExDisTF(const Char_t* classname, const TF1& newobject)

virtual ~QSigExDisTF()


{PRINTF2(this,"\tQSigExDisTF::~QSigExDisTF()\n")}
const QSigExDisTF& operator=(const QSigExDisTF& newqdis)

QSigExDis* CloneQSigExDis()

Int_t GetDimension()


{return dynamic_cast<TF1*>(GetObject())->GetNdim();}

Author: Pierre-Luc Drouin
Last update: Fri Nov 17 16:35:13 2006


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.