ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/PHField/PHField3DCartesian.h>
Public Member Functions | |
PHField3DCartesian (const std::string &fname, const float magfield_rescale=1.0) | |
~PHField3DCartesian () override | |
void | GetFieldValue (const double Point[4], double *Bfield) const override |
Public Member Functions inherited from PHField | |
PHField (const int verb=0) | |
constructor | |
virtual | ~PHField () |
void | Verbosity (const int i) |
int | Verbosity () const |
Private Attributes | |
std::string | filename |
double | xmin = 1000000 |
double | xmax = -1000000 |
double | ymin = 1000000 |
double | ymax = -1000000 |
double | zmin = 1000000 |
double | zmax = -1000000 |
double | xstepsize = NAN |
double | ystepsize = NAN |
double | zstepsize = NAN |
double | xyz [2][2][2][3] |
double | bf [2][2][2][3] |
double | xkey_save = NAN |
double | ykey_save = NAN |
double | zkey_save = NAN |
int | cache_hits = 0 |
int | cache_misses = 0 |
Additional Inherited Members | |
Protected Attributes inherited from PHField | |
int | m_Verbosity |
Definition at line 9 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 9 of file PHField3DCartesian.h
PHField3DCartesian::PHField3DCartesian | ( | const std::string & | fname, |
const float | magfield_rescale = 1.0 |
||
) |
Definition at line 28 of file PHField3DCartesian.cc.
View newest version in sPHENIX GitHub at line 28 of file PHField3DCartesian.cc
References bf, cm, g4zmq::exit(), filename, k, tesla, xmax, xmin, xstepsize, xyz, ymax, ymin, ystepsize, zmax, zmin, and zstepsize.
|
override |
Definition at line 108 of file PHField3DCartesian.cc.
View newest version in sPHENIX GitHub at line 108 of file PHField3DCartesian.cc
References cache_hits, cache_misses, and PHField::Verbosity().
|
overridevirtual |
access field value Follow the convention of G4ElectroMagneticField
[in] | Point | space time coordinate. x, y, z, t in Geant4/CLHEP units |
[out] | Bfield | field value. In the case of magnetic field, the order is Bx, By, Bz in in Geant4/CLHEP units |
Implements PHField.
Definition at line 118 of file PHField3DCartesian.cc.
View newest version in sPHENIX GitHub at line 118 of file PHField3DCartesian.cc
References bf, cache_hits, cache_misses, cm, isfinite, it, k, tesla, PHField::Verbosity(), x, xkey_save, xmax, xmin, xstepsize, xyz, y, ykey_save, ymax, ymin, ystepsize, z, zkey_save, zmax, zmin, and zstepsize.
|
mutableprivate |
Definition at line 35 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 35 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
mutableprivate |
Definition at line 39 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 39 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and ~PHField3DCartesian().
|
mutableprivate |
Definition at line 40 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 40 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and ~PHField3DCartesian().
|
private |
Definition at line 22 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 22 of file PHField3DCartesian.h
Referenced by PHField3DCartesian().
|
mutableprivate |
Definition at line 36 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 36 of file PHField3DCartesian.h
Referenced by GetFieldValue().
|
private |
Definition at line 24 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 24 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
private |
Definition at line 23 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 23 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
private |
Definition at line 29 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 29 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
mutableprivate |
Definition at line 34 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 34 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
mutableprivate |
Definition at line 37 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 37 of file PHField3DCartesian.h
Referenced by GetFieldValue().
|
private |
Definition at line 26 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 26 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
private |
Definition at line 25 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 25 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
private |
Definition at line 30 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 30 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
mutableprivate |
Definition at line 38 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 38 of file PHField3DCartesian.h
Referenced by GetFieldValue().
|
private |
Definition at line 28 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 28 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
private |
Definition at line 27 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 27 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
private |
Definition at line 31 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 31 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().