Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4FieldParametersMessenger Class Reference

Messenger class that defines commands for TG4DetConstruction. More...

#include <TG4FieldParametersMessenger.h>

Inheritance diagram for TG4FieldParametersMessenger:

Public Member Functions

 TG4FieldParametersMessenger (TG4FieldParameters *fieldParameters)
 
virtual ~TG4FieldParametersMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValues)
 

Private Member Functions

 TG4FieldParametersMessenger ()
 Not implemented.
 
 TG4FieldParametersMessenger (const TG4FieldParametersMessenger &right)
 Not implemented.
 
TG4FieldParametersMessengeroperator= (const TG4FieldParametersMessenger &right)
 Not implemented.
 

Private Attributes

TG4FieldParametersfFieldParameters
 associated class
 
G4UIdirectory * fDirectory
 command directory
 
G4UIcmdWithAString * fFieldTypeCmd
 command: fieldType
 
G4UIcmdWithAString * fEquationTypeCmd
 command: equationType
 
G4UIcmdWithAString * fStepperTypeCmd
 command: stepperType
 
G4UIcmdWithADoubleAndUnit * fSetStepMinimumCmd
 command: setStepMinimum
 
G4UIcmdWithADoubleAndUnit * fSetDeltaChordCmd
 command: setDeltaChord
 
G4UIcmdWithADoubleAndUnit * fSetDeltaOneStepCmd
 command: setDeltaOneStep
 
G4UIcmdWithADoubleAndUnit * fSetDeltaIntersectionCmd
 command: setDeltaIntersection
 
G4UIcmdWithADouble * fSetMinimumEpsilonStepCmd
 command: setMinimumEpsilon
 
G4UIcmdWithADouble * fSetMaximumEpsilonStepCmd
 command: setMaximumEpsilon
 
G4UIcmdWithADoubleAndUnit * fSetConstDistanceCmd
 command: setConstDistance
 
G4UIcmdWithABool * fSetIsMonopoleCmd
 command: setIsMonopole
 
G4UIcmdWithoutParameter * fPrintParametersCmd
 command: printParameters
 

Detailed Description

Messenger class that defines commands for TG4DetConstruction.

Implements commands:

  • /mcMagField/fieldType fieldType
    fieldType = Magnetic | ElectroMagnetic | Gravity
  • /mcMagField/equationType eqType
    eqType = MagUsualEqRhs | MagSpinEqRhs | EqMagElectric | EMFieldWithSpin | EqEMFieldWithEDM
  • /mcMagField/stepperType stepperType
    stepperType = CashKarpRKF45 | ClassicalRK4 | ExplicitEuler | ImplicitEuler | SimpleHeum | SimpleRunge | ConstRK4 | ExactHelixStepper | HelixExplicitEuler | HelixHeum | HelixImplicitEuler | HelixMixedStepper | HelixSimpleRunge | NystromRK4 | RKG3Stepper
  • /mcMagField/setStepMinimum value
  • /mcMagField/setDeltaChord value
  • /mcMagField/setDeltaOneStep value
  • /mcMagField/setDeltaIntersection value
  • /mcMagField/setMinimumEpsilonStep value
  • /mcMagField/setMaximumEpsilonStep value
  • /mcMagField/setConstDistance value
  • /mcMagField/setIsMonopole true|false
  • /mcMagField/printParameters
Author
I. Hrivnacova; IPN, Orsay

Definition at line 60 of file TG4FieldParametersMessenger.h.

Constructor & Destructor Documentation

◆ TG4FieldParametersMessenger() [1/3]

TG4FieldParametersMessenger::TG4FieldParametersMessenger ( TG4FieldParameters * fieldParameters)

Standard constructor

Definition at line 26 of file TG4FieldParametersMessenger.cxx.

◆ ~TG4FieldParametersMessenger()

TG4FieldParametersMessenger::~TG4FieldParametersMessenger ( )
virtual

Destructor

Definition at line 194 of file TG4FieldParametersMessenger.cxx.

◆ TG4FieldParametersMessenger() [2/3]

TG4FieldParametersMessenger::TG4FieldParametersMessenger ( )
private

Not implemented.

◆ TG4FieldParametersMessenger() [3/3]

