library: libRooFit
#include "Roo2DKeysPdf.h"

Roo2DKeysPdf


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

class Roo2DKeysPdf : public RooAbsPdf

Inheritance Chart:
TObject
<-
TNamed
RooPrintable
<-
RooAbsArg
<-
RooAbsReal
<-
RooAbsPdf
<-
Roo2DKeysPdf
    private:
Double_t evaluateFull(Double_t thisX, Double_t thisY) const Double_t g(Double_t var1, Double_t* _var1, Double_t sigma1, Double_t var2, Double_t* _var2, Double_t sigma2) const Double_t highBoundaryCorrection(Double_t thisVar, Double_t thisH, Double_t high, Double_t tVar) const Double_t lowBoundaryCorrection(Double_t thisVar, Double_t thisH, Double_t low, Double_t tVar) const public:
Roo2DKeysPdf(const char* name, const char* title, RooAbsReal& xx, RooAbsReal& yy, RooDataSet& data, TString options = a, Double_t widthScaleFactor = 1.0) Roo2DKeysPdf(const Roo2DKeysPdf& other, const char* name = "0") virtual ~Roo2DKeysPdf() Int_t calculateBandWidth(Int_t kernel = -999) static TClass* Class() virtual TObject* clone(const char* newname) const virtual Double_t evaluate() const Int_t getBandWidthType() const Double_t getMean(const char* axis) const void getOptions() const Double_t getSigma(const char* axis) const virtual TClass* IsA() const Int_t loadDataSet(RooDataSet& data, TString options) void PrintInfo(ostream&) const void setOptions(TString options) void setWidthScaleFactor(Double_t widthScaleFactor) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void writeHistToFile(char* outputFile, const char* histName) const void writeNTupleToFile(char* outputFile, const char* name) const void writeToFile(char* outputFile, const char* name) const

Data Members

    private:
Double_t* _x Double_t* _hx Double_t* _y Double_t* _hy Double_t _norm Double_t _xMean the (x,y) mean and sigma are properties of the data, not of the PDF Double_t _xSigma Double_t _yMean Double_t _ySigma Double_t _n coefficient of the kernel estimation sum Double_t _n16 pow(_nEvents, -1/6) Double_t _sqrt2pi Double_t _2pi = M_PI*2 Double_t _lox Double_t _hix Double_t _loy Double_t _hiy Double_t _xoffset Double_t _yoffset Double_t _widthScaleFactor allow manipulation of the bandwidth by a scale factor Int_t _nEvents Int_t _BandWidthType Int_t _MirrorAtBoundary Int_t _debug Int_t _verbosedebug Int_t _vverbosedebug public:
RooRealProxy x RooRealProxy y

Class Description

Roo2DKeysPdf(const char *name, const char *title, RooAbsReal& xx, RooAbsReal & yy, RooDataSet& data, TString options, Double_t widthScaleFactor)
Roo2DKeysPdf(const Roo2DKeysPdf & other, const char* name)
~Roo2DKeysPdf()
Int_t loadDataSet(RooDataSet& data, TString options)
void setOptions(TString options)
void getOptions(void)
Int_t calculateBandWidth(Int_t kernel)
Double_t evaluate()
 use the cacheing intrinsic in RFC to bypass the grid and remove
 the grid and extrapolation approximation in the kernel estimation method
implementation - cheers Wouter :)
Double_t evaluateFull(Double_t thisX, Double_t thisY)
Double_t highBoundaryCorrection(Double_t thisVar, Double_t thisH, Double_t high, Double_t tVar)
Double_t lowBoundaryCorrection(Double_t thisVar, Double_t thisH, Double_t low, Double_t tVar)
Double_t g(Double_t varMean1, Double_t * _var1, Double_t sigma1, Double_t varMean2, Double_t * _var2, Double_t sigma2)
Int_t getBandWidthType()
Double_t getMean(const char * axis)
Double_t getSigma(const char * axis)
void writeToFile(char * outputFile, const char * name)
void writeHistToFile(char * outputFile, const char * histName)
void writeNTupleToFile(char * outputFile, const char * name)
void PrintInfo(ostream & out)

TObject* clone(const char* newname)
void setWidthScaleFactor(Double_t widthScaleFactor)
 Set the value of a scale factor to modify the bandwidth by. The default value for this is unity.
 Modification of 'normal' bandwidths is useful when the data are not 'normally distributed',
 otherwise one expects little departure from that behavior.  Note that both the normal and adaptive
 bandwidth selections are modified by this factor.  Useful for systematic studies.
           ***********
           *IMPORTANT* The kernel is proportional to 1/widthScaleFactor.
           ***********

Last update: Tue Jul 11 11:44:55 2006
Copyright (c) 2000-2005, Regents of the University of California, *


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.