25 class Roo2DKeysPdf :
public RooAbsPdf
28 Roo2DKeysPdf(
const char *name,
const char *title,
29 RooAbsReal& xx, RooAbsReal &yy, RooDataSet& data, TString options =
"a", Double_t widthScaleFactor = 1.0);
30 Roo2DKeysPdf(
const Roo2DKeysPdf& other,
const char* name=0);
31 virtual TObject* clone(
const char* newname)
const {
return new Roo2DKeysPdf(*
this,newname); }
33 virtual ~Roo2DKeysPdf();
37 Int_t loadDataSet(RooDataSet& data, TString options);
46 void setOptions(TString options);
47 void getOptions(
void)
const;
56 inline void setWidthScaleFactor(Double_t widthScaleFactor);
61 Int_t calculateBandWidth(Int_t kernel = -999);
63 Int_t getBandWidthType()
const;
64 Double_t getMean(
const char * axis)
const;
65 Double_t getSigma(
const char * axis)
const;
68 void PrintInfo(std::ostream &)
const;
74 void writeToFile(
char * outputFile,
const char * name)
const;
75 void writeHistToFile(
char * outputFile,
const char * histName)
const;
76 void writeNTupleToFile(
char * outputFile,
const char * name)
const;
81 Double_t evaluate()
const;
87 Double_t evaluateFull(Double_t thisX, Double_t thisY)
const;
88 Double_t g(Double_t var1, Double_t * _var1, Double_t sigma1, Double_t var2,
89 Double_t * _var2, Double_t sigma2)
const;
92 Double_t highBoundaryCorrection(Double_t thisVar, Double_t thisH, Double_t high, Double_t tVar)
const;
93 Double_t lowBoundaryCorrection(Double_t thisVar, Double_t thisH, Double_t low, Double_t tVar)
const;
112 Double_t _widthScaleFactor;
115 Int_t _BandWidthType;
116 Int_t _MirrorAtBoundary;
119 Int_t _vverbosedebug;
121 ClassDef(Roo2DKeysPdf,0)
124 inline void Roo2DKeysPdf::setWidthScaleFactor(Double_t widthScaleFactor) { _widthScaleFactor = widthScaleFactor; }