4#include "KVSimNucleus.h"
170 parname.
Form(
"DE:%s", detname.
Data());
187 parname.
Form(
"Xin:%s", detname.
Data());
210 parname.
Form(
"Xout:%s", detname.
Data());
227 std::cout <<
"KVSimNucleus: Position : ";
229 std::cout <<
"KVSimNucleus: Ang. Mom. : ";
winID h TVirtualViewer3D TVirtualGLPainter p
char * Form(const char *fmt,...)
Double_t GetDoubleValue(const Char_t *name) const
Description of properties and kinematics of atomic nuclei.
virtual void Print(Option_t *t="") const
Display nucleus parameters.
virtual void Copy(TObject &) const
Copy this KVNucleus into the KVNucleus object referenced by "obj".
Int_t GetZ() const
Return the number of proton / atomic number.
TVector3 GetMomentum() const
void Set4Mom(const TLorentzVector &p)
KVNameValueList * GetParameters() const
Nucleus in a simulated event.
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
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
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
const TVector3 * GetPosition() const
void Print(Option_t *t="") const
TVector3 position
vector position of the particle in fm
TVector3 GetEntrancePosition(const TString &detname) const
KVSimNucleus operator+(const KVSimNucleus &rhs) const
virtual void Copy(TObject &object) const
const char * Data() const
void Form(const char *fmt,...)
void SetXYZ(Double_t x, Double_t y, Double_t z)
void Print(Option_t *option="") const override