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

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/dna/utils/include/G4MoleculeGunMessenger.hh>

+ Inheritance diagram for G4MoleculeShootMessenger:
+ Collaboration diagram for G4MoleculeShootMessenger:

Public Member Functions

 G4MoleculeShootMessenger (const G4String &name, G4MoleculeGunMessenger *, G4shared_ptr< G4MoleculeShoot >)
 
virtual ~G4MoleculeShootMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
G4shared_ptr< G4MoleculeShoot > & GetShoot ()
 
- 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
 

Protected Attributes

G4UIcmdWithAStringfpGunSpecies
 
G4UIcmdWith3VectorAndUnitfpGunPosition
 
G4UIcmdWith3VectorAndUnitfpGunRdnmPosition
 
G4UIcmdWithADoubleAndUnitfpGunTime
 
G4UIcmdWithAnIntegerfpGunN
 
G4UIcmdWithAStringfpGunType
 
G4shared_ptr< G4MoleculeShootfpShoot
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

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)
 

Detailed Description

Definition at line 64 of file G4MoleculeGunMessenger.hh.

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

Constructor & Destructor Documentation

G4MoleculeShootMessenger::G4MoleculeShootMessenger ( const G4String name,
G4MoleculeGunMessenger ,
G4shared_ptr< G4MoleculeShoot shoot 
)

Definition at line 98 of file G4MoleculeGunMessenger.cc.

View newest version in sPHENIX GitHub at line 98 of file G4MoleculeGunMessenger.cc

References G4UImessenger::CreateDirectory(), dir, fpGunN, fpGunPosition, fpGunRdnmPosition, fpGunSpecies, fpGunTime, fpGunType, and tmp.

+ Here is the call graph for this function:

G4MoleculeShootMessenger::~G4MoleculeShootMessenger ( )
virtual

Definition at line 137 of file G4MoleculeGunMessenger.cc.

View newest version in sPHENIX GitHub at line 137 of file G4MoleculeGunMessenger.cc

References fpGunN, fpGunPosition, fpGunSpecies, and fpGunTime.

Member Function Documentation

G4String G4MoleculeShootMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 183 of file G4MoleculeGunMessenger.cc.

View newest version in sPHENIX GitHub at line 183 of file G4MoleculeGunMessenger.cc

References G4UIcommand::ConvertToString(), G4UIcmdWithADoubleAndUnit::ConvertToStringWithBestUnit(), G4UIcmdWith3VectorAndUnit::ConvertToStringWithBestUnit(), fpGunN, fpGunPosition, fpGunRdnmPosition, fpGunSpecies, fpGunTime, and fpShoot.

+ Here is the call graph for this function:

G4shared_ptr<G4MoleculeShoot>& G4MoleculeShootMessenger::GetShoot ( )
inline

Definition at line 74 of file G4MoleculeGunMessenger.hh.

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

References fpShoot.

Referenced by G4MoleculeGunMessenger::CreateNewType().

+ Here is the caller graph for this function:

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

Reimplemented from G4UImessenger.

Definition at line 147 of file G4MoleculeGunMessenger.cc.

View newest version in sPHENIX GitHub at line 147 of file G4MoleculeGunMessenger.cc

References fpGunN, fpGunPosition, fpGunRdnmPosition, fpGunSpecies, fpGunTime, fpGunType, fpShoot, G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), and G4UIcmdWithAnInteger::GetNewIntValue().

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithAnInteger* G4MoleculeShootMessenger::fpGunN
protected

Definition at line 83 of file G4MoleculeGunMessenger.hh.

View newest version in sPHENIX GitHub at line 83 of file G4MoleculeGunMessenger.hh

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

G4UIcmdWith3VectorAndUnit* G4MoleculeShootMessenger::fpGunPosition
protected

Definition at line 80 of file G4MoleculeGunMessenger.hh.

View newest version in sPHENIX GitHub at line 80 of file G4MoleculeGunMessenger.hh

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

G4UIcmdWith3VectorAndUnit* G4MoleculeShootMessenger::fpGunRdnmPosition
protected

Definition at line 81 of file G4MoleculeGunMessenger.hh.

View newest version in sPHENIX GitHub at line 81 of file G4MoleculeGunMessenger.hh

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

G4UIcmdWithAString* G4MoleculeShootMessenger::fpGunSpecies
protected

Definition at line 79 of file G4MoleculeGunMessenger.hh.

View newest version in sPHENIX GitHub at line 79 of file G4MoleculeGunMessenger.hh

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

G4UIcmdWithADoubleAndUnit* G4MoleculeShootMessenger::fpGunTime
protected

Definition at line 82 of file G4MoleculeGunMessenger.hh.

View newest version in sPHENIX GitHub at line 82 of file G4MoleculeGunMessenger.hh

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

G4UIcmdWithAString* G4MoleculeShootMessenger::fpGunType
protected

Definition at line 84 of file G4MoleculeGunMessenger.hh.

View newest version in sPHENIX GitHub at line 84 of file G4MoleculeGunMessenger.hh

Referenced by G4MoleculeShootMessenger(), and SetNewValue().

G4shared_ptr<G4MoleculeShoot> G4MoleculeShootMessenger::fpShoot
protected

Definition at line 85 of file G4MoleculeGunMessenger.hh.

View newest version in sPHENIX GitHub at line 85 of file G4MoleculeGunMessenger.hh

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


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