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

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

+ Inheritance diagram for G4MoleculeGunMessenger:
+ Collaboration diagram for G4MoleculeGunMessenger:

Public Member Functions

 G4MoleculeGunMessenger (G4MoleculeGun *)
 
virtual ~G4MoleculeGunMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValue)
 
virtual G4String GetCurrentValue (G4UIcommand *command)
 
const std::vector
< G4MoleculeShootMessenger * > & 
GetShootMessengers () const
 
- 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 Member Functions

template<typename T >
G4MoleculeShootMessengerCreateNewType (const G4String &name)
 
- 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

G4MoleculeGunfpMoleculeGun
 
G4UIcmdWithAStringfpGunNewGunType
 
std::vector
< G4MoleculeShootMessenger * > 
fMultipleGun
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 90 of file G4MoleculeGunMessenger.hh.

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

Constructor & Destructor Documentation

G4MoleculeGunMessenger::G4MoleculeGunMessenger ( G4MoleculeGun gun)

Definition at line 48 of file G4MoleculeGunMessenger.cc.

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

References fpGunNewGunType, and fpMoleculeGun.

G4MoleculeGunMessenger::~G4MoleculeGunMessenger ( )
virtual

Definition at line 58 of file G4MoleculeGunMessenger.cc.

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

References fpGunNewGunType.

Member Function Documentation

template<typename T >
G4MoleculeShootMessenger* G4MoleculeGunMessenger::CreateNewType ( const G4String name)
inlineprotected

Definition at line 111 of file G4MoleculeGunMessenger.hh.

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

References G4MoleculeGun::AddMoleculeShoot(), fMultipleGun, fpMoleculeGun, G4MoleculeShootMessenger::GetShoot(), and G4INCL::DeJongSpin::shoot().

+ Here is the call graph for this function:

G4String G4MoleculeGunMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 65 of file G4MoleculeGunMessenger.cc.

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

const std::vector<G4MoleculeShootMessenger*>& G4MoleculeGunMessenger::GetShootMessengers ( ) const
inline

Definition at line 101 of file G4MoleculeGunMessenger.hh.

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

References fMultipleGun.

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

Reimplemented from G4UImessenger.

Definition at line 72 of file G4MoleculeGunMessenger.cc.

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

References fpGunNewGunType.

Member Data Documentation

std::vector<G4MoleculeShootMessenger*> G4MoleculeGunMessenger::fMultipleGun
protected

Definition at line 123 of file G4MoleculeGunMessenger.hh.

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

Referenced by CreateNewType(), and GetShootMessengers().

G4UIcmdWithAString* G4MoleculeGunMessenger::fpGunNewGunType
protected

Definition at line 108 of file G4MoleculeGunMessenger.hh.

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

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

G4MoleculeGun* G4MoleculeGunMessenger::fpMoleculeGun
protected

Definition at line 107 of file G4MoleculeGunMessenger.hh.

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

Referenced by CreateNewType(), and G4MoleculeGunMessenger().


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