Geant4-11
|
#include <G4QuadrupoleMagField.hh>
Public Member Functions | |
G4Field * | Clone () const |
G4bool | DoesFieldChangeEnergy () const |
G4QuadrupoleMagField (G4double pGradient) | |
G4QuadrupoleMagField (G4double pGradient, G4ThreeVector pOrigin, G4RotationMatrix *pMatrix) | |
virtual void | GetFieldValue (const G4double Point[4], G4double *Bfield) const =0 |
void | GetFieldValue (const G4double yTrack[], G4double B[]) const |
G4bool | IsGravityActive () const |
void | SetGravityActive (G4bool OnOffFlag) |
~G4QuadrupoleMagField () | |
Static Public Attributes | |
static constexpr G4int | MAX_NUMBER_OF_COMPONENTS = 24 |
Private Attributes | |
G4double | fGradient = 0.0 |
G4bool | fGravityActive = false |
G4ThreeVector | fOrigin = G4ThreeVector(0.0, 0.0, 0.0) |
G4RotationMatrix * | fpMatrix = nullptr |
Definition at line 48 of file G4QuadrupoleMagField.hh.
G4QuadrupoleMagField::G4QuadrupoleMagField | ( | G4double | pGradient | ) |
Definition at line 40 of file G4QuadrupoleMagField.cc.
References fGradient, fpMatrix, and IdentityMatrix.
Referenced by Clone().
G4QuadrupoleMagField::G4QuadrupoleMagField | ( | G4double | pGradient, |
G4ThreeVector | pOrigin, | ||
G4RotationMatrix * | pMatrix | ||
) |
Definition at line 48 of file G4QuadrupoleMagField.cc.
G4QuadrupoleMagField::~G4QuadrupoleMagField | ( | ) |
Definition at line 66 of file G4QuadrupoleMagField.cc.
|
virtual |
Reimplemented from G4Field.
Definition at line 59 of file G4QuadrupoleMagField.cc.
References fGradient, fOrigin, fpMatrix, and G4QuadrupoleMagField().
|
inlinevirtualinherited |
Implements G4Field.
Definition at line 52 of file G4MagneticField.hh.
Referenced by export_G4MagneticField().
|
pure virtualinherited |
Implements G4Field.
Implemented in PyG4MagneticField, pyG4MagneticField::CB_PyG4MagneticField, G4CachedMagneticField, G4TCachedMagneticField< T_Field >, G4TUniformMagneticField, and G4UniformMagField.
Referenced by G4CachedMagneticField::GetFieldValue().
Definition at line 72 of file G4QuadrupoleMagField.cc.
References B(), fGradient, fOrigin, fpMatrix, CLHEP::HepRotation::inverse(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
inlineinherited |
Definition at line 101 of file G4Field.hh.
References G4Field::fGravityActive.
Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), and G4RepleteEofM::G4RepleteEofM().
|
inlineinherited |
Definition at line 106 of file G4Field.hh.
References G4Field::fGravityActive.
|
private |
Definition at line 64 of file G4QuadrupoleMagField.hh.
Referenced by Clone(), G4QuadrupoleMagField(), and GetFieldValue().
|
privateinherited |
Definition at line 96 of file G4Field.hh.
Referenced by G4Field::IsGravityActive(), G4Field::operator=(), and G4Field::SetGravityActive().
|
private |
Definition at line 65 of file G4QuadrupoleMagField.hh.
Referenced by Clone(), G4QuadrupoleMagField(), and GetFieldValue().
|
private |
Definition at line 66 of file G4QuadrupoleMagField.hh.
Referenced by Clone(), G4QuadrupoleMagField(), and GetFieldValue().
|
staticconstexprinherited |
Definition at line 92 of file G4Field.hh.
Referenced by G4BFieldIntegrationDriver::CurvatureRadius().