ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Magnetic field for the persistency example. More...
#include <geant4/tree/geant4-10.6-release/examples/extended/persistency/P01/include/ExP01MagneticField.hh>
Protected Member Functions | |
G4FieldManager * | GetGlobalFieldManager () |
Additional Inherited Members | |
Static Public Attributes inherited from G4Field | |
static constexpr G4int | MAX_NUMBER_OF_COMPONENTS = 24 |
Magnetic field for the persistency example.
Definition at line 49 of file ExP01MagneticField.hh.
View newest version in sPHENIX GitHub at line 49 of file ExP01MagneticField.hh
ExP01MagneticField::ExP01MagneticField | ( | G4ThreeVector | fieldVector | ) |
Definition at line 50 of file ExP01MagneticField.cc.
View newest version in sPHENIX GitHub at line 50 of file ExP01MagneticField.cc
References G4FieldManager::CreateChordFinder(), GetGlobalFieldManager(), and G4FieldManager::SetDetectorField().
ExP01MagneticField::ExP01MagneticField | ( | ) |
Definition at line 41 of file ExP01MagneticField.cc.
View newest version in sPHENIX GitHub at line 41 of file ExP01MagneticField.cc
References G4FieldManager::CreateChordFinder(), GetGlobalFieldManager(), and G4FieldManager::SetDetectorField().
ExP01MagneticField::~ExP01MagneticField | ( | ) |
Definition at line 89 of file ExP01MagneticField.cc.
View newest version in sPHENIX GitHub at line 89 of file ExP01MagneticField.cc
G4ThreeVector ExP01MagneticField::GetConstantFieldValue | ( | ) |
|
protected |
Definition at line 98 of file ExP01MagneticField.cc.
View newest version in sPHENIX GitHub at line 98 of file ExP01MagneticField.cc
References G4TransportationManager::GetFieldManager(), and G4TransportationManager::GetTransportationManager().
Referenced by ExP01MagneticField(), and SetFieldValue().
Definition at line 61 of file ExP01MagneticField.cc.
View newest version in sPHENIX GitHub at line 61 of file ExP01MagneticField.cc
References G4UniformMagField::SetFieldValue().
Referenced by ExP01DetectorConstruction::SetMagField().
void ExP01MagneticField::SetFieldValue | ( | G4ThreeVector | fieldVector | ) |
Definition at line 70 of file ExP01MagneticField.cc.
View newest version in sPHENIX GitHub at line 70 of file ExP01MagneticField.cc
References GetGlobalFieldManager(), G4FieldManager::SetDetectorField(), and G4UniformMagField::SetFieldValue().