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

#include <geant4/tree/geant4-10.6-release/source/intercoms/include/G4UIcmdWith3Vector.hh>

+ Inheritance diagram for G4UIcmdWith3Vector:
+ Collaboration diagram for G4UIcmdWith3Vector:

Public Member Functions

 G4UIcmdWith3Vector (const char *theCommandPath, G4UImessenger *theMessenger)
 
void SetParameterName (const char *theNameX, const char *theNameY, const char *theNameZ, G4bool omittable, G4bool currentAsDefault=false)
 
void SetDefaultValue (G4ThreeVector defVal)
 
- Public Member Functions inherited from G4UIcommand
 G4UIcommand ()
 
 G4UIcommand (const char *theCommandPath, G4UImessenger *theMessenger, G4bool tBB=true)
 
virtual ~G4UIcommand ()
 
G4bool operator== (const G4UIcommand &right) const
 
G4bool operator!= (const G4UIcommand &right) const
 
virtual G4int DoIt (G4String parameterList)
 
G4String GetCurrentValue ()
 
void AvailableForStates (G4ApplicationState s1)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4, G4ApplicationState s5)
 
G4bool IsAvailable ()
 
virtual void List ()
 
void SetRange (const char *rs)
 
const G4StringGetRange () const
 
size_t GetGuidanceEntries () const
 
const G4StringGetGuidanceLine (G4int i) const
 
const G4StringGetCommandPath () const
 
const G4StringGetCommandName () const
 
size_t GetParameterEntries () const
 
G4UIparameterGetParameter (G4int i) const
 
std::vector< G4ApplicationState > * GetStateList ()
 
G4UImessengerGetMessenger () const
 
void SetParameter (G4UIparameter *const newParameter)
 
void SetGuidance (const char *aGuidance)
 
const G4String GetTitle () const
 
void SetToBeBroadcasted (G4bool val)
 
G4bool ToBeBroadcasted () const
 
void SetToBeFlushed (G4bool val)
 
G4bool ToBeFlushed () const
 
void SetWorkerThreadOnly (G4bool val=true)
 
G4bool IsWorkerThreadOnly () const
 
void CommandFailed (G4int errCode, G4ExceptionDescription &ed)
 
void CommandFailed (G4ExceptionDescription &ed)
 
G4int IfCommandFailed ()
 
G4StringGetFailureDescription ()
 
void ResetFailure ()
 

Static Public Member Functions

static G4ThreeVector GetNew3VectorValue (const char *paramString)
 
- Static Public Member Functions inherited from G4UIcommand
static G4String ConvertToString (G4bool boolVal)
 
static G4String ConvertToString (G4int intValue)
 
static G4String ConvertToString (G4double doubleValue)
 
static G4String ConvertToString (G4double doubleValue, const char *unitName)
 
static G4String ConvertToString (G4ThreeVector vec)
 
static G4String ConvertToString (G4ThreeVector vec, const char *unitName)
 
static G4bool ConvertToBool (const char *st)
 
static G4int ConvertToInt (const char *st)
 
static G4double ConvertToDouble (const char *st)
 
static G4double ConvertToDimensionedDouble (const char *st)
 
static G4ThreeVector ConvertTo3Vector (const char *st)
 
static G4ThreeVector ConvertToDimensioned3Vector (const char *st)
 
static G4double ValueOf (const char *unitName)
 
static G4String CategoryOf (const char *unitName)
 
static G4String UnitsList (const char *unitCategory)
 

Additional Inherited Members

- Protected Types inherited from G4UIcommand
using yystype = G4UItokenNum::yystype
 
using tokenNum = G4UItokenNum::tokenNum
 
- Protected Member Functions inherited from G4UIcommand
G4int CheckNewValue (const char *newValue)
 
- Protected Attributes inherited from G4UIcommand
G4bool toBeBroadcasted
 
G4bool toBeFlushed
 
G4bool workerThreadOnly
 
G4int commandFailureCode
 
G4String failureDescription
 

Detailed Description

Definition at line 41 of file G4UIcmdWith3Vector.hh.

View newest version in sPHENIX GitHub at line 41 of file G4UIcmdWith3Vector.hh

Constructor & Destructor Documentation

G4UIcmdWith3Vector::G4UIcmdWith3Vector ( const char *  theCommandPath,
G4UImessenger theMessenger 
)

Definition at line 33 of file G4UIcmdWith3Vector.cc.

View newest version in sPHENIX GitHub at line 33 of file G4UIcmdWith3Vector.cc

Member Function Documentation

G4ThreeVector G4UIcmdWith3Vector::GetNew3VectorValue ( const char *  paramString)
static

Definition at line 44 of file G4UIcmdWith3Vector.cc.

View newest version in sPHENIX GitHub at line 44 of file G4UIcmdWith3Vector.cc

References G4UIcommand::ConvertTo3Vector().

Referenced by RunActionMessenger::SetNewValue(), ExGflashMessenger::SetNewValue(), G4MatScanMessenger::SetNewValue(), G4RTMessenger::SetNewValue(), G4ParticleGunMessenger::SetNewValue(), G4RadioactiveDecayBaseMessenger::SetNewValue(), CexmcProductionModelMessenger::SetNewValue(), CexmcScenePrimitivesMessenger::SetNewValue(), CexmcParticleGunMessenger::SetNewValue(), CexmcEnergyDepositDigitizerMessenger::SetNewValue(), G4BlineTracerMessenger::SetNewValue(), G4RadioactiveDecaymessenger::SetNewValue(), G4GeneralParticleSourceMessenger::SetNewValue(), and G4VisCommandViewerScale::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4UIcmdWith3Vector::SetDefaultValue ( G4ThreeVector  defVal)

Definition at line 67 of file G4UIcmdWith3Vector.cc.

View newest version in sPHENIX GitHub at line 67 of file G4UIcmdWith3Vector.cc

References G4UIcommand::GetParameter(), G4UIparameter::SetDefaultValue(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().

Referenced by CexmcScenePrimitivesMessenger::CexmcScenePrimitivesMessenger(), and G4RTMessenger::G4RTMessenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4UIcmdWith3Vector::SetParameterName ( const char *  theNameX,
const char *  theNameY,
const char *  theNameZ,
G4bool  omittable,
G4bool  currentAsDefault = false 
)

Definition at line 50 of file G4UIcmdWith3Vector.cc.

View newest version in sPHENIX GitHub at line 50 of file G4UIcmdWith3Vector.cc

References G4UIparameter::SetCurrentAsDefault(), G4UIparameter::SetOmittable(), and G4UIparameter::SetParameterName().

Referenced by CexmcEnergyDepositDigitizerMessenger::CexmcEnergyDepositDigitizerMessenger(), CexmcParticleGunMessenger::CexmcParticleGunMessenger(), CexmcProductionModelMessenger::CexmcProductionModelMessenger(), CexmcScenePrimitivesMessenger::CexmcScenePrimitivesMessenger(), ExGflashMessenger::ExGflashMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4RTMessenger::G4RTMessenger(), and RunActionMessenger::RunActionMessenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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