BOSS
7.0.4
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
b
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
b
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
h
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
EvtFlatAmp.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: EvtFlatAmp.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
// Flat amplitude
11
12
#ifndef EVT_FLAT_AMP_HH
13
#define EVT_FLAT_AMP_HH
14
15
#include "
EvtGenBase/EvtAmplitude.hh
"
16
17
template
<
class
T>
18
class
EvtFlatAmp
:
public
EvtAmplitude
<T> {
19
public
:
20
21
EvtFlatAmp
() {}
22
EvtFlatAmp
(
const
EvtFlatAmp<T>
& other) :
EvtAmplitude
<T>(other) {}
23
virtual
~EvtFlatAmp
() {}
24
25
virtual
EvtAmplitude<T>
*
clone
()
const
{
return
new
EvtFlatAmp<T>
(*
this
); }
26
virtual
EvtComplex
amplitude
(
const
T& p)
const
{
return
EvtComplex
(1.,0.); }
27
};
28
29
#endif
EvtAmplitude.hh
EvtAmplitude
Definition:
EvtAmplitude.hh:18
EvtComplex
Definition:
EvtComplex.hh:28
EvtFlatAmp
Definition:
EvtFlatAmp.hh:18
EvtFlatAmp::amplitude
virtual EvtComplex amplitude(const T &p) const
Definition:
EvtFlatAmp.hh:26
EvtFlatAmp::clone
virtual EvtAmplitude< T > * clone() const
Definition:
EvtFlatAmp.hh:25
EvtFlatAmp::EvtFlatAmp
EvtFlatAmp(const EvtFlatAmp< T > &other)
Definition:
EvtFlatAmp.hh:22
EvtFlatAmp::EvtFlatAmp
EvtFlatAmp()
Definition:
EvtFlatAmp.hh:21
EvtFlatAmp::~EvtFlatAmp
virtual ~EvtFlatAmp()
Definition:
EvtFlatAmp.hh:23
source
Generator
BesEvtGen
BesEvtGen-00-03-98
src
EvtGen
EvtGenBase
EvtFlatAmp.hh
Generated by
1.9.6