Geant4  10.02.p02
G4ParticlePropertyMessenger Class Reference

#include <G4ParticlePropertyMessenger.hh>

+ Inheritance diagram for G4ParticlePropertyMessenger:
+ Collaboration diagram for G4ParticlePropertyMessenger:

Public Member Functions

 G4ParticlePropertyMessenger (G4ParticleTable *pTable=0)
 
virtual ~G4ParticlePropertyMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValues)
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Member Functions

 G4ParticlePropertyMessenger (const G4ParticlePropertyMessenger &)
 
G4ParticleDefinitionSetCurrentParticle ()
 

Private Attributes

G4ParticleTabletheParticleTable
 
G4ParticleDefinitioncurrentParticle
 
G4UIdirectorythisDirectory
 
G4UIcmdWithoutParameterdumpCmd
 
G4UIcmdWithABoolstableCmd
 
G4UIcmdWithAnIntegerverboseCmd
 
G4UIcmdWithADoubleAndUnitlifetimeCmd
 
G4DecayTableMessengerfDecayTableMessenger
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 69 of file G4ParticlePropertyMessenger.hh.

Constructor & Destructor Documentation

G4ParticlePropertyMessenger::~G4ParticlePropertyMessenger ( )
virtual
G4ParticlePropertyMessenger::G4ParticlePropertyMessenger ( const G4ParticlePropertyMessenger )
inlineprivate

Definition at line 80 of file G4ParticlePropertyMessenger.hh.

Member Function Documentation

G4String G4ParticlePropertyMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 170 of file G4ParticlePropertyMessenger.cc.

References G4UIcommand::ConvertToString(), currentParticle, G4ParticleDefinition::GetPDGLifeTime(), G4ParticleDefinition::GetPDGStable(), lifetimeCmd, SetCurrentParticle(), stableCmd, and verboseCmd.

+ Here is the call graph for this function:

G4ParticleDefinition * G4ParticlePropertyMessenger::SetCurrentParticle ( )
private

Definition at line 151 of file G4ParticlePropertyMessenger.cc.

References currentParticle, G4ParticleTable::FindParticle(), G4UImanager::GetCurrentStringValue(), G4ParticleDefinition::GetParticleName(), G4UImanager::GetUIpointer(), and theParticleTable.

Referenced by GetCurrentValue(), and SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticlePropertyMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Member Data Documentation

G4ParticleDefinition* G4ParticlePropertyMessenger::currentParticle
private

Definition at line 85 of file G4ParticlePropertyMessenger.hh.

Referenced by GetCurrentValue(), SetCurrentParticle(), and SetNewValue().

G4UIcmdWithoutParameter* G4ParticlePropertyMessenger::dumpCmd
private
G4DecayTableMessenger* G4ParticlePropertyMessenger::fDecayTableMessenger
private
G4UIcmdWithADoubleAndUnit* G4ParticlePropertyMessenger::lifetimeCmd
private
G4UIcmdWithABool* G4ParticlePropertyMessenger::stableCmd
private
G4ParticleTable* G4ParticlePropertyMessenger::theParticleTable
private
G4UIdirectory* G4ParticlePropertyMessenger::thisDirectory
private
G4UIcmdWithAnInteger* G4ParticlePropertyMessenger::verboseCmd
private

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