TG4FieldParametersMessenger::TG4FieldParametersMessenger ( const TG4FieldParametersMessenger & right)
private

Not implemented.

Member Function Documentation

◆ SetNewValue()

void TG4FieldParametersMessenger::SetNewValue ( G4UIcommand * command,
G4String newValues )
virtual

Apply command to the associated object.

Definition at line 217 of file TG4FieldParametersMessenger.cxx.

◆ operator=()

TG4FieldParametersMessenger & TG4FieldParametersMessenger::operator= ( const TG4FieldParametersMessenger & right)
private

Not implemented.

Member Data Documentation

◆ fFieldParameters

TG4FieldParameters* TG4FieldParametersMessenger::fFieldParameters
private

associated class

Definition at line 79 of file TG4FieldParametersMessenger.h.

Referenced by SetNewValue().

◆ fDirectory

G4UIdirectory* TG4FieldParametersMessenger::fDirectory
private

command directory

Definition at line 80 of file TG4FieldParametersMessenger.h.

Referenced by TG4FieldParametersMessenger(), and ~TG4FieldParametersMessenger().

◆ fFieldTypeCmd

G4UIcmdWithAString* TG4FieldParametersMessenger::fFieldTypeCmd
private

command: fieldType

Definition at line 86 of file TG4FieldParametersMessenger.h.

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

◆ fEquationTypeCmd

G4UIcmdWithAString* TG4FieldParametersMessenger::fEquationTypeCmd
private

command: equationType

Definition at line 89 of file TG4FieldParametersMessenger.h.

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

◆ fStepperTypeCmd

G4UIcmdWithAString* TG4FieldParametersMessenger::fStepperTypeCmd
private

command: stepperType

Definition at line 92 of file TG4FieldParametersMessenger.h.

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

◆ fSetStepMinimumCmd

G4UIcmdWithADoubleAndUnit* TG4FieldParametersMessenger::fSetStepMinimumCmd
private

command: setStepMinimum

Definition at line 95 of file TG4FieldParametersMessenger.h.

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

◆ fSetDeltaChordCmd

G4UIcmdWithADoubleAndUnit* TG4FieldParametersMessenger::fSetDeltaChordCmd
private

command: setDeltaChord

Definition at line 98 of file TG4FieldParametersMessenger.h.

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

◆ fSetDeltaOneStepCmd

G4UIcmdWithADoubleAndUnit* TG4FieldParametersMessenger::fSetDeltaOneStepCmd
private

command: setDeltaOneStep

Definition at line 101 of file TG4FieldParametersMessenger.h.

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

◆ fSetDeltaIntersectionCmd

G4UIcmdWithADoubleAndUnit* TG4FieldParametersMessenger::fSetDeltaIntersectionCmd
private

command: setDeltaIntersection

Definition at line 104 of file TG4FieldParametersMessenger.h.

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

◆ fSetMinimumEpsilonStepCmd

G4UIcmdWithADouble* TG4FieldParametersMessenger::fSetMinimumEpsilonStepCmd
private

command: setMinimumEpsilon

Definition at line 107 of file TG4FieldParametersMessenger.h.

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

◆ fSetMaximumEpsilonStepCmd

G4UIcmdWithADouble* TG4FieldParametersMessenger::fSetMaximumEpsilonStepCmd
private

command: setMaximumEpsilon

Definition at line 110 of file TG4FieldParametersMessenger.h.

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

◆ fSetConstDistanceCmd

G4UIcmdWithADoubleAndUnit* TG4FieldParametersMessenger::fSetConstDistanceCmd
private

command: setConstDistance

Definition at line 113 of file TG4FieldParametersMessenger.h.

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

◆ fSetIsMonopoleCmd

G4UIcmdWithABool* TG4FieldParametersMessenger::fSetIsMonopoleCmd
private

command: setIsMonopole

Definition at line 116 of file TG4FieldParametersMessenger.h.

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

◆ fPrintParametersCmd

G4UIcmdWithoutParameter* TG4FieldParametersMessenger::fPrintParametersCmd
private

command: printParameters

Definition at line 119 of file TG4FieldParametersMessenger.h.

Referenced by SetNewValue(), and TG4FieldParametersMessenger().


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