meerkat is hosted by Hepforge, IPPP Durham
Meerkat  v1r3
Multidimensional kernel density estimation package
ExtendedDalitzPhaseSpace.hh
Go to the documentation of this file.
1 #ifndef EXTENDED_DALITZ_PHASE_SPACE
2 #define EXTENDED_DALITZ_PHASE_SPACE
3 
4 #include "AbsPhaseSpace.hh"
5 
6 #include "TMath.h"
7 
8 #include <vector>
9 
14 
16 
17  public:
18 
20 
28  ExtendedDalitzPhaseSpace(const char* phaseSpaceName,
29  Double_t mDmin,
30  Double_t mDmax,
31  Double_t mA,
32  Double_t mB,
33  Double_t mC);
34 
36  virtual ~ExtendedDalitzPhaseSpace();
37 
39 
42  UInt_t dimensionality() { return 3; }
43 
45 
49  Bool_t withinLimits(std::vector<Double_t> &x);
50 
52 
56  Double_t lowerLimit(UInt_t var);
57 
59 
63  Double_t upperLimit(UInt_t var);
64 
66 
72  Bool_t limits(UInt_t var, std::vector<Double_t> &x, Double_t* lower, Double_t* upper);
73 
74  private:
75 
77  Double_t m_a;
78 
80  Double_t m_b;
81 
83  Double_t m_c;
84 
86  Double_t m_d_min;
87 
89  Double_t m_d_max;
90 
92  Double_t m_a2;
93 
95  Double_t m_b2;
96 
98  Double_t m_c2;
99 
101  Double_t m_SqSum;
102 
104  Double_t m_MinAB;
105 
107  Double_t m_MaxAB;
108 
110  Double_t m_MinBC;
111 
113  Double_t m_MaxBC;
114 
115 };
116 
117 #endif
UInt_t dimensionality()
Get dimensionality of the phase space. Always equals to two.
Double_t m_a
Mass of the particle A.
Double_t m_MinAB
Lower limit of AB invariant mass values.
Bool_t limits(UInt_t var, std::vector< Double_t > &x, Double_t *lower, Double_t *upper)
Return limits (lower and upper) for the variable at the certain point of the phase space...
Double_t m_b
Mass of the particle B.
Double_t m_a2
Squared mass of the particle A.
Double_t m_b2
Squared mass of the particle B.
virtual ~ExtendedDalitzPhaseSpace()
Destructor.
Double_t m_SqSum
Sum of squared masses of daughter particles.
Double_t m_MinBC
Lower limit of BC invariant mass values.
Abstract class which defines phase space interface.
Double_t m_MaxAB
Upper limit of AB invariant mass values.
Double_t m_MaxBC
Upper limit of BC invariant mass values.
Double_t m_d_max
Maximum mass of the mother particle.
ExtendedDalitzPhaseSpace(const char *phaseSpaceName, Double_t mDmin, Double_t mDmax, Double_t mA, Double_t mB, Double_t mC)
Constructor.
Double_t m_c
Mass of the particle C.
Bool_t withinLimits(std::vector< Double_t > &x)
Check if the point is within the phase space limits.
Double_t m_c2
Squared mass of the particle C.
Double_t lowerLimit(UInt_t var)
Get lower limit.
Double_t upperLimit(UInt_t var)
Get upper limit.
Double_t m_d_min
Minimum mass of the mother particle.