#include <FairIon.h>
|
| FairIon () |
|
| FairIon (const char *name, Int_t z, Int_t a, Int_t q, Double_t e=0., Double_t m=0.) |
|
void | SetParams (const char *name, Int_t z, Int_t a, Int_t q, Double_t e=0., Double_t m=0.) |
|
virtual | ~FairIon () |
|
Int_t | GetZ () const |
|
Int_t | GetA () const |
|
Int_t | GetQ () const |
|
Double_t | GetExcEnergy () const |
|
Double_t | GetMass () const |
|
void | SetExcEnergy (Double_t eExc) |
|
void | SetA (Int_t a) |
|
void | SetMass (Double_t mass) |
|
Definition at line 29 of file FairIon.h.
FairIon::FairIon |
( |
const char * |
name, |
|
|
Int_t |
z, |
|
|
Int_t |
a, |
|
|
Int_t |
q, |
|
|
Double_t |
e = 0. , |
|
|
Double_t |
m = 0. |
|
) |
| |
Standard constructor
- Parameters
-
name | name |
z | atomic number |
a | atomic mass |
q | electric charge |
e | excitation energy |
m | mass [GeV] If mass is not given, it will be set to a times the proton mass. |
Definition at line 28 of file FairIon.cxx.
Int_t FairIon::GetA |
( |
| ) |
const |
|
inline |
Return the atomic mass
Definition at line 66 of file FairIon.h.
Double_t FairIon::GetExcEnergy |
( |
| ) |
const |
|
inline |
Return the excitation energy
Definition at line 74 of file FairIon.h.
Double_t FairIon::GetMass |
( |
| ) |
const |
|
inline |
Return the mass in GeV
Definition at line 78 of file FairIon.h.
Int_t FairIon::GetQ |
( |
| ) |
const |
|
inline |
Return the charge
Definition at line 70 of file FairIon.h.
Int_t FairIon::GetZ |
( |
| ) |
const |
|
inline |
Accessors Return the atomic number
Definition at line 62 of file FairIon.h.
void FairIon::SetA |
( |
Int_t |
a | ) |
|
|
inline |
Set the atomic mass, use SetMass to set the mass of the ion
Definition at line 88 of file FairIon.h.
void FairIon::SetExcEnergy |
( |
Double_t |
eExc | ) |
|
|
inline |
Modifiers Set the excitation energy
Definition at line 84 of file FairIon.h.
void FairIon::SetMass |
( |
Double_t |
mass | ) |
|
|
inline |
Set the mass in GeV
Definition at line 92 of file FairIon.h.
void FairIon::SetParams |
( |
const char * |
name, |
|
|
Int_t |
z, |
|
|
Int_t |
a, |
|
|
Int_t |
q, |
|
|
Double_t |
e = 0. , |
|
|
Double_t |
m = 0. |
|
) |
| |
|
inline |
The documentation for this class was generated from the following files: