|
Meerkat
v1r3
Multidimensional kernel density estimation package
|
Go to the documentation of this file.
15 typedef std::vector<TPhspVector> TCell;
25 std::vector<Double_t> &width,
50 void setWidth(std::vector<Double_t> &width);
54 Bool_t readTuple(TTree* tree, std::vector<TString> &vars, UInt_t maxEvents = 0);
56 Bool_t readTuple(TTree* tree, const char* var1, UInt_t maxEvents = 0);
58 Bool_t readTuple(TTree* tree, const char* var1, const char* var2, UInt_t maxEvents = 0);
60 Bool_t readTuple(TTree* tree, const char* var1, const char* var2,
61 const char* var3, UInt_t maxEvents = 0);
63 Bool_t readTuple(TTree* tree, const char* var1, const char* var2,
64 const char* var3, const char* var4, UInt_t maxEvents = 0);
66 Bool_t readTuple(TTree* tree, const char* var1, const char* var2,
67 const char* var3, const char* var4,
68 const char* var5, UInt_t maxEvents = 0);
70 Bool_t readTuple(TTree* tree, const char* var1, const char* var2,
71 const char* var3, const char* var4,
72 const char* var5, const char* var6, UInt_t maxEvents = 0);
74 Double_t density(std::vector<Double_t> &x);
82 Int_t cellIndex(std::vector<Double_t> &x);
84 Double_t rawDensity(std::vector<Double_t> &x, std::vector<TCell> &vector);
AbsPhaseSpace * m_phaseSpace
std::vector< TCell > m_dataVector
AbsDensity * m_approxDensity
KernelDensity(const char *pdfName, AbsPhaseSpace *thePhaseSpace, std::vector< Double_t > &width, UInt_t approxSize, AbsDensity *approxDensity=0)
Abstract class which defines probability density interface.
std::vector< TPhspVector > TCell
AbsPhaseSpace * phaseSpace() Return phase space definition for this PDF.
Bool_t generateApproximation(UInt_t approxSize) Create normalisation vector.
void setWidth(std::vector< Double_t > &width) Set kernel width.
Double_t density(std::vector< Double_t > &x) Calculate PDF value at the given point.
Abstract class which defines phase space interface.
Double_t rawDensity(std::vector< Double_t > &x, std::vector< TCell > &vector)
Class that describes the unbinned kernel density.
Bool_t readTuple(TTree *tree, std::vector< TString > &vars, UInt_t maxEvents=0)
std::vector< TCell > m_apprVector
Int_t cellIndex(std::vector< Double_t > &x)
std::vector< Double_t > TPhspVector
|