ROOTPWA
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
amplitude
isobarCanonicalAmplitude.h
Go to the documentation of this file.
1
2
//
3
// Copyright 2010
4
//
5
// This file is part of rootpwa
6
//
7
// rootpwa 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
// rootpwa 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 rootpwa. If not, see <http://www.gnu.org/licenses/>.
19
//
21
//-------------------------------------------------------------------------
22
// File and Version Information:
23
// $Rev:: $: revision of last commit
24
// $Author:: $: author of last commit
25
// $Date:: $: date of last commit
26
//
27
// Description:
28
// general isobar decay amplitude in caninical formalism
29
//
30
//
31
// Author List:
32
// Boris Grube TUM (original author)
33
//
34
//
35
//-------------------------------------------------------------------------
36
37
38
#ifndef ISOBARCANONICALAMPLITUDE_H
39
#define ISOBARCANONICALAMPLITUDE_H
40
41
42
#include "
isobarAmplitude.h
"
43
44
45
namespace
rpwa {
46
47
48
class
isobarCanonicalAmplitude
;
49
typedef
boost::shared_ptr<isobarCanonicalAmplitude>
isobarCanonicalAmplitudePtr
;
50
51
52
class
isobarCanonicalAmplitude
:
public
isobarAmplitude
{
53
54
public
:
55
56
isobarCanonicalAmplitude
();
57
isobarCanonicalAmplitude
(
const
isobarDecayTopologyPtr
&
decay
);
58
virtual
~isobarCanonicalAmplitude
();
59
60
std::string
name
()
const
{
return
"isobarCanonicalAmplitude"
; }
61
62
static
bool
debug
() {
return
_debug
; }
63
static
void
setDebug
(
const
bool
debug
=
true
) {
_debug
=
debug
; }
64
65
66
private
:
67
68
void
transformDaughters
()
const
;
69
70
std::complex<double>
twoBodyDecayAmplitude
71
(
const
isobarDecayVertexPtr
& vertex,
72
const
bool
topVertex)
const
;
73
74
static
bool
_debug
;
75
76
};
77
78
79
inline
80
isobarCanonicalAmplitudePtr
81
createIsobarCanonicalAmplitude
(
const
isobarDecayTopologyPtr
&
decay
)
82
{
83
isobarCanonicalAmplitudePtr
amp(
new
isobarCanonicalAmplitude
(decay));
84
return
amp;
85
}
86
87
88
}
// namespace rpwa
89
90
91
#endif // ISOBARCANONICALAMPLITUDE_H
Generated by
1.8.1.2