Geant4  10.01
PrimaryGeneratorMessenger Class Reference

#include <PrimaryGeneratorMessenger.hh>

+ Inheritance diagram for PrimaryGeneratorMessenger:
+ Collaboration diagram for PrimaryGeneratorMessenger:

Public Member Functions

 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *)
 
 ~PrimaryGeneratorMessenger ()
 
virtual void SetNewValue (G4UIcommand *, G4String)
 
 PrimaryGeneratorMessenger (PrimaryGeneratorAction *gen)
 
virtual ~PrimaryGeneratorMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValue)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Member Functions

PrimaryGeneratorMessengeroperator= (const PrimaryGeneratorMessenger &right)
 
 PrimaryGeneratorMessenger (const PrimaryGeneratorMessenger &)
 

Private Attributes

PrimaryGeneratorActionAction
 
G4UIdirectorygunDir
 
G4UIcmdWithoutParameterDefaultCmd
 
G4UIcmdWithADoubleAndUnitRndmCmd
 
PrimaryGeneratorActionfAction
 
G4UIdirectoryfGunDir
 
G4UIcmdWithAnIntegerfEmissionCmd
 
G4UIcmdWithAnIntegerfDefaultCmd
 
G4UIcmdWithADoublefRndmCmd
 
G4UIcmdWithADoubleAndUnitfRndmCmd
 
G4UIcmdWithABoolfRndmCmd
 
G4UIcmdWithoutParameterfDefaultCmd
 
G4UIdirectoryfDir
 
G4UIcmdWithAnIntegerfSelectActionCmd
 
G4UIcmdWithADoublefBeam
 
PrimaryGeneratorActionfGen
 
G4UIcmdWithADoubleAndUnitfBeamXCmd
 
G4UIcmdWithADoubleAndUnitfBeamYCmd
 
G4UIcmdWithADoubleAndUnitfBeamZCmd
 
G4UIcmdWithADoubleAndUnitfBeamECmd
 
G4UIcmdWithADoubleAndUnitfSigmaXCmd
 
G4UIcmdWithADoubleAndUnitfSigmaYCmd
 
G4UIcmdWithADoubleAndUnitfSigmaZCmd
 
G4UIcmdWithADoubleAndUnitfSigmaECmd
 
G4UIcmdWithADoubleAndUnitfMaxThetaCmd
 
G4UIcmdWithADoubleAndUnitfThetaCmd
 
G4UIcmdWithADoublefBeamBetaCmd
 
G4UIcmdWithADoublefSigmaBetaCmd
 
G4UIcmdWithAStringfPartCmd
 
G4UIcmdWithAStringfRandCmd
 

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

Constructor & Destructor Documentation

PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction Gun)

Definition at line 40 of file PrimaryGeneratorMessenger.cc.

References G4UIcommand::AvailableForStates(), DefaultCmd, G4State_Idle, G4State_PreInit, gunDir, RndmCmd, G4UIcommand::SetGuidance(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcommand::SetRange(), and G4UIcmdWithADoubleAndUnit::SetUnitCategory().

+ Here is the call graph for this function:

PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )

Definition at line 62 of file PrimaryGeneratorMessenger.cc.

References DefaultCmd, gunDir, and RndmCmd.

PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction )
PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( PrimaryGeneratorAction gen)
virtual PrimaryGeneratorMessenger::~PrimaryGeneratorMessenger ( )
virtual
PrimaryGeneratorMessenger::PrimaryGeneratorMessenger ( const PrimaryGeneratorMessenger )
private

Member Function Documentation

PrimaryGeneratorMessenger& PrimaryGeneratorMessenger::operator= ( const PrimaryGeneratorMessenger right)
private
void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

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

Reimplemented from G4UImessenger.

Definition at line 71 of file PrimaryGeneratorMessenger.cc.

References Action, DefaultCmd, G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), RndmCmd, PrimaryGeneratorAction::SetDefaultKinematic(), and PrimaryGeneratorAction::SetRndmBeam().

+ Here is the call graph for this function:

virtual void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

virtual void PrimaryGeneratorMessenger::SetNewValue ( G4UIcommand ,
G4String   
)
virtual

Reimplemented from G4UImessenger.

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

Reimplemented from G4UImessenger.

Member Data Documentation

PrimaryGeneratorAction * PrimaryGeneratorMessenger::Action
private

Definition at line 53 of file PrimaryGeneratorMessenger.hh.

Referenced by SetNewValue().

G4UIcmdWithoutParameter* PrimaryGeneratorMessenger::DefaultCmd
private
PrimaryGeneratorAction * PrimaryGeneratorMessenger::fAction
private

Definition at line 50 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADouble* PrimaryGeneratorMessenger::fBeam
private

Definition at line 57 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADouble* PrimaryGeneratorMessenger::fBeamBetaCmd
private

Definition at line 85 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fBeamECmd
private

Definition at line 78 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fBeamXCmd
private

Definition at line 75 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fBeamYCmd
private

Definition at line 76 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fBeamZCmd
private

Definition at line 77 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithoutParameter * PrimaryGeneratorMessenger::fDefaultCmd
private

Definition at line 59 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithoutParameter* PrimaryGeneratorMessenger::fDefaultCmd
private

Definition at line 59 of file PrimaryGeneratorMessenger.hh.

G4UIdirectory* PrimaryGeneratorMessenger::fDir
private

Definition at line 57 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithAnInteger* PrimaryGeneratorMessenger::fEmissionCmd
private

Definition at line 52 of file PrimaryGeneratorMessenger.hh.

PrimaryGeneratorAction* PrimaryGeneratorMessenger::fGen
private

Definition at line 73 of file PrimaryGeneratorMessenger.hh.

G4UIdirectory * PrimaryGeneratorMessenger::fGunDir
private

Definition at line 51 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fMaxThetaCmd
private

Definition at line 83 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithAString* PrimaryGeneratorMessenger::fPartCmd
private

Definition at line 87 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithAString* PrimaryGeneratorMessenger::fRandCmd
private

Definition at line 88 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fRndmCmd
private

Definition at line 57 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithABool* PrimaryGeneratorMessenger::fRndmCmd
private

Definition at line 57 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit * PrimaryGeneratorMessenger::fRndmCmd
private

Definition at line 60 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithAnInteger* PrimaryGeneratorMessenger::fSelectActionCmd
private

Definition at line 58 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADouble* PrimaryGeneratorMessenger::fSigmaBetaCmd
private

Definition at line 86 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fSigmaECmd
private

Definition at line 82 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fSigmaXCmd
private

Definition at line 79 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fSigmaYCmd
private

Definition at line 80 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fSigmaZCmd
private

Definition at line 81 of file PrimaryGeneratorMessenger.hh.

G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::fThetaCmd
private

Definition at line 84 of file PrimaryGeneratorMessenger.hh.

G4UIdirectory* PrimaryGeneratorMessenger::gunDir
private
G4UIcmdWithADoubleAndUnit* PrimaryGeneratorMessenger::RndmCmd
private

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