ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
PHG4MagneticField interfaces with Geant4. More...
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4MagneticField.h>
Public Member Functions | |
PHG4MagneticField (const PHField *field) | |
~PHG4MagneticField () override | |
const PHField * | get_field () const |
void | set_field (const PHField *field) |
void | GetFieldValue (const double Point[4], double *Bfield) const override |
Public Member Functions inherited from G4MagneticField | |
G4MagneticField () | |
virtual | ~G4MagneticField () |
G4MagneticField (const G4MagneticField &r) | |
G4MagneticField & | operator= (const G4MagneticField &p) |
G4bool | DoesFieldChangeEnergy () const |
Public Member Functions inherited from G4Field | |
G4Field (G4bool gravityOn=false) | |
G4Field (const G4Field &) | |
virtual | ~G4Field () |
G4Field & | operator= (const G4Field &p) |
G4bool | IsGravityActive () const |
void | SetGravityActive (G4bool OnOffFlag) |
virtual G4Field * | Clone () const |
Protected Attributes | |
const PHField * | field_ |
Additional Inherited Members | |
Static Public Attributes inherited from G4Field | |
static constexpr G4int | MAX_NUMBER_OF_COMPONENTS = 24 |
PHG4MagneticField interfaces with Geant4.
Definition at line 23 of file PHG4MagneticField.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4MagneticField.h
PHG4MagneticField::PHG4MagneticField | ( | const PHField * | field | ) |
Definition at line 17 of file PHG4MagneticField.cc.
View newest version in sPHENIX GitHub at line 17 of file PHG4MagneticField.cc
References field_.
|
override |
Definition at line 23 of file PHG4MagneticField.cc.
View newest version in sPHENIX GitHub at line 23 of file PHG4MagneticField.cc
|
inline |
Definition at line 29 of file PHG4MagneticField.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4MagneticField.h
References field_.
|
overridevirtual |
Implements G4MagneticField.
Definition at line 27 of file PHG4MagneticField.cc.
View newest version in sPHENIX GitHub at line 27 of file PHG4MagneticField.cc
References field_, and PHField::GetFieldValue().
Definition at line 34 of file PHG4MagneticField.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4MagneticField.h
References field_.
|
protected |
Definition at line 42 of file PHG4MagneticField.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4MagneticField.h
Referenced by get_field(), GetFieldValue(), PHG4MagneticField(), and set_field().