meerkat is hosted by Hepforge, IPPP Durham
Meerkat  v1r3
Multidimensional kernel density estimation package
DalitzPhaseSpace.hh
Go to the documentation of this file.
1 #ifndef DALITZ_PHASE_SPACE
2 #define DALITZ_PHASE_SPACE
3 
4 #include "AbsPhaseSpace.hh"
5 
6 #include "TMath.h"
7 
8 #include <vector>
9 
13 
15 
16  public:
17 
19 
26  DalitzPhaseSpace(const char* phaseSpaceName,
27  Double_t mD,
28  Double_t mA,
29  Double_t mB,
30  Double_t mC);
31 
33  virtual ~DalitzPhaseSpace();
34 
36 
39  UInt_t dimensionality() { return 2; }
40 
42 
46  Bool_t withinLimits(std::vector<Double_t> &x);
47 
49 
53  Double_t lowerLimit(UInt_t var);
54 
56 
60  Double_t upperLimit(UInt_t var);
61 
63 
69  Bool_t limits(UInt_t var, std::vector<Double_t> &x, Double_t* lower, Double_t* upper);
70 
71  private:
72 
74  Double_t m_a;
75 
77  Double_t m_b;
78 
80  Double_t m_c;
81 
83  Double_t m_d;
84 
86  Double_t m_a2;
87 
89  Double_t m_b2;
90 
92  Double_t m_c2;
93 
95  Double_t m_d2;
96 
98  Double_t m_SqSum;
99 
101  Double_t m_MinAB;
102 
104  Double_t m_MaxAB;
105 
107  Double_t m_MinBC;
108 
110  Double_t m_MaxBC;
111 
112 };
113 
114 #endif
Double_t lowerLimit(UInt_t var)
Get lower limit.
Double_t m_a
Mass of the particle A.
Double_t m_c
Mass of the particle C.
Double_t m_d
Mass of the mother particle.
Double_t m_MaxBC
Upper limit of BC invariant mass values.
Double_t upperLimit(UInt_t var)
Get upper limit.
Double_t m_MinBC
Lower limit of BC invariant mass values.
Double_t m_c2
Squared mass of the particle C.
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_d2
Squared mass of the mother particle.
Double_t m_b
Mass of the particle B.
Abstract class which defines phase space interface.
Double_t m_b2
Squared mass of the particle B.
DalitzPhaseSpace(const char *phaseSpaceName, Double_t mD, Double_t mA, Double_t mB, Double_t mC)
Constructor.
Bool_t withinLimits(std::vector< Double_t > &x)
Check if the point is within the phase space limits.
Double_t m_SqSum
Sum of squared masses of daughter and mother particles.
Double_t m_MaxAB
Upper limit of AB invariant mass values.
Double_t m_a2
Squared mass of the particle A.
UInt_t dimensionality()
Get dimensionality of the phase space. Always equals to two.
Double_t m_MinAB
Lower limit of AB invariant mass values.
virtual ~DalitzPhaseSpace()
Destructor.