REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Protected Attributes
TRestGeant4Particle Class Reference

Detailed Description

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

Author
Javier Galan

Definition at line 32 of file TRestGeant4Particle.h.

#include <TRestGeant4Particle.h>

Inheritance diagram for TRestGeant4Particle:
TRestGeant4ParticleSource TRestGeant4ParticleSourceCry TRestGeant4ParticleSourceDecay0

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.
 
void SetDirection (TVector3 dir)
 
void SetEnergy (Double_t en)
 
void SetExcitationLevel (Double_t excitationEnergy)
 
void SetOrigin (TVector3 pos)
 
void SetParticle (TRestGeant4Particle particle)
 A copy method.
 
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
 

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