#include <Roo2DKeysPdf.h>
Inheritance diagram for Roo2DKeysPdf:
Definition at line 25 of file Roo2DKeysPdf.h.
Roo2DKeysPdf::Roo2DKeysPdf | ( | const char * | name, | |
const char * | title, | |||
RooAbsReal & | xx, | |||
RooAbsReal & | yy, | |||
RooDataSet & | data, | |||
TString | options = "a" , |
|||
Double_t | widthScaleFactor = 1.0 | |||
) |
Referenced by clone().
Roo2DKeysPdf::Roo2DKeysPdf | ( | const Roo2DKeysPdf & | other, | |
const char * | name = 0 | |||
) |
Definition at line 56 of file Roo2DKeysPdf.cxx.
References _2pi, _BandWidthType, _debug, _hix, _hiy, _hx, _hy, _lox, _loy, _MirrorAtBoundary, _n, _n16, _nEvents, _sqrt2pi, _verbosedebug, _vverbosedebug, _widthScaleFactor, _x, _xMean, _xoffset, _xSigma, _y, _yMean, _yoffset, and _ySigma.
Roo2DKeysPdf::~Roo2DKeysPdf | ( | ) | [virtual] |
Roo2DKeysPdf::Roo2DKeysPdf | ( | const char * | name, | |
const char * | title, | |||
RooAbsReal & | xx, | |||
RooAbsReal & | yy, | |||
RooDataSet & | data, | |||
TString | options = "a" , |
|||
Double_t | widthScaleFactor = 1.0 | |||
) |
Roo2DKeysPdf::Roo2DKeysPdf | ( | const Roo2DKeysPdf & | other, | |
const char * | name = 0 | |||
) |
virtual Roo2DKeysPdf::~Roo2DKeysPdf | ( | ) | [virtual] |
virtual TObject* Roo2DKeysPdf::clone | ( | const char * | newname | ) | const [inline, virtual] |
Int_t Roo2DKeysPdf::loadDataSet | ( | RooDataSet & | data, | |
TString | options | |||
) |
Definition at line 120 of file Roo2DKeysPdf.cxx.
References _2pi, _BandWidthType, _hix, _hiy, _hx, _hy, _lox, _loy, _n, _n16, _nEvents, _sqrt2pi, _verbosedebug, _x, _xMean, _xSigma, _y, _yMean, _ySigma, RooRealProxy::arg(), calculateBandWidth(), data, TNamed::GetName(), j, RooRealProxy::max(), RooRealProxy::min(), TMath::Pi(), TMath::Power(), RooAbsArg::RooArgSet, setOptions(), sqrt(), x, X, x0, x1, y, and Y.
void Roo2DKeysPdf::setOptions | ( | TString | options | ) |
Definition at line 214 of file Roo2DKeysPdf.cxx.
References _BandWidthType, _debug, _MirrorAtBoundary, _verbosedebug, _vverbosedebug, TString::Contains(), and TString::ToLower().
Referenced by loadDataSet().
void Roo2DKeysPdf::getOptions | ( | void | ) | const |
Definition at line 245 of file Roo2DKeysPdf.cxx.
References _BandWidthType, _debug, _MirrorAtBoundary, _verbosedebug, and _vverbosedebug.
void Roo2DKeysPdf::setWidthScaleFactor | ( | Double_t | widthScaleFactor | ) | [inline] |
Definition at line 261 of file Roo2DKeysPdf.cxx.
References _BandWidthType, _hx, _hy, _n16, _nEvents, _verbosedebug, _widthScaleFactor, _x, _xSigma, _y, _ySigma, g(), h, j, TMath::Power(), and sqrt().
Referenced by loadDataSet().
Int_t Roo2DKeysPdf::getBandWidthType | ( | ) | const |
Double_t Roo2DKeysPdf::getMean | ( | const char * | axis | ) | const |
Definition at line 451 of file Roo2DKeysPdf.cxx.
References _xMean, _yMean, TNamed::GetName(), x, and y.
Double_t Roo2DKeysPdf::getSigma | ( | const char * | axis | ) | const |
Definition at line 464 of file Roo2DKeysPdf.cxx.
References _xSigma, _ySigma, TNamed::GetName(), x, and y.
void Roo2DKeysPdf::PrintInfo | ( | ostream & | ) | const |
void Roo2DKeysPdf::writeToFile | ( | char * | outputFile, | |
const char * | name | |||
) | const |
Definition at line 478 of file Roo2DKeysPdf.cxx.
References writeHistToFile(), and writeNTupleToFile().
void Roo2DKeysPdf::writeHistToFile | ( | char * | outputFile, | |
const char * | histName | |||
) | const |
Definition at line 493 of file Roo2DKeysPdf.cxx.
References RooRealProxy::arg(), TFile::Close(), RooAbsRealLValue::createHistogram(), TNamed::GetName(), hist, TFile::Write(), x, and y.
Referenced by writeToFile().
void Roo2DKeysPdf::writeNTupleToFile | ( | char * | outputFile, | |
const char * | name | |||
) | const |
Definition at line 525 of file Roo2DKeysPdf.cxx.
References _hx, _hy, _nEvents, _x, _y, RooRealProxy::arg(), TTree::Branch(), TFile::Close(), TTree::Fill(), TNamed::GetName(), TTree::SetAutoSave(), TFile::Write(), x, and y.
Referenced by writeToFile().
Double_t Roo2DKeysPdf::evaluate | ( | ) | const [virtual] |
Implements RooAbsReal.
Definition at line 327 of file Roo2DKeysPdf.cxx.
References _vverbosedebug, evaluateFull(), x, and y.
Definition at line 344 of file Roo2DKeysPdf.cxx.
References _hx, _hy, _MirrorAtBoundary, _nEvents, _vverbosedebug, _x, _y, exp(), highBoundaryCorrection(), j, lowBoundaryCorrection(), RooRealProxy::max(), RooRealProxy::min(), x, and y.
Referenced by evaluate().
Double_t Roo2DKeysPdf::highBoundaryCorrection | ( | Double_t | thisVar, | |
Double_t | thisH, | |||
Double_t | high, | |||
Double_t | tVar | |||
) | const [private] |
Definition at line 392 of file Roo2DKeysPdf.cxx.
References _vverbosedebug, and exp().
Referenced by evaluateFull().
Double_t Roo2DKeysPdf::lowBoundaryCorrection | ( | Double_t | thisVar, | |
Double_t | thisH, | |||
Double_t | low, | |||
Double_t | tVar | |||
) | const [private] |
Definition at line 403 of file Roo2DKeysPdf.cxx.
References _vverbosedebug, and exp().
Referenced by evaluateFull().
virtual TObject* Roo2DKeysPdf::clone | ( | const char * | newname | ) | const [inline, virtual] |
Int_t Roo2DKeysPdf::loadDataSet | ( | RooDataSet & | data, | |
TString | options | |||
) |
void Roo2DKeysPdf::setOptions | ( | TString | options | ) |
void Roo2DKeysPdf::getOptions | ( | void | ) | const |
void Roo2DKeysPdf::setWidthScaleFactor | ( | Double_t | widthScaleFactor | ) | [inline] |
Int_t Roo2DKeysPdf::getBandWidthType | ( | ) | const |
Double_t Roo2DKeysPdf::getMean | ( | const char * | axis | ) | const |
Double_t Roo2DKeysPdf::getSigma | ( | const char * | axis | ) | const |
void Roo2DKeysPdf::PrintInfo | ( | ostream & | ) | const |
void Roo2DKeysPdf::writeToFile | ( | char * | outputFile, | |
const char * | name | |||
) | const |
void Roo2DKeysPdf::writeHistToFile | ( | char * | outputFile, | |
const char * | histName | |||
) | const |
void Roo2DKeysPdf::writeNTupleToFile | ( | char * | outputFile, | |
const char * | name | |||
) | const |
Double_t Roo2DKeysPdf::evaluate | ( | ) | const [virtual] |
Implements RooAbsReal.
Double_t Roo2DKeysPdf::g | ( | Double_t | var1, | |
Double_t * | _var1, | |||
Double_t | sigma1, | |||
Double_t | var2, | |||
Double_t * | _var2, | |||
Double_t | sigma2 | |||
) | const [private] |
Double_t Roo2DKeysPdf::highBoundaryCorrection | ( | Double_t | thisVar, | |
Double_t | thisH, | |||
Double_t | high, | |||
Double_t | tVar | |||
) | const [private] |
Double_t Roo2DKeysPdf::lowBoundaryCorrection | ( | Double_t | thisVar, | |
Double_t | thisH, | |||
Double_t | low, | |||
Double_t | tVar | |||
) | const [private] |
Definition at line 78 of file Roo2DKeysPdf.h.
Referenced by evaluate(), evaluateFull(), getMean(), getSigma(), loadDataSet(), writeHistToFile(), and writeNTupleToFile().
Definition at line 79 of file Roo2DKeysPdf.h.
Referenced by evaluate(), evaluateFull(), getMean(), getSigma(), loadDataSet(), writeHistToFile(), and writeNTupleToFile().
Double_t* Roo2DKeysPdf::_x [private] |
Definition at line 95 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), evaluateFull(), loadDataSet(), Roo2DKeysPdf(), writeNTupleToFile(), and ~Roo2DKeysPdf().
Double_t* Roo2DKeysPdf::_hx [private] |
Definition at line 96 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), evaluateFull(), loadDataSet(), Roo2DKeysPdf(), writeNTupleToFile(), and ~Roo2DKeysPdf().
Double_t* Roo2DKeysPdf::_y [private] |
Definition at line 97 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), evaluateFull(), loadDataSet(), Roo2DKeysPdf(), writeNTupleToFile(), and ~Roo2DKeysPdf().
Double_t* Roo2DKeysPdf::_hy [private] |
Definition at line 98 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), evaluateFull(), loadDataSet(), Roo2DKeysPdf(), writeNTupleToFile(), and ~Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_norm [private] |
Double_t Roo2DKeysPdf::_xMean [private] |
Definition at line 100 of file Roo2DKeysPdf.h.
Referenced by getMean(), loadDataSet(), PrintInfo(), and Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_xSigma [private] |
Definition at line 101 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), getSigma(), loadDataSet(), PrintInfo(), and Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_yMean [private] |
Definition at line 102 of file Roo2DKeysPdf.h.
Referenced by getMean(), loadDataSet(), PrintInfo(), and Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_ySigma [private] |
Definition at line 103 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), getSigma(), loadDataSet(), PrintInfo(), and Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_n [private] |
Double_t Roo2DKeysPdf::_n16 [private] |
Definition at line 105 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), loadDataSet(), and Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_sqrt2pi [private] |
Definition at line 106 of file Roo2DKeysPdf.h.
Referenced by g(), loadDataSet(), and Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_2pi [private] |
Double_t Roo2DKeysPdf::_lox [private] |
Definition at line 108 of file Roo2DKeysPdf.h.
Referenced by loadDataSet(), PrintInfo(), and Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_hix [private] |
Definition at line 108 of file Roo2DKeysPdf.h.
Referenced by loadDataSet(), PrintInfo(), and Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_loy [private] |
Definition at line 109 of file Roo2DKeysPdf.h.
Referenced by loadDataSet(), PrintInfo(), and Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_hiy [private] |
Definition at line 109 of file Roo2DKeysPdf.h.
Referenced by loadDataSet(), PrintInfo(), and Roo2DKeysPdf().
Double_t Roo2DKeysPdf::_xoffset [private] |
Double_t Roo2DKeysPdf::_yoffset [private] |
Double_t Roo2DKeysPdf::_widthScaleFactor [private] |
Definition at line 112 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), Roo2DKeysPdf(), and setWidthScaleFactor().
Int_t Roo2DKeysPdf::_nEvents [private] |
Definition at line 114 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), evaluateFull(), g(), loadDataSet(), Roo2DKeysPdf(), and writeNTupleToFile().
Int_t Roo2DKeysPdf::_BandWidthType [private] |
Definition at line 115 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), getBandWidthType(), getOptions(), loadDataSet(), Roo2DKeysPdf(), and setOptions().
Int_t Roo2DKeysPdf::_MirrorAtBoundary [private] |
Definition at line 116 of file Roo2DKeysPdf.h.
Referenced by evaluateFull(), getOptions(), Roo2DKeysPdf(), and setOptions().
Int_t Roo2DKeysPdf::_debug [private] |
Definition at line 117 of file Roo2DKeysPdf.h.
Referenced by getOptions(), Roo2DKeysPdf(), and setOptions().
Int_t Roo2DKeysPdf::_verbosedebug [private] |
Definition at line 118 of file Roo2DKeysPdf.h.
Referenced by calculateBandWidth(), getOptions(), loadDataSet(), Roo2DKeysPdf(), setOptions(), and ~Roo2DKeysPdf().
Int_t Roo2DKeysPdf::_vverbosedebug [private] |
Definition at line 119 of file Roo2DKeysPdf.h.
Referenced by evaluate(), evaluateFull(), getOptions(), highBoundaryCorrection(), lowBoundaryCorrection(), Roo2DKeysPdf(), and setOptions().
Double_t* Roo2DKeysPdf::_x [private] |
Definition at line 95 of file Roo2DKeysPdf.h.
Double_t* Roo2DKeysPdf::_hx [private] |
Definition at line 96 of file Roo2DKeysPdf.h.
Double_t* Roo2DKeysPdf::_y [private] |
Definition at line 97 of file Roo2DKeysPdf.h.
Double_t* Roo2DKeysPdf::_hy [private] |
Definition at line 98 of file Roo2DKeysPdf.h.