Geant4  10.01.p02
ExN04PrimaryGeneratorMessenger Class Reference

#include <ExN04PrimaryGeneratorMessenger.hh>

+ Inheritance diagram for ExN04PrimaryGeneratorMessenger:
+ Collaboration diagram for ExN04PrimaryGeneratorMessenger:

Public Member Functions

 ExN04PrimaryGeneratorMessenger (ExN04PrimaryGeneratorAction *genaction)
 
 ~ExN04PrimaryGeneratorMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValues)
 
G4String GetCurrentValue (G4UIcommand *command)
 
 ExN04PrimaryGeneratorMessenger (ExN04PrimaryGeneratorAction *mpga)
 
 ~ExN04PrimaryGeneratorMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValues)
 
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 Attributes

ExN04PrimaryGeneratorActionprimaryAction
 
G4UIdirectorydir
 
G4UIdirectorymydetdir
 
G4UIcmdWithAStringselect
 
ExN04PrimaryGeneratorActionmyAction
 
G4UIdirectorymydetDirectory
 
G4UIcmdWithAStringgenCmd
 

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 46 of file ExN04PrimaryGeneratorMessenger.hh.

Constructor & Destructor Documentation

ExN04PrimaryGeneratorMessenger::ExN04PrimaryGeneratorMessenger ( ExN04PrimaryGeneratorAction genaction)

Definition at line 44 of file ExN04PrimaryGeneratorMessenger.cc.

ExN04PrimaryGeneratorMessenger::~ExN04PrimaryGeneratorMessenger ( )

Definition at line 61 of file ExN04PrimaryGeneratorMessenger.cc.

References dir, mydetdir, and select.

ExN04PrimaryGeneratorMessenger::ExN04PrimaryGeneratorMessenger ( ExN04PrimaryGeneratorAction mpga)
ExN04PrimaryGeneratorMessenger::~ExN04PrimaryGeneratorMessenger ( )

Member Function Documentation

G4String ExN04PrimaryGeneratorMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

G4String ExN04PrimaryGeneratorMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 81 of file ExN04PrimaryGeneratorMessenger.cc.

References primaryAction, and select.

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

Reimplemented from G4UImessenger.

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

Reimplemented from G4UImessenger.

Definition at line 69 of file ExN04PrimaryGeneratorMessenger.cc.

References G4cout, G4endl, primaryAction, and select.

Member Data Documentation

G4UIdirectory* ExN04PrimaryGeneratorMessenger::dir
private

Definition at line 57 of file ExN04PrimaryGeneratorMessenger.hh.

Referenced by ~ExN04PrimaryGeneratorMessenger().

G4UIcmdWithAString* ExN04PrimaryGeneratorMessenger::genCmd
private

Definition at line 57 of file ExN04PrimaryGeneratorMessenger.hh.

ExN04PrimaryGeneratorAction* ExN04PrimaryGeneratorMessenger::myAction
private

Definition at line 53 of file ExN04PrimaryGeneratorMessenger.hh.

G4UIdirectory* ExN04PrimaryGeneratorMessenger::mydetdir
private

Definition at line 58 of file ExN04PrimaryGeneratorMessenger.hh.

Referenced by ~ExN04PrimaryGeneratorMessenger().

G4UIdirectory* ExN04PrimaryGeneratorMessenger::mydetDirectory
private

Definition at line 56 of file ExN04PrimaryGeneratorMessenger.hh.

ExN04PrimaryGeneratorAction* ExN04PrimaryGeneratorMessenger::primaryAction
private

Definition at line 55 of file ExN04PrimaryGeneratorMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

G4UIcmdWithAString* ExN04PrimaryGeneratorMessenger::select
private

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