ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/navigation/include/G4GlobalMagFieldMessenger.hh>
Public Member Functions | |
G4GlobalMagFieldMessenger (const G4ThreeVector &value=G4ThreeVector()) | |
virtual | ~G4GlobalMagFieldMessenger () |
virtual void | SetNewValue (G4UIcommand *, G4String) |
void | SetFieldValue (const G4ThreeVector &value) |
G4ThreeVector | GetFieldValue () const |
void | SetVerboseLevel (G4int verboseLevel) |
G4int | GetVerboseLevel () const |
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 | |
void | SetField (const G4ThreeVector &value, const G4String &inFunction) |
Private Attributes | |
G4UniformMagField * | fMagField = nullptr |
G4int | fVerboseLevel = 0 |
G4UIdirectory * | fDirectory = nullptr |
G4UIcmdWith3VectorAndUnit * | fSetValueCmd = nullptr |
G4UIcmdWithAnInteger * | fSetVerboseCmd = nullptr |
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 > | |
T * | CreateCommand (const G4String &cname, const G4String &dsc) |
Protected Attributes inherited from G4UImessenger | |
G4UIdirectory * | baseDir |
G4String | baseDirName |
G4bool | commandsShouldBeInMaster |
Definition at line 54 of file G4GlobalMagFieldMessenger.hh.
View newest version in sPHENIX GitHub at line 54 of file G4GlobalMagFieldMessenger.hh
G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger | ( | const G4ThreeVector & | value = G4ThreeVector() | ) |
Definition at line 45 of file G4GlobalMagFieldMessenger.cc.
View newest version in sPHENIX GitHub at line 45 of file G4GlobalMagFieldMessenger.cc
References G4UIcommand::AvailableForStates(), fDirectory, fMagField, fSetValueCmd, fSetVerboseCmd, G4State_Idle, G4State_PreInit, SetField(), G4UIcommand::SetGuidance(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWith3VectorAndUnit::SetParameterName(), G4UIcommand::SetRange(), and G4UIcmdWith3VectorAndUnit::SetUnitCategory().
|
virtual |
Definition at line 74 of file G4GlobalMagFieldMessenger.cc.
View newest version in sPHENIX GitHub at line 74 of file G4GlobalMagFieldMessenger.cc
References fDirectory, fMagField, fSetValueCmd, and fSetVerboseCmd.
G4ThreeVector G4GlobalMagFieldMessenger::GetFieldValue | ( | ) | const |
Definition at line 141 of file G4GlobalMagFieldMessenger.cc.
View newest version in sPHENIX GitHub at line 141 of file G4GlobalMagFieldMessenger.cc
References fMagField, and G4UniformMagField::GetConstantFieldValue().
|
inline |
Definition at line 86 of file G4GlobalMagFieldMessenger.hh.
View newest version in sPHENIX GitHub at line 86 of file G4GlobalMagFieldMessenger.hh
References fVerboseLevel.
|
private |
Definition at line 84 of file G4GlobalMagFieldMessenger.cc.
View newest version in sPHENIX GitHub at line 84 of file G4GlobalMagFieldMessenger.cc
References G4FieldManager::CreateChordFinder(), fMagField, fVerboseLevel, G4BestUnit, G4cout, G4endl, G4TransportationManager::GetFieldManager(), G4TransportationManager::GetTransportationManager(), G4FieldManager::SetDetectorField(), and G4UniformMagField::SetFieldValue().
Referenced by G4GlobalMagFieldMessenger(), SetFieldValue(), and SetNewValue().
void G4GlobalMagFieldMessenger::SetFieldValue | ( | const G4ThreeVector & | value | ) |
Definition at line 134 of file G4GlobalMagFieldMessenger.cc.
View newest version in sPHENIX GitHub at line 134 of file G4GlobalMagFieldMessenger.cc
References SetField().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 119 of file G4GlobalMagFieldMessenger.cc.
View newest version in sPHENIX GitHub at line 119 of file G4GlobalMagFieldMessenger.cc
References fSetValueCmd, fSetVerboseCmd, G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4UIcmdWithAnInteger::GetNewIntValue(), SetField(), and SetVerboseLevel().
Definition at line 83 of file G4GlobalMagFieldMessenger.hh.
View newest version in sPHENIX GitHub at line 83 of file G4GlobalMagFieldMessenger.hh
References fVerboseLevel.
Referenced by B2aDetectorConstruction::ConstructSDandField(), B2bDetectorConstruction::ConstructSDandField(), B4DetectorConstruction::ConstructSDandField(), Par02DetectorConstruction::ConstructSDandField(), B4cDetectorConstruction::ConstructSDandField(), B4dDetectorConstruction::ConstructSDandField(), GammaRayTelDetectorConstruction::ConstructSDandField(), and SetNewValue().
|
private |
Definition at line 76 of file G4GlobalMagFieldMessenger.hh.
View newest version in sPHENIX GitHub at line 76 of file G4GlobalMagFieldMessenger.hh
Referenced by G4GlobalMagFieldMessenger(), and ~G4GlobalMagFieldMessenger().
|
private |
Definition at line 73 of file G4GlobalMagFieldMessenger.hh.
View newest version in sPHENIX GitHub at line 73 of file G4GlobalMagFieldMessenger.hh
Referenced by G4GlobalMagFieldMessenger(), GetFieldValue(), SetField(), and ~G4GlobalMagFieldMessenger().
|
private |
Definition at line 77 of file G4GlobalMagFieldMessenger.hh.
View newest version in sPHENIX GitHub at line 77 of file G4GlobalMagFieldMessenger.hh
Referenced by G4GlobalMagFieldMessenger(), SetNewValue(), and ~G4GlobalMagFieldMessenger().
|
private |
Definition at line 78 of file G4GlobalMagFieldMessenger.hh.
View newest version in sPHENIX GitHub at line 78 of file G4GlobalMagFieldMessenger.hh
Referenced by G4GlobalMagFieldMessenger(), SetNewValue(), and ~G4GlobalMagFieldMessenger().
|
private |
Definition at line 74 of file G4GlobalMagFieldMessenger.hh.
View newest version in sPHENIX GitHub at line 74 of file G4GlobalMagFieldMessenger.hh
Referenced by GetVerboseLevel(), SetField(), and SetVerboseLevel().