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

#include <geant4/tree/geant4-10.6-release/examples/extended/eventgenerator/HepMC/HepMCEx01/include/ExN04PrimaryGeneratorMessenger.hh>

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

Public Member Functions

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

ExN04PrimaryGeneratorActionfPrimaryAction
 
G4UIdirectoryfDir
 
G4UIdirectoryfMyDetDir
 
G4UIcmdWithAStringfSelect
 
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)
 
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 45 of file ExN04PrimaryGeneratorMessenger.hh.

View newest version in sPHENIX GitHub at line 45 of file ExN04PrimaryGeneratorMessenger.hh

Constructor & Destructor Documentation

ExN04PrimaryGeneratorMessenger::ExN04PrimaryGeneratorMessenger ( ExN04PrimaryGeneratorAction genaction)

Definition at line 43 of file ExN04PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 43 of file ExN04PrimaryGeneratorMessenger.cc

ExN04PrimaryGeneratorMessenger::~ExN04PrimaryGeneratorMessenger ( )

Definition at line 60 of file ExN04PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 60 of file ExN04PrimaryGeneratorMessenger.cc

References fDir, fMyDetDir, and fSelect.

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 80 of file ExN04PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 80 of file ExN04PrimaryGeneratorMessenger.cc

References fPrimaryAction, and fSelect.

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 68 of file ExN04PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 68 of file ExN04PrimaryGeneratorMessenger.cc

References fPrimaryAction, fSelect, G4cout, and G4endl.

Member Data Documentation

G4UIdirectory* ExN04PrimaryGeneratorMessenger::fDir
private

Definition at line 56 of file ExN04PrimaryGeneratorMessenger.hh.

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

Referenced by ~ExN04PrimaryGeneratorMessenger().

G4UIdirectory* ExN04PrimaryGeneratorMessenger::fMyDetDir
private

Definition at line 57 of file ExN04PrimaryGeneratorMessenger.hh.

View newest version in sPHENIX GitHub at line 57 of file ExN04PrimaryGeneratorMessenger.hh

Referenced by ~ExN04PrimaryGeneratorMessenger().

ExN04PrimaryGeneratorAction* ExN04PrimaryGeneratorMessenger::fPrimaryAction
private

Definition at line 54 of file ExN04PrimaryGeneratorMessenger.hh.

View newest version in sPHENIX GitHub at line 54 of file ExN04PrimaryGeneratorMessenger.hh

Referenced by GetCurrentValue(), and SetNewValue().

G4UIcmdWithAString* ExN04PrimaryGeneratorMessenger::fSelect
private

Definition at line 58 of file ExN04PrimaryGeneratorMessenger.hh.

View newest version in sPHENIX GitHub at line 58 of file ExN04PrimaryGeneratorMessenger.hh

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

G4UIcmdWithAString* ExN04PrimaryGeneratorMessenger::genCmd
private

Definition at line 56 of file ExN04PrimaryGeneratorMessenger.hh.

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

ExN04PrimaryGeneratorAction* ExN04PrimaryGeneratorMessenger::myAction
private

Definition at line 52 of file ExN04PrimaryGeneratorMessenger.hh.

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

G4UIdirectory* ExN04PrimaryGeneratorMessenger::mydetDirectory
private

Definition at line 55 of file ExN04PrimaryGeneratorMessenger.hh.

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


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