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
EvtGenBase
EvtNonresonantAmp.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_NONRESONANT_AMP_HH
22
#define EVT_NONRESONANT_AMP_HH
23
24
#include "
EvtGenBase/EvtAmplitude.hh
"
25
#include "
EvtGenBase/EvtCyclic3.hh
"
26
#include "
EvtGenBase/EvtDalitzPlot.hh
"
27
#include "
EvtGenBase/EvtDalitzPoint.hh
"
28
#include "
EvtGenBase/EvtPto3PAmp.hh
"
29
#include "
EvtGenBase/EvtSpinType.hh
"
30
31
class
EvtComplex
;
32
33
class
EvtNonresonantAmp
:
public
EvtAmplitude
<EvtDalitzPoint> {
34
public
:
35
EvtNonresonantAmp
(
EvtDalitzPlot
* dp,
EvtPto3PAmp::NumType
type,
36
EvtCyclic3::Pair
pair1,
double
par1 = 0,
37
EvtCyclic3::Pair
pair2 =
EvtCyclic3::AB
,
double
par2 = 0,
38
EvtSpinType::spintype
spin =
EvtSpinType::SCALAR
);
39
40
EvtComplex
amplitude
(
const
EvtDalitzPoint
& p )
const override
;
41
42
EvtAmplitude<EvtDalitzPoint>
*
clone
()
const override
43
{
44
return
new
EvtNonresonantAmp
( *
this
);
45
}
46
47
private
:
48
EvtDalitzPlot
*
m_dalitzSpace
;
49
50
EvtPto3PAmp::NumType
m_type
;
51
52
EvtCyclic3::Pair
m_pair1
,
m_pair2
;
53
54
double
m_par1
,
m_par2
;
55
56
EvtSpinType::spintype
m_spin
;
57
};
58
59
#endif
EvtAmplitude.hh
EvtCyclic3.hh
EvtDalitzPlot.hh
EvtDalitzPoint.hh
EvtPto3PAmp.hh
EvtSpinType.hh
EvtAmplitude< EvtDalitzPoint >::EvtAmplitude
EvtAmplitude()=default
EvtComplex
Definition
EvtComplex.hh:29
EvtDalitzPlot
Definition
EvtDalitzPlot.hh:30
EvtDalitzPoint
Definition
EvtDalitzPoint.hh:38
EvtNonresonantAmp::m_par2
double m_par2
Definition
EvtNonresonantAmp.hh:54
EvtNonresonantAmp::m_pair2
EvtCyclic3::Pair m_pair2
Definition
EvtNonresonantAmp.hh:52
EvtNonresonantAmp::m_dalitzSpace
EvtDalitzPlot * m_dalitzSpace
Definition
EvtNonresonantAmp.hh:48
EvtNonresonantAmp::clone
EvtAmplitude< EvtDalitzPoint > * clone() const override
Definition
EvtNonresonantAmp.hh:42
EvtNonresonantAmp::amplitude
EvtComplex amplitude(const EvtDalitzPoint &p) const override
Definition
EvtNonresonantAmp.cpp:51
EvtNonresonantAmp::EvtNonresonantAmp
EvtNonresonantAmp(EvtDalitzPlot *dp, EvtPto3PAmp::NumType type, EvtCyclic3::Pair pair1, double par1=0, EvtCyclic3::Pair pair2=EvtCyclic3::AB, double par2=0, EvtSpinType::spintype spin=EvtSpinType::SCALAR)
Definition
EvtNonresonantAmp.cpp:35
EvtNonresonantAmp::m_spin
EvtSpinType::spintype m_spin
Definition
EvtNonresonantAmp.hh:56
EvtNonresonantAmp::m_pair1
EvtCyclic3::Pair m_pair1
Definition
EvtNonresonantAmp.hh:52
EvtNonresonantAmp::m_type
EvtPto3PAmp::NumType m_type
Definition
EvtNonresonantAmp.hh:50
EvtNonresonantAmp::m_par1
double m_par1
Definition
EvtNonresonantAmp.hh:54
EvtPto3PAmp::NumType
NumType
Definition
EvtPto3PAmp.hh:41
EvtSpinType::spintype
spintype
Definition
EvtSpinType.hh:29
EvtSpinType::SCALAR
@ SCALAR
Definition
EvtSpinType.hh:30
EvtCyclic3::Pair
Pair
Definition
EvtCyclic3.hh:37
EvtCyclic3::AB
@ AB
Definition
EvtCyclic3.hh:42
Generated by
1.16.1