meerkat is hosted by Hepforge, IPPP Durham
Meerkat  v1r3
Multidimensional kernel density estimation package
UniformDensity.hh
Go to the documentation of this file.
1 #ifndef UNIFORM_DENSITY
2 #define UNIFORM_DENSITY
3 
4 #include "AbsDensity.hh"
5 #include "AbsPhaseSpace.hh"
6 
7 #include <vector>
8 
10 
11 class UniformDensity : public AbsDensity {
12 
13  public:
14 
16 
20  UniformDensity(const char* pdfName, AbsPhaseSpace* thePhaseSpace);
21 
23  virtual ~UniformDensity();
24 
26 
30  Double_t density(std::vector<Double_t> &x);
31 
33 
37 
38  private:
39 
42 
43 };
44 
45 #endif
AbsPhaseSpace * phaseSpace()
Return phase space definition for this PDF.
Abstract class which defines probability density interface.
Definition: AbsDensity.hh:16
UniformDensity(const char *pdfName, AbsPhaseSpace *thePhaseSpace)
Constructor.
Class that describes the uniform density over any phase space.
AbsPhaseSpace * m_phaseSpace
Reference to phase space.
Abstract class which defines phase space interface.
Double_t density(std::vector< Double_t > &x)
Calculate PDF value at the given point.
virtual ~UniformDensity()
Destructor.