Analysis Software
Documentation for sPHENIX simulation software
|
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 |
Private Attributes | |
const PHField * | field_ |
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
|
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_.
Definition at line 28 of file PHG4MagneticField.cc.
View newest version in sPHENIX GitHub at line 28 of file PHG4MagneticField.cc
References assert, field_, and PHField::GetFieldValue().
|
inline |
Definition at line 34 of file PHG4MagneticField.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4MagneticField.h
References ckf::field, and field_.
|
private |
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().