EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtD0ToKspipi.hh
Go to the documentation of this file.
1#ifndef EVTD0TOKSPIPI_HH
2#define EVTD0TOKSPIPI_HH
3
8
9#include <string>
10#include <utility>
11#include <vector>
12
13class EvtParticle;
14
15class EvtD0ToKspipi : public EvtDecayAmp {
16 public:
17 std::string getName() const override;
18 EvtDecayBase* clone() const override;
19
20 void init() override;
21 void initProbMax() override;
22 void decay( EvtParticle* parent ) override;
23
24 private:
25 // Calculate the total amplitude given the Dalitz plot point
26 EvtComplex calcTotAmp( const EvtDalitzPoint& point ) const;
27
28 // Set particle IDs and PDG masses
29 void setPDGValues();
30
31 // Setup the Dalitz plot resonances and their amplitude coefficients
32 void initResonances();
33
34 // Daughter IDs (updated according to decay file ordering)
35 int m_d0 = 0;
36 int m_d1 = 1;
37 int m_d2 = 2;
38
39 // Resonance lineshape and complex amplitude coefficient pair
40 typedef std::pair<EvtDalitzReso, EvtComplex> ResAmpPair;
41
42 // Vector of (resonance, coeff) pairs
43 std::vector<ResAmpPair> m_resonances;
44
45 // IDs of the relevant particles
60
61 // Masses of the relevant particles
62 double m_mD0;
63 double m_mKs;
64 double m_mPi;
65 double m_mK;
66};
67#endif
EvtDecayBase * clone() const override
std::string getName() const override
void decay(EvtParticle *parent) override
EvtComplex calcTotAmp(const EvtDalitzPoint &point) const
std::vector< ResAmpPair > m_resonances
std::pair< EvtDalitzReso, EvtComplex > ResAmpPair
void init() override
void initProbMax() override
EvtDecayBase()=default
Definition EvtId.hh:27