REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Static Public Member Functions | Private Attributes
TRestGeant4PhysicsInfo Class Reference

Detailed Description

Definition at line 13 of file TRestGeant4PhysicsInfo.h.

Public Member Functions

std::set< TString > GetAllParticles () const
 
std::set< TString > GetAllProcesses () const
 
std::set< TString > GetAllProcessTypes () const
 
Int_t GetParticleID (const TString &processName) const
 
TString GetParticleName (Int_t id) const
 
Int_t GetProcessID (const TString &processName) const
 
TString GetProcessName (Int_t id) const
 
TString GetProcessType (const TString &processName) const
 
void InsertParticleName (Int_t id, const TString &particleName)
 
void InsertProcessName (Int_t id, const TString &processName, const TString &processType)
 
void Print () const
 
void PrintParticles () const
 
void PrintProcesses () const
 

Static Public Member Functions

static Int_t GetProcessIDFromGeant4Process (const G4VProcess *)
 

Private Attributes

std::map< Int_t, TString > fParticleNamesMap = {}
 
std::map< TString, Int_t > fParticleNamesReverseMap = {}
 
std::map< Int_t, TString > fProcessNamesMap = {}
 
std::map< TString, Int_t > fProcessNamesReverseMap = {}
 
std::map< TString, TString > fProcessTypesMap = {}
 

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