4 #ifndef __KVSIMNUCLEUS_H
5 #define __KVSIMNUCLEUS_H
114 return 1.2 *
pow(
GetA(), 1. / 3.);
#define ClassDef(name, id)
double pow(double, double)
Description of properties and kinematics of atomic nuclei.
static Double_t hbar
hbar*c in MeV.fm
Nucleus in a simulated event.
KVSimNucleus(const Char_t *sym, Double_t EperA=0)
void SetPosition(Double_t rx, Double_t ry, Double_t rz)
set the position of the nucleus in position space
TVector3 GetExitPosition(const TString &detname) const
void SetSpin(Double_t x, Double_t y, Double_t z)
KVSimNucleus & operator+=(const KVSimNucleus &rhs)
KVNucleus addition and assignment operator.
void SetAngMom(Double_t lx, Double_t ly, Double_t lz)
set the angular momentum of the nucleus
TVector3 angmom
angular momentum of the particle in units
void Copy(TObject &obj) const
Copy l'object "this" vers obj.
Double_t GetEnergyLoss(const TString &detname) const
void SetDensity(Double_t)
set density of the nucleus in nuc/fm3
KVSimNucleus(const KVNucleus &n)
Double_t fDensity
density of the nucleus in nuc.fm-3
KVSimNucleus & operator=(const KVSimNucleus &)
copy assignment operator
Double_t GetDensity() const
get density of the nucleus in nuc/fm3
Double_t GetRotationalEnergy() const
Double_t GetRadius() const
void Print(Option_t *t="") const
Display nucleus parameters.
TVector3 position
vector position of the particle in fm
KVSimNucleus(Int_t z, Int_t a, TVector3 p)
KVSimNucleus(Int_t z, Int_t a=0, Double_t ekin=0)
const TVector3 * GetAngMom() const
TVector3 GetEntrancePosition(const TString &detname) const
const TVector3 * GetPosition() const
KVSimNucleus operator+(const KVSimNucleus &rhs) const
Double_t GetMomentOfInertia() const
KVSimNucleus(Int_t z, Double_t t, TVector3 &p)
#define sym(otri1, otri2)