Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/PHField/PHField3DCartesian.h>
Public Member Functions | |
PHField3DCartesian (const std::string &fname, const float magfield_rescale=1.0, const float innerradius=0, const float outerradius=1.e10, const float size_z=1.e10) | |
~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 Types | |
typedef std::tuple< float, float, float > | trio |
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 |
std::map< std::tuple< float, float, float >, std::tuple < float, float, float > > | fieldmap |
std::set< float > | xvals |
std::set< float > | yvals |
std::set< float > | zvals |
Additional Inherited Members | |
Protected Attributes inherited from PHField | |
int | m_Verbosity |
Definition at line 12 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 12 of file PHField3DCartesian.h
|
private |
Definition at line 45 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 45 of file PHField3DCartesian.h
|
explicit |
Definition at line 26 of file PHField3DCartesian.cc.
View newest version in sPHENIX GitHub at line 26 of file PHField3DCartesian.cc
References bf, Acts::UnitConstants::cm, fieldmap, filename, i, j, k, PHWHERE, xmax, xmin, xstepsize, xvals, xyz, ymax, ymin, ystepsize, yvals, zmax, zmin, zstepsize, and zvals.
|
override |
Definition at line 118 of file PHField3DCartesian.cc.
View newest version in sPHENIX GitHub at line 118 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 128 of file PHField3DCartesian.cc.
View newest version in sPHENIX GitHub at line 128 of file PHField3DCartesian.cc
References bf, cache_hits, cache_misses, Acts::UnitConstants::cm, fieldmap, filename, i, it, j, k, std::tr1::make_tuple(), PHWHERE, PHField::Verbosity(), ambiguity_solver_full_chain::x, xkey_save, xmax, xmin, xstepsize, xvals, xyz, y, ykey_save, ymax, ymin, ystepsize, yvals, physmon_track_finding_ttbar::z, zkey_save, zmax, zmin, zstepsize, and zvals.
|
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(), and PHField3DCartesian().
|
mutableprivate |
Definition at line 42 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 42 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and ~PHField3DCartesian().
|
mutableprivate |
Definition at line 43 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 43 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and ~PHField3DCartesian().
|
private |
Definition at line 46 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 46 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 cpp.ast.Include::__str__(), cpp.ast.AstBuilder::_GetClass(), GetFieldValue(), cpp.ast.AstBuilder::HandleError(), 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().
|
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 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 32 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 32 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
private |
Definition at line 47 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 47 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(), 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().
|
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().
|
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 33 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 33 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
private |
Definition at line 48 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 48 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().
|
mutableprivate |
Definition at line 41 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 41 of file PHField3DCartesian.h
Referenced by GetFieldValue().
|
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().
|
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().
|
private |
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().
|
private |
Definition at line 49 of file PHField3DCartesian.h.
View newest version in sPHENIX GitHub at line 49 of file PHField3DCartesian.h
Referenced by GetFieldValue(), and PHField3DCartesian().