REST-for-Physics
v2.3
Rare Event Searches ToolKit for Physics
|
A class used to store particle properties.
TRestGeant4Particle is just a container class to store particle properties
RESTsoft - Software for Rare Event Searches with TPCs
History of developments:
2015-July: First concept and implementation
Definition at line 32 of file TRestGeant4Particle.h.
#include <TRestGeant4Particle.h>
Public Member Functions | |
Double_t | GetEnergy () const |
Double_t | GetExcitationLevel () const |
TVector3 | GetMomentumDirection () const |
TVector3 | GetOrigin () const |
Int_t | GetParticleCharge () const |
TString | GetParticleName () const |
void | Print () const |
Prints on screen the details about the Geant4 simulation conditions, stored in TRestGeant4Metadata. More... | |
void | SetDirection (const TVector3 &dir) |
void | SetEnergy (Double_t en) |
void | SetExcitationLevel (Double_t excitationEnergy) |
void | SetOrigin (const TVector3 &pos) |
void | SetParticle (TRestGeant4Particle particle) |
A copy method. More... | |
void | SetParticleCharge (Int_t charge) |
void | SetParticleName (TString particle) |
Protected Attributes | |
Int_t | fCharge = 0 |
TVector3 | fDirection = {1, 0, 0} |
Double_t | fEnergy = 0 |
Double_t | fExcitationLevel = 0 |
TVector3 | fOrigin |
TString | fParticleName |
TRestGeant4Particle::TRestGeant4Particle | ( | ) |
Definition at line 46 of file TRestGeant4Particle.cxx.
|
virtual |
Definition at line 50 of file TRestGeant4Particle.cxx.
|
inline |
Definition at line 44 of file TRestGeant4Particle.h.
|
inline |
Definition at line 43 of file TRestGeant4Particle.h.
|
inline |
Definition at line 45 of file TRestGeant4Particle.h.
|
inline |
Definition at line 47 of file TRestGeant4Particle.h.
|
inline |
Definition at line 46 of file TRestGeant4Particle.h.
|
inline |
Definition at line 42 of file TRestGeant4Particle.h.
void TRestGeant4Particle::Print | ( | ) | const |
Prints on screen the details about the Geant4 simulation conditions, stored in TRestGeant4Metadata.
Definition at line 69 of file TRestGeant4Particle.cxx.
|
inline |
Definition at line 60 of file TRestGeant4Particle.h.
|
inline |
Definition at line 61 of file TRestGeant4Particle.h.
|
inline |
Definition at line 53 of file TRestGeant4Particle.h.
|
inline |
Definition at line 62 of file TRestGeant4Particle.h.
void TRestGeant4Particle::SetParticle | ( | TRestGeant4Particle | particle | ) |
A copy method.
Definition at line 57 of file TRestGeant4Particle.cxx.
|
inline |
Definition at line 58 of file TRestGeant4Particle.h.
|
inline |
Definition at line 51 of file TRestGeant4Particle.h.
|
protected |
Definition at line 38 of file TRestGeant4Particle.h.
|
protected |
Definition at line 36 of file TRestGeant4Particle.h.
|
protected |
Definition at line 37 of file TRestGeant4Particle.h.
|
protected |
Definition at line 35 of file TRestGeant4Particle.h.
|
protected |
Definition at line 39 of file TRestGeant4Particle.h.
|
protected |
Definition at line 34 of file TRestGeant4Particle.h.