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

#include <geant4/tree/geant4-10.6-release/examples/extended/parallel/MPI/source/include/G4MPImessenger.hh>

+ Inheritance diagram for G4MPImessenger:
+ Collaboration diagram for G4MPImessenger:

Public Member Functions

 G4MPImessenger ()
 
 ~G4MPImessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
void SetTargetObject (G4MPImanager *mpi_manager)
 
- 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

 DISALLOW_COPY_AND_ASSIGN (G4MPImessenger)
 

Private Attributes

G4MPImanagerg4mpi_
 
G4UIdirectorydir_
 
G4UIcmdWithAnIntegerverbose_
 
G4UIcmdWithoutParameterstatus_
 
G4UIcmdWithAStringexecute_
 
G4UIcommandbeam_on_
 
G4UIcommanddot_beam_on_
 
G4UIcmdWithADoublemaster_weight_
 
G4UIcmdWithoutParametershow_seeds_
 
G4UIcmdWithAnIntegerset_master_seed_
 
G4UIcommandset_seed_
 

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 G4MPImessenger.hh.

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

Constructor & Destructor Documentation

G4MPImessenger::G4MPImessenger ( )

Definition at line 43 of file G4MPImessenger.cc.

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

References beam_on_, dir_, dot_beam_on_, execute_, master_weight_, set_master_seed_, set_seed_, G4UIcommand::SetRange(), show_seeds_, status_, and verbose_.

+ Here is the call graph for this function:

G4MPImessenger::~G4MPImessenger ( )

Definition at line 119 of file G4MPImessenger.cc.

View newest version in sPHENIX GitHub at line 119 of file G4MPImessenger.cc

References beam_on_, dir_, dot_beam_on_, execute_, master_weight_, set_master_seed_, set_seed_, show_seeds_, status_, and verbose_.

Member Function Documentation

G4MPImessenger::DISALLOW_COPY_AND_ASSIGN ( G4MPImessenger  )
private
G4String G4MPImessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 188 of file G4MPImessenger.cc.

View newest version in sPHENIX GitHub at line 188 of file G4MPImessenger.cc

References g4mpi_, G4MPImanager::GetMasterWeight(), G4MPImanager::GetVerbose(), master_weight_, and verbose_.

+ Here is the call graph for this function:

void G4MPImessenger::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 135 of file G4MPImessenger.cc.

View newest version in sPHENIX GitHub at line 135 of file G4MPImessenger.cc

References beam_on_, dot_beam_on_, execute_, g4mpi_, G4UImanager::GetUIpointer(), master_weight_, nevent, seed, set_master_seed_, set_seed_, SetSeed(), show_seeds_, status_, verbose_, and weight.

+ Here is the call graph for this function:

void G4MPImessenger::SetTargetObject ( G4MPImanager mpi_manager)
inline

Definition at line 78 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 78 of file G4MPImessenger.hh

References g4mpi_.

Member Data Documentation

G4UIcommand* G4MPImessenger::beam_on_
private

Definition at line 68 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 68 of file G4MPImessenger.hh

Referenced by G4MPImessenger(), SetNewValue(), and ~G4MPImessenger().

G4UIdirectory* G4MPImessenger::dir_
private

Definition at line 61 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 61 of file G4MPImessenger.hh

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

G4UIcommand* G4MPImessenger::dot_beam_on_
private

Definition at line 69 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 69 of file G4MPImessenger.hh

Referenced by G4MPImessenger(), SetNewValue(), and ~G4MPImessenger().

G4UIcmdWithAString* G4MPImessenger::execute_
private

Definition at line 66 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 66 of file G4MPImessenger.hh

Referenced by G4MPImessenger(), SetNewValue(), and ~G4MPImessenger().

G4MPImanager* G4MPImessenger::g4mpi_
private

Definition at line 58 of file G4MPImessenger.hh.

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

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

G4UIcmdWithADouble* G4MPImessenger::master_weight_
private

Definition at line 70 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 70 of file G4MPImessenger.hh

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

G4UIcmdWithAnInteger* G4MPImessenger::set_master_seed_
private

Definition at line 73 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 73 of file G4MPImessenger.hh

Referenced by G4MPImessenger(), SetNewValue(), and ~G4MPImessenger().

G4UIcommand* G4MPImessenger::set_seed_
private

Definition at line 74 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 74 of file G4MPImessenger.hh

Referenced by G4MPImessenger(), SetNewValue(), and ~G4MPImessenger().

G4UIcmdWithoutParameter* G4MPImessenger::show_seeds_
private

Definition at line 72 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 72 of file G4MPImessenger.hh

Referenced by G4MPImessenger(), SetNewValue(), and ~G4MPImessenger().

G4UIcmdWithoutParameter* G4MPImessenger::status_
private

Definition at line 64 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 64 of file G4MPImessenger.hh

Referenced by G4MPImessenger(), SetNewValue(), and ~G4MPImessenger().

G4UIcmdWithAnInteger* G4MPImessenger::verbose_
private

Definition at line 63 of file G4MPImessenger.hh.

View newest version in sPHENIX GitHub at line 63 of file G4MPImessenger.hh

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


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