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
EvtPto3PAmp.hh
Go to the documentation of this file.
1
2/***********************************************************************
3* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
4* *
5* This file is part of EvtGen. *
6* *
7* EvtGen is free software: you can redistribute it and/or modify *
8* it under the terms of the GNU General Public License as published by *
9* the Free Software Foundation, either version 3 of the License, or *
10* (at your option) any later version. *
11* *
12* EvtGen is distributed in the hope that it will be useful, *
13* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15* GNU General Public License for more details. *
16* *
17* You should have received a copy of the GNU General Public License *
18* along with EvtGen. If not, see <https://www.gnu.org/licenses/>. *
19***********************************************************************/
20
21#ifndef EVT_PTO3P_AMP_HH
22#define EVT_PTO3P_AMP_HH
23
27
28#include <vector>
29using std::vector;
34
36
37class EvtPto3PAmp : public EvtAmplitude<EvtDalitzPoint> {
38 public:
39 // Numerator type
60
63 const EvtPropagator& prop, NumType typeN );
64
65 EvtPto3PAmp( const EvtPto3PAmp& other );
66
68
70 {
71 return new EvtPto3PAmp( *this );
72 }
73
74 EvtComplex amplitude( const EvtDalitzPoint& p ) const override;
75 EvtComplex numerator( const EvtDalitzPoint& p ) const;
76 double angDep( const EvtDalitzPoint& p ) const;
77
78 void set_fd( double R );
79 void set_fb( double R );
80
81 void setmin( double min ) { m_min = min; }
82 void setmax( double max ) { m_max = max; }
83
84 virtual EvtComplex evalPropagator( double m ) const
85 {
86 return m_prop->evaluate( m );
87 }
88
89 private:
90 // Pairing indices:
91
94
95 // Spin
96
98
99 // Numerator type
100
102
103 // _Owned_ pointer to propagator factor
104
106 double m_g0; // nominal width
107 double m_min; //min and max values on which
108 double m_max; //the resonance is defined
109
110 // Vertices
111
114};
115
116#endif
double angDep(const EvtDalitzPoint &p) const
EvtAmplitude< EvtDalitzPoint > * clone() const override
EvtPropagator * m_prop
EvtComplex amplitude(const EvtDalitzPoint &p) const override
EvtTwoBodyVertex m_vb
void setmin(double min)
void set_fb(double R)
void set_fd(double R)
EvtCyclic3::Pair m_pairRes
EvtTwoBodyVertex m_vd
EvtCyclic3::Pair m_pairAng
EvtComplex numerator(const EvtDalitzPoint &p) const
EvtSpinType::spintype m_spin
virtual EvtComplex evalPropagator(double m) const
void setmax(double max)
NumType m_typeN
EvtPto3PAmp(EvtDalitzPlot dp, EvtCyclic3::Pair pairAng, EvtCyclic3::Pair pairRes, EvtSpinType::spintype spin, const EvtPropagator &prop, NumType typeN)