BOSS
6.6.4.p03
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
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
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
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
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
Enumerations
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
EvtPropBreitWigner.cc
Go to the documentation of this file.
1
#include "
EvtGenBase/EvtPatches.hh
"
2
/*******************************************************************************
3
* Project: BaBar detector at the SLAC PEP-II B-factory
4
* Package: EvtGenBase
5
* File: $Id: EvtPropBreitWigner.cc,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $
6
* Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
7
*
8
* Copyright (C) 2002 Caltech
9
*******************************************************************************/
10
11
#include <math.h>
12
#include "
EvtGenBase/EvtConst.hh
"
13
#include "
EvtGenBase/EvtPropBreitWigner.hh
"
14
15
16
EvtPropBreitWigner::EvtPropBreitWigner
(
double
m0,
double
g0)
17
:
EvtPropagator
(m0,g0)
18
{}
19
20
21
EvtPropBreitWigner::EvtPropBreitWigner
(
const
EvtPropBreitWigner
& other)
22
:
EvtPropagator
(other)
23
{}
24
25
26
EvtPropBreitWigner::~EvtPropBreitWigner
()
27
{}
28
29
30
EvtAmplitude<EvtPoint1D>
*
EvtPropBreitWigner::clone
()
const
31
{
32
return
new
EvtPropBreitWigner
(*
this
);
33
}
34
35
36
EvtComplex
EvtPropBreitWigner::amplitude
(
const
EvtPoint1D
& x)
const
37
{
38
double
m =
x
.value();
39
EvtComplex
value = sqrt(
_g0
/
EvtConst::twoPi
)/(m-
_m0
-
EvtComplex
(0.0,
_g0
/2.));
40
return
value;
41
}
x
Double_t x[10]
Definition:
DataBase/tau_mode.c:57
EvtConst.hh
EvtPatches.hh
EvtPropBreitWigner.hh
EvtAmplitude
Definition:
EvtAmplitude.hh:18
EvtComplex
Definition:
EvtComplex.hh:28
EvtConst::twoPi
static const double twoPi
Definition:
EvtConst.hh:29
EvtPoint1D
Definition:
EvtPoint1D.hh:16
EvtPropBreitWigner
Definition:
EvtPropBreitWigner.hh:18
EvtPropBreitWigner::EvtPropBreitWigner
EvtPropBreitWigner(double m0, double g0)
Definition:
EvtPropBreitWigner.cc:16
EvtPropBreitWigner::amplitude
EvtComplex amplitude(const EvtPoint1D &m) const
Definition:
EvtPropBreitWigner.cc:36
EvtPropBreitWigner::clone
EvtAmplitude< EvtPoint1D > * clone() const
Definition:
EvtPropBreitWigner.cc:30
EvtPropBreitWigner::~EvtPropBreitWigner
~EvtPropBreitWigner()
Definition:
EvtPropBreitWigner.cc:26
EvtPropagator
Definition:
EvtPropagator.hh:20
EvtPropagator::_g0
double _g0
Definition:
EvtPropagator.hh:48
EvtPropagator::_m0
double _m0
Definition:
EvtPropagator.hh:47
source
Generator
BesEvtGen
BesEvtGen-00-01-94
src
EvtGen
EvtGenBase
EvtPropBreitWigner.cc
Generated by
1.9.6