ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/field/field03/include/F03FieldSetup.hh>
Public Member Functions | |
F03FieldSetup () | |
virtual | ~F03FieldSetup () |
void | SetStepperType (G4int i) |
void | CreateSteppers () |
void | SetMinStep (G4double s) |
void | SetFieldValue (G4ThreeVector fieldVector) |
void | SetFieldZValue (G4double fieldValue) |
void | SetLocalFieldValue (G4ThreeVector fieldVector) |
G4ThreeVector | GetGlobalFieldValue () const |
G4ThreeVector | GetLocalFieldValue () const |
void | UpdateField () |
G4FieldManager * | GetLocalFieldManager () |
Protected Member Functions | |
G4FieldManager * | GetGlobalFieldManager () |
G4ThreeVector | GetConstantFieldValue (G4MagneticField *magneticField) const |
A class for setting up the Magnetic Field
It also creates the necessary classes to control accuracy of propagation. In this example
Definition at line 55 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 55 of file F03FieldSetup.hh
F03FieldSetup::F03FieldSetup | ( | ) |
Definition at line 65 of file F03FieldSetup.cc.
View newest version in sPHENIX GitHub at line 65 of file F03FieldSetup.cc
References fEquation, fFieldManager, fFieldMessenger, fLocalEquation, fLocalFieldManager, fLocalMagneticField, fMagneticField, fMinStep, fStepperType, GetGlobalFieldManager(), mm, tesla, and UpdateField().
|
virtual |
Definition at line 101 of file F03FieldSetup.cc.
View newest version in sPHENIX GitHub at line 101 of file F03FieldSetup.cc
References fChordFinder, fFieldMessenger, fMagneticField, and fStepper.
void F03FieldSetup::CreateSteppers | ( | ) |
Definition at line 146 of file F03FieldSetup.cc.
View newest version in sPHENIX GitHub at line 146 of file F03FieldSetup.cc
References fEquation, fLocalEquation, fLocalStepper, fStepper, fStepperType, G4cout, and G4endl.
Referenced by UpdateField().
|
protected |
Definition at line 283 of file F03FieldSetup.cc.
View newest version in sPHENIX GitHub at line 283 of file F03FieldSetup.cc
References G4MagneticField::GetFieldValue().
Referenced by GetGlobalFieldValue(), and GetLocalFieldValue().
|
protected |
Definition at line 275 of file F03FieldSetup.cc.
View newest version in sPHENIX GitHub at line 275 of file F03FieldSetup.cc
References G4TransportationManager::GetFieldManager(), and G4TransportationManager::GetTransportationManager().
Referenced by F03FieldSetup(), and SetFieldValue().
|
inline |
Definition at line 70 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 70 of file F03FieldSetup.hh
References fMagneticField, and GetConstantFieldValue().
Referenced by F03FieldMessenger::SetNewValue().
|
inline |
Definition at line 75 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 75 of file F03FieldSetup.hh
References fLocalFieldManager.
Referenced by F03DetectorConstruction::ConstructSDandField(), and SetLocalFieldValue().
|
inline |
Definition at line 71 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 71 of file F03FieldSetup.hh
References fLocalMagneticField, and GetConstantFieldValue().
Referenced by F03FieldMessenger::SetNewValue().
void F03FieldSetup::SetFieldValue | ( | G4ThreeVector | fieldVector | ) |
Definition at line 220 of file F03FieldSetup.cc.
View newest version in sPHENIX GitHub at line 220 of file F03FieldSetup.cc
References fEquation, fMagneticField, GetGlobalFieldManager(), G4FieldManager::SetDetectorField(), and G4EquationOfMotion::SetFieldObj().
Referenced by SetFieldZValue(), and F03FieldMessenger::SetNewValue().
Definition at line 212 of file F03FieldSetup.cc.
View newest version in sPHENIX GitHub at line 212 of file F03FieldSetup.cc
References SetFieldValue().
Referenced by F03FieldMessenger::SetNewValue().
void F03FieldSetup::SetLocalFieldValue | ( | G4ThreeVector | fieldVector | ) |
Definition at line 248 of file F03FieldSetup.cc.
View newest version in sPHENIX GitHub at line 248 of file F03FieldSetup.cc
References fEquation, fLocalMagneticField, GetLocalFieldManager(), G4FieldManager::SetDetectorField(), and G4EquationOfMotion::SetFieldObj().
Referenced by F03FieldMessenger::SetNewValue().
Definition at line 65 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 65 of file F03FieldSetup.hh
References fMinStep.
Referenced by F03FieldMessenger::SetNewValue().
Definition at line 61 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 61 of file F03FieldSetup.hh
References fStepperType.
Referenced by F03FieldMessenger::SetNewValue().
void F03FieldSetup::UpdateField | ( | ) |
Definition at line 111 of file F03FieldSetup.cc.
View newest version in sPHENIX GitHub at line 111 of file F03FieldSetup.cc
References CreateSteppers(), fChordFinder, fFieldManager, fLocalChordFinder, fLocalFieldManager, fLocalMagneticField, fLocalStepper, fMagneticField, fMinStep, fStepper, fStepperType, G4cout, G4endl, mm, G4FieldManager::SetChordFinder(), and G4FieldManager::SetDetectorField().
Referenced by F03FieldSetup(), and F03FieldMessenger::SetNewValue().
|
protected |
Definition at line 85 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 85 of file F03FieldSetup.hh
Referenced by UpdateField(), and ~F03FieldSetup().
|
protected |
Definition at line 87 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 87 of file F03FieldSetup.hh
Referenced by CreateSteppers(), F03FieldSetup(), SetFieldValue(), and SetLocalFieldValue().
|
protected |
Definition at line 83 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 83 of file F03FieldSetup.hh
Referenced by F03FieldSetup(), and UpdateField().
|
protected |
Definition at line 98 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 98 of file F03FieldSetup.hh
Referenced by F03FieldSetup(), and ~F03FieldSetup().
|
protected |
Definition at line 86 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 86 of file F03FieldSetup.hh
Referenced by UpdateField().
|
protected |
Definition at line 88 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 88 of file F03FieldSetup.hh
Referenced by CreateSteppers(), and F03FieldSetup().
|
protected |
Definition at line 84 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 84 of file F03FieldSetup.hh
Referenced by F03FieldSetup(), GetLocalFieldManager(), and UpdateField().
|
protected |
Definition at line 90 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 90 of file F03FieldSetup.hh
Referenced by F03FieldSetup(), GetLocalFieldValue(), SetLocalFieldValue(), and UpdateField().
|
protected |
Definition at line 93 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 93 of file F03FieldSetup.hh
Referenced by CreateSteppers(), and UpdateField().
|
protected |
Definition at line 89 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 89 of file F03FieldSetup.hh
Referenced by F03FieldSetup(), GetGlobalFieldValue(), SetFieldValue(), UpdateField(), and ~F03FieldSetup().
|
protected |
Definition at line 96 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 96 of file F03FieldSetup.hh
Referenced by F03FieldSetup(), SetMinStep(), and UpdateField().
|
protected |
Definition at line 92 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 92 of file F03FieldSetup.hh
Referenced by CreateSteppers(), UpdateField(), and ~F03FieldSetup().
|
protected |
Definition at line 94 of file F03FieldSetup.hh.
View newest version in sPHENIX GitHub at line 94 of file F03FieldSetup.hh
Referenced by CreateSteppers(), F03FieldSetup(), SetStepperType(), and UpdateField().