FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairIon Class Reference

#include <FairIon.h>

Inheritance diagram for FairIon:

Public Member Functions

 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)
 

Detailed Description

Definition at line 29 of file FairIon.h.

Constructor & Destructor Documentation

FairIon::FairIon ( )

Default constructor

Definition at line 18 of file FairIon.cxx.

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
namename
zatomic number
aatomic mass
qelectric charge
eexcitation energy
mmass [GeV] If mass is not given, it will be set to a times the proton mass.

Definition at line 28 of file FairIon.cxx.

FairIon::~FairIon ( )
virtual

Destructor

Definition at line 49 of file FairIon.cxx.

Member Function Documentation

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

Definition at line 46 of file FairIon.h.


The documentation for this class was generated from the following files: