Geant4  10.02.p03
MCTruthConfig Class Reference

#include <MCTruthConfig.hh>

Collaboration diagram for MCTruthConfig:

Public Member Functions

 MCTruthConfig ()
 
virtual ~MCTruthConfig ()
 
void SetMinE (double e)
 
G4double GetMinE () const
 
void SetParticleTypes (std::vector< G4int > &types)
 
void AddParticleType (G4int type)
 
std::vector< G4int > & GetParticleTypes ()
 
void SetCreatorProcesses (std::vector< G4String > &processes)
 
void AddCreatorProcess (G4String &process)
 
std::vector< G4String > & GetCreatorProcesses ()
 

Private Attributes

G4double minE
 
std::vector< G4intparticleTypes
 
std::vector< G4StringcreatorProcesses
 

Detailed Description

Definition at line 49 of file MCTruthConfig.hh.

Constructor & Destructor Documentation

◆ MCTruthConfig()

MCTruthConfig::MCTruthConfig ( )

Definition at line 43 of file MCTruthConfig.cc.

44 {}

◆ ~MCTruthConfig()

MCTruthConfig::~MCTruthConfig ( )
virtual

Definition at line 46 of file MCTruthConfig.cc.

47 {}

Member Function Documentation

◆ AddCreatorProcess()

void MCTruthConfig::AddCreatorProcess ( G4String process)
inline

Definition at line 66 of file MCTruthConfig.hh.

67  {creatorProcesses.push_back(process);}
std::vector< G4String > creatorProcesses

◆ AddParticleType()

void MCTruthConfig::AddParticleType ( G4int  type)
inline

Definition at line 61 of file MCTruthConfig.hh.

61 {particleTypes.push_back(type);}
std::vector< G4int > particleTypes
Here is the caller graph for this function:

◆ GetCreatorProcesses()

std::vector<G4String>& MCTruthConfig::GetCreatorProcesses ( )
inline

Definition at line 68 of file MCTruthConfig.hh.

69  {return creatorProcesses;}
std::vector< G4String > creatorProcesses

◆ GetMinE()

G4double MCTruthConfig::GetMinE ( ) const
inline

Definition at line 58 of file MCTruthConfig.hh.

58 {return minE;}
Here is the caller graph for this function:

◆ GetParticleTypes()

std::vector<G4int>& MCTruthConfig::GetParticleTypes ( )
inline

Definition at line 62 of file MCTruthConfig.hh.

62 {return particleTypes;}
std::vector< G4int > particleTypes
Here is the caller graph for this function:

◆ SetCreatorProcesses()

void MCTruthConfig::SetCreatorProcesses ( std::vector< G4String > &  processes)
inline

Definition at line 64 of file MCTruthConfig.hh.

65  {creatorProcesses = processes;}
std::vector< G4String > creatorProcesses

◆ SetMinE()

void MCTruthConfig::SetMinE ( double  e)
inline

Definition at line 57 of file MCTruthConfig.hh.

57 {minE = e;}
Here is the caller graph for this function:

◆ SetParticleTypes()

void MCTruthConfig::SetParticleTypes ( std::vector< G4int > &  types)
inline

Definition at line 60 of file MCTruthConfig.hh.

60 {particleTypes = types;}
std::vector< G4int > particleTypes

Member Data Documentation

◆ creatorProcesses

std::vector<G4String> MCTruthConfig::creatorProcesses
private

Definition at line 75 of file MCTruthConfig.hh.

◆ minE

G4double MCTruthConfig::minE
private

Definition at line 73 of file MCTruthConfig.hh.

◆ particleTypes

std::vector<G4int> MCTruthConfig::particleTypes
private

Definition at line 74 of file MCTruthConfig.hh.


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