BOSS
7.0.1
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
x
Files
File List
File Members
All
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
Enumerations
d
e
g
p
r
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
EvtAmplitude.hh
Go to the documentation of this file.
1
/*******************************************************************************
2
* Project: BaBar detector at the SLAC PEP-II B-factory
3
* Package: EvtGenBase
4
* File: $Id: EvtAmplitude.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $
5
* Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
6
*
7
* Copyright (C) 2002 Caltech
8
*******************************************************************************/
9
10
// Complex-valued amplitude
11
12
#ifndef EVT_AMPLITUDE_HH
13
#define EVT_AMPLITUDE_HH
14
15
#include "
EvtGenBase/EvtComplex.hh
"
16
17
template
<
class
T>
18
class
EvtAmplitude
{
19
public
:
20
21
EvtAmplitude
() {}
22
EvtAmplitude
(
const
EvtAmplitude
&) {}
23
virtual
~EvtAmplitude
() {}
24
virtual
EvtAmplitude<T>
*
clone
()
const
= 0;
25
26
EvtComplex
evaluate
(
const
T& p)
const
27
{
28
EvtComplex
ret(0.,0.);
29
if
(p.isValid()) ret =
amplitude
(p);
30
return
ret;
31
}
32
33
protected
:
34
35
// Derive in subclasses to define amplitude computation
36
// for a fully constructed amplitude object.
37
38
virtual
EvtComplex
amplitude
(
const
T&)
const
= 0;
39
40
};
41
42
#endif
43
44
45
46
47
EvtComplex.hh
EvtAmplitude
Definition:
EvtAmplitude.hh:18
EvtAmplitude::clone
virtual EvtAmplitude< T > * clone() const =0
EvtAmplitude::evaluate
EvtComplex evaluate(const T &p) const
Definition:
EvtAmplitude.hh:26
EvtAmplitude::~EvtAmplitude
virtual ~EvtAmplitude()
Definition:
EvtAmplitude.hh:23
EvtAmplitude::amplitude
virtual EvtComplex amplitude(const T &) const =0
EvtAmplitude::EvtAmplitude
EvtAmplitude(const EvtAmplitude &)
Definition:
EvtAmplitude.hh:22
EvtAmplitude::EvtAmplitude
EvtAmplitude()
Definition:
EvtAmplitude.hh:21
EvtComplex
Definition:
EvtComplex.hh:28
source
Generator
BesEvtGen
BesEvtGen-00-03-36
src
EvtGen
EvtGenBase
EvtAmplitude.hh
Generated by
1.9.6