Geant4
10.02.p01
|
A class for control of the Electric Field of the detector. More...
#include <F02ElectricFieldSetup.hh>
Public Member Functions | |
F02ElectricFieldSetup (G4ThreeVector) | |
F02ElectricFieldSetup () | |
virtual | ~F02ElectricFieldSetup () |
void | SetStepperType (G4int i) |
void | SetStepper () |
void | SetMinStep (G4double s) |
void | UpdateField () |
void | SetFieldValue (G4ThreeVector fieldVector) |
void | SetFieldValue (G4double fieldValue) |
G4ThreeVector | GetConstantFieldValue () |
Protected Member Functions | |
G4FieldManager * | GetGlobalFieldManager () |
A class for control of the Electric Field of the detector.
The field for this case is uniform. It is simply a 'setup' class that creates the field and necessary other parts
Definition at line 57 of file F02ElectricFieldSetup.hh.
F02ElectricFieldSetup::F02ElectricFieldSetup | ( | G4ThreeVector | fieldVector | ) |
Definition at line 93 of file F02ElectricFieldSetup.cc.
References fEMfield, fEquation, fFieldManager, fFieldMessenger, GetGlobalFieldManager(), and UpdateField().
F02ElectricFieldSetup::F02ElectricFieldSetup | ( | ) |
Definition at line 71 of file F02ElectricFieldSetup.cc.
References cm, fEMfield, fEquation, fFieldManager, fFieldMessenger, GetGlobalFieldManager(), kilovolt, and UpdateField().
|
virtual |
Definition at line 115 of file F02ElectricFieldSetup.cc.
References fChordFinder, fEMfield, fEquation, fFieldMessenger, and fStepper.
G4ThreeVector F02ElectricFieldSetup::GetConstantFieldValue | ( | ) |
|
protected |
Definition at line 243 of file F02ElectricFieldSetup.cc.
References G4TransportationManager::GetFieldManager(), and G4TransportationManager::GetTransportationManager().
Referenced by F02ElectricFieldSetup(), and SetFieldValue().
void F02ElectricFieldSetup::SetFieldValue | ( | G4ThreeVector | fieldVector | ) |
Definition at line 218 of file F02ElectricFieldSetup.cc.
References fEMfield, fEquation, GetGlobalFieldManager(), G4FieldManager::SetDetectorField(), and G4EquationOfMotion::SetFieldObj().
Referenced by SetFieldValue(), and F02FieldMessenger::SetNewValue().
void F02ElectricFieldSetup::SetFieldValue | ( | G4double | fieldValue | ) |
Definition at line 207 of file F02ElectricFieldSetup.cc.
References SetFieldValue().
|
inline |
Definition at line 69 of file F02ElectricFieldSetup.hh.
Referenced by F02FieldMessenger::SetNewValue().
void F02ElectricFieldSetup::SetStepper | ( | ) |
Definition at line 150 of file F02ElectricFieldSetup.cc.
References fEquation, fStepper, fStepperType, G4cout, and G4endl.
Referenced by UpdateField().
|
inline |
Definition at line 65 of file F02ElectricFieldSetup.hh.
References fStepperType.
Referenced by F02FieldMessenger::SetNewValue().
void F02ElectricFieldSetup::UpdateField | ( | ) |
Definition at line 126 of file F02ElectricFieldSetup.cc.
References fChordFinder, fEMfield, fFieldManager, fIntgrDriver, fMinStep, fStepper, G4cout, G4endl, G4MagIntegratorStepper::GetNumberOfVariables(), mm, G4FieldManager::SetChordFinder(), G4FieldManager::SetDetectorField(), and SetStepper().
Referenced by F02ElectricFieldSetup(), and F02FieldMessenger::SetNewValue().
|
private |
Definition at line 87 of file F02ElectricFieldSetup.hh.
Referenced by UpdateField(), and ~F02ElectricFieldSetup().
|
private |
Definition at line 93 of file F02ElectricFieldSetup.hh.
|
private |
Definition at line 91 of file F02ElectricFieldSetup.hh.
Referenced by F02ElectricFieldSetup(), SetFieldValue(), UpdateField(), and ~F02ElectricFieldSetup().
|
private |
Definition at line 89 of file F02ElectricFieldSetup.hh.
Referenced by F02ElectricFieldSetup(), SetFieldValue(), SetStepper(), and ~F02ElectricFieldSetup().
|
private |
Definition at line 85 of file F02ElectricFieldSetup.hh.
Referenced by F02ElectricFieldSetup(), and UpdateField().
|
private |
Definition at line 102 of file F02ElectricFieldSetup.hh.
Referenced by F02ElectricFieldSetup(), and ~F02ElectricFieldSetup().
|
private |
Definition at line 96 of file F02ElectricFieldSetup.hh.
Referenced by UpdateField().
|
private |
Definition at line 100 of file F02ElectricFieldSetup.hh.
Referenced by SetMinStep(), and UpdateField().
|
private |
Definition at line 95 of file F02ElectricFieldSetup.hh.
Referenced by SetStepper(), UpdateField(), and ~F02ElectricFieldSetup().
|
private |
Definition at line 98 of file F02ElectricFieldSetup.hh.
Referenced by SetStepper(), and SetStepperType().