74 void writeToFile(
char * outputFile,
const char * name)
const;
Double_t getSigma(const char *axis) const
Roo2DKeysPdf(const char *name, const char *title, RooAbsReal &xx, RooAbsReal &yy, RooDataSet &data, TString options="a", Double_t widthScaleFactor=1.0)
void writeNTupleToFile(char *outputFile, const char *name) const
Saves the data and calculated bandwidths to a file, as a record of what produced the PDF and to give ...
Int_t loadDataSet(RooDataSet &data, TString options)
Loads a new data set into the class instance.
void setWidthScaleFactor(Double_t widthScaleFactor)
void setOptions(TString options)
Double_t _widthScaleFactor
virtual ~Roo2DKeysPdf()
Destructor.
#define ClassDef(name, id)
Int_t getBandWidthType() const
Int_t calculateBandWidth(Int_t kernel=-999)
Calculates the kernel bandwidth for x & y and the probability look up table _p[i][j].
Double_t evaluateFull(Double_t thisX, Double_t thisY) const
Evaluates the sum of the product of the 2D kernels for use in calculating the fixed kernel estimate...
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
Double_t lowBoundaryCorrection(Double_t thisVar, Double_t thisH, Double_t low, Double_t tVar) const
void writeToFile(char *outputFile, const char *name) const
RooDataSet is a container class to hold unbinned data.
Double_t getMean(const char *axis) const
Two-dimensional kernel estimation PDF.
void writeHistToFile(char *outputFile, const char *histName) const
Plots the PDF as a histogram and saves it to a file, so that it can be loaded in as a Roo2DHist PDF i...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t g(Double_t var1, Double_t *_var1, Double_t sigma1, Double_t var2, Double_t *_var2, Double_t sigma2) const
Calculates f(t_i) for the bandwidths.
void PrintInfo(std::ostream &) const
Prints out _p[_nPoints][_nPoints] indicating the domain limits.
Double_t evaluate() const
Evaluates the kernel estimation for x,y, interpolating between the points if necessary.
Mother of all ROOT objects.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
Double_t highBoundaryCorrection(Double_t thisVar, Double_t thisH, Double_t high, Double_t tVar) const
Apply the mirror at boundary correction to a dimension given the space position to evaluate at (thisV...
virtual TObject * clone(const char *newname) const
void getOptions(void) const