ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE05PrimaryGeneratorMessenger Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/runAndEvent/RE05/include/RE05PrimaryGeneratorMessenger.hh>

+ Inheritance diagram for RE05PrimaryGeneratorMessenger:
+ Collaboration diagram for RE05PrimaryGeneratorMessenger:

Public Member Functions

 RE05PrimaryGeneratorMessenger (RE05PrimaryGeneratorAction *mpga)
 
virtual ~RE05PrimaryGeneratorMessenger ()
 
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 Attributes

RE05PrimaryGeneratorActionfMyAction
 
G4UIdirectoryfMydetDirectory
 
G4UIcmdWithAStringfGenCmd
 

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)
 
G4long StoL (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 >
TCreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 41 of file RE05PrimaryGeneratorMessenger.hh.

View newest version in sPHENIX GitHub at line 41 of file RE05PrimaryGeneratorMessenger.hh

Constructor & Destructor Documentation

RE05PrimaryGeneratorMessenger::RE05PrimaryGeneratorMessenger ( RE05PrimaryGeneratorAction mpga)

Definition at line 39 of file RE05PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 39 of file RE05PrimaryGeneratorMessenger.cc

References fGenCmd, fMydetDirectory, G4UIcmdWithAString::SetCandidates(), G4UIcmdWithAString::SetDefaultValue(), G4UIcommand::SetGuidance(), and G4UIcmdWithAString::SetParameterName().

+ Here is the call graph for this function:

RE05PrimaryGeneratorMessenger::~RE05PrimaryGeneratorMessenger ( )
virtual

Definition at line 56 of file RE05PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 56 of file RE05PrimaryGeneratorMessenger.cc

References fGenCmd, and fMydetDirectory.

Member Function Documentation

G4String RE05PrimaryGeneratorMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 72 of file RE05PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 72 of file RE05PrimaryGeneratorMessenger.cc

References fGenCmd, fMyAction, and RE05PrimaryGeneratorAction::GetHEPEvtGenerator().

+ Here is the call graph for this function:

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

Reimplemented from G4UImessenger.

Definition at line 64 of file RE05PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 64 of file RE05PrimaryGeneratorMessenger.cc

References fGenCmd, fMyAction, and RE05PrimaryGeneratorAction::SetHEPEvtGenerator().

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithAString* RE05PrimaryGeneratorMessenger::fGenCmd
private

Definition at line 56 of file RE05PrimaryGeneratorMessenger.hh.

View newest version in sPHENIX GitHub at line 56 of file RE05PrimaryGeneratorMessenger.hh

Referenced by GetCurrentValue(), RE05PrimaryGeneratorMessenger(), SetNewValue(), and ~RE05PrimaryGeneratorMessenger().

RE05PrimaryGeneratorAction* RE05PrimaryGeneratorMessenger::fMyAction
private

Definition at line 52 of file RE05PrimaryGeneratorMessenger.hh.

View newest version in sPHENIX GitHub at line 52 of file RE05PrimaryGeneratorMessenger.hh

Referenced by GetCurrentValue(), and SetNewValue().

G4UIdirectory* RE05PrimaryGeneratorMessenger::fMydetDirectory
private

Definition at line 55 of file RE05PrimaryGeneratorMessenger.hh.

View newest version in sPHENIX GitHub at line 55 of file RE05PrimaryGeneratorMessenger.hh

Referenced by RE05PrimaryGeneratorMessenger(), and ~RE05PrimaryGeneratorMessenger().


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