(Generated on Fri Feb 19 2016 13:25:07 by
1.8.9.1)
Overview
Installation
Usage
Models
Modules
Classes
Bibliography
Examples
Meson.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012 HEPfit Collaboration
3
* All rights reserved.
4
*
5
* For the licensing terms see doc/COPYING.
6
*/
7
8
#include "
Meson.h
"
9
10
Meson::Meson
(
double
mass,
double
lifetime = 5.e29,
double
decayconst = 0.,
11
double
lambdaM = 0.,
double
gegenalpha1 = 0.,
double
gegenalpha2 = 0.)
12
{
13
this->mass =
mass
;
14
this->
lifetime
=
lifetime
;
15
this->
decayconst
=
decayconst
;
16
this->
lambdaM
=
lambdaM
;
17
gegenalpha
[0] = gegenalpha1;
18
gegenalpha
[1] = gegenalpha2;
19
}
20
21
Meson::~Meson
()
22
{
23
}
24
25
double
Meson::computeWidth
()
const
26
{
27
return
(
HCUT
/
lifetime
);
28
}
Meson::decayconst
double decayconst
The decay constant of the meson.
Definition:
Meson.h:130
Meson::lambdaM
double lambdaM
First moment of LCDA.
Definition:
Meson.h:133
Meson::lifetime
double lifetime
The lifetime of the meson.
Definition:
Meson.h:131
HCUT
#define HCUT
Definition:
Particle.h:14
Meson::~Meson
virtual ~Meson()
The default destructor.
Definition:
Meson.cpp:21
Meson::computeWidth
double computeWidth() const
A method to compute the width of the meson from its lifetime.
Definition:
Meson.cpp:25
Particle::mass
double mass
The particle mass in GeV.
Definition:
Particle.h:166
Meson::Meson
Meson()
The default constructor.
Definition:
Meson.h:32
Meson::gegenalpha
double gegenalpha[2]
Gegenbauer moments.
Definition:
Meson.h:132
Meson.h