169 parname.
Form(
"DE:%s", detname.
Data());
186 parname.
Form(
"Xin:%s", detname.
Data());
209 parname.
Form(
"Xout:%s", detname.
Data());
226 std::cout <<
"KVSimNucleus: Position : ";
228 std::cout <<
"KVSimNucleus: Ang. Mom. : ";
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
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
KVNameValueList * GetParameters() const
void Set4Mom(const TLorentzVector &p)
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
void Print(Option_t *t="") const
Display nucleus parameters.
TVector3 position
vector position of the particle in fm
TVector3 GetEntrancePosition(const TString &detname) const
const TVector3 * GetPosition() const
KVSimNucleus operator+(const KVSimNucleus &rhs) 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