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

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

+ Inheritance diagram for H02PrimaryGeneratorMessenger:
+ Collaboration diagram for H02PrimaryGeneratorMessenger:

Public Member Functions

 H02PrimaryGeneratorMessenger (H02PrimaryGeneratorAction *genaction)
 
 ~H02PrimaryGeneratorMessenger ()
 
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

H02PrimaryGeneratorActionfPrimaryAction
 
G4UIdirectoryfDir
 
G4UIcmdWithAStringfSelect
 

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 44 of file H02PrimaryGeneratorMessenger.hh.

View newest version in sPHENIX GitHub at line 44 of file H02PrimaryGeneratorMessenger.hh

Constructor & Destructor Documentation

H02PrimaryGeneratorMessenger::H02PrimaryGeneratorMessenger ( H02PrimaryGeneratorAction genaction)

Definition at line 42 of file H02PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 42 of file H02PrimaryGeneratorMessenger.cc

H02PrimaryGeneratorMessenger::~H02PrimaryGeneratorMessenger ( )

Definition at line 63 of file H02PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 63 of file H02PrimaryGeneratorMessenger.cc

References fDir, and fSelect.

Member Function Documentation

G4String H02PrimaryGeneratorMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 84 of file H02PrimaryGeneratorMessenger.cc.

View newest version in sPHENIX GitHub at line 84 of file H02PrimaryGeneratorMessenger.cc

References fPrimaryAction, and fSelect.

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

Reimplemented from G4UImessenger.

Definition at line 72 of file H02PrimaryGeneratorMessenger.cc.

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

References fPrimaryAction, fSelect, G4cout, and G4endl.

Member Data Documentation

G4UIdirectory* H02PrimaryGeneratorMessenger::fDir
private

Definition at line 55 of file H02PrimaryGeneratorMessenger.hh.

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

Referenced by ~H02PrimaryGeneratorMessenger().

H02PrimaryGeneratorAction* H02PrimaryGeneratorMessenger::fPrimaryAction
private

Definition at line 53 of file H02PrimaryGeneratorMessenger.hh.

View newest version in sPHENIX GitHub at line 53 of file H02PrimaryGeneratorMessenger.hh

Referenced by GetCurrentValue(), and SetNewValue().

G4UIcmdWithAString* H02PrimaryGeneratorMessenger::fSelect
private

Definition at line 56 of file H02PrimaryGeneratorMessenger.hh.

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

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


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