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 = {}
 

Member Function Documentation

◆ GetAllParticles()

set< TString > TRestGeant4PhysicsInfo::GetAllParticles ( ) const

Definition at line 12 of file TRestGeant4PhysicsInfo.cxx.

◆ GetAllProcesses()

std::set< TString > TRestGeant4PhysicsInfo::GetAllProcesses ( ) const

Definition at line 20 of file TRestGeant4PhysicsInfo.cxx.

◆ GetAllProcessTypes()

std::set< TString > TRestGeant4PhysicsInfo::GetAllProcessTypes ( ) const

Definition at line 28 of file TRestGeant4PhysicsInfo.cxx.

◆ GetParticleID()

Int_t TRestGeant4PhysicsInfo::GetParticleID ( const TString &  processName) const

Definition at line 100 of file TRestGeant4PhysicsInfo.cxx.

◆ GetParticleName()

TString TRestGeant4PhysicsInfo::GetParticleName ( Int_t  id) const

Definition at line 96 of file TRestGeant4PhysicsInfo.cxx.

◆ GetProcessID()

Int_t TRestGeant4PhysicsInfo::GetProcessID ( const TString &  processName) const

Definition at line 92 of file TRestGeant4PhysicsInfo.cxx.

◆ GetProcessName()

TString TRestGeant4PhysicsInfo::GetProcessName ( Int_t  id) const

Definition at line 88 of file TRestGeant4PhysicsInfo.cxx.

◆ GetProcessType()

TString TRestGeant4PhysicsInfo::GetProcessType ( const TString &  processName) const

Definition at line 104 of file TRestGeant4PhysicsInfo.cxx.

◆ InsertParticleName()

void TRestGeant4PhysicsInfo::InsertParticleName ( Int_t  id,
const TString &  particleName 
)

Definition at line 71 of file TRestGeant4PhysicsInfo.cxx.

◆ InsertProcessName()

void TRestGeant4PhysicsInfo::InsertProcessName ( Int_t  id,
const TString &  processName,
const TString &  processType 
)

Definition at line 59 of file TRestGeant4PhysicsInfo.cxx.

◆ Print()

void TRestGeant4PhysicsInfo::Print ( ) const

Definition at line 54 of file TRestGeant4PhysicsInfo.cxx.

◆ PrintParticles()

void TRestGeant4PhysicsInfo::PrintParticles ( ) const

Definition at line 36 of file TRestGeant4PhysicsInfo.cxx.

◆ PrintProcesses()

void TRestGeant4PhysicsInfo::PrintProcesses ( ) const

Definition at line 45 of file TRestGeant4PhysicsInfo.cxx.

Field Documentation

◆ fParticleNamesMap

std::map<Int_t, TString> TRestGeant4PhysicsInfo::fParticleNamesMap = {}
private

Definition at line 20 of file TRestGeant4PhysicsInfo.h.

◆ fParticleNamesReverseMap

std::map<TString, Int_t> TRestGeant4PhysicsInfo::fParticleNamesReverseMap = {}
private

Definition at line 21 of file TRestGeant4PhysicsInfo.h.

◆ fProcessNamesMap

std::map<Int_t, TString> TRestGeant4PhysicsInfo::fProcessNamesMap = {}
private

Definition at line 17 of file TRestGeant4PhysicsInfo.h.

◆ fProcessNamesReverseMap

std::map<TString, Int_t> TRestGeant4PhysicsInfo::fProcessNamesReverseMap = {}
private

Definition at line 18 of file TRestGeant4PhysicsInfo.h.

◆ fProcessTypesMap

std::map<TString, TString> TRestGeant4PhysicsInfo::fProcessTypesMap = {}
private

Definition at line 23 of file TRestGeant4PhysicsInfo.h.


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