Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHField3DCartesian Class Reference

#include <coresoftware/blob/master/offline/packages/PHField/PHField3DCartesian.h>

+ Inheritance diagram for PHField3DCartesian:
+ Collaboration diagram for PHField3DCartesian:

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
 

Detailed Description

Definition at line 12 of file PHField3DCartesian.h.

View newest version in sPHENIX GitHub at line 12 of file PHField3DCartesian.h

Member Typedef Documentation

typedef std::tuple<float, float, float> PHField3DCartesian::trio
private

Definition at line 45 of file PHField3DCartesian.h.

View newest version in sPHENIX GitHub at line 45 of file PHField3DCartesian.h

Constructor & Destructor Documentation

PHField3DCartesian::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 
)
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.

PHField3DCartesian::~PHField3DCartesian ( )
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().

+ Here is the call graph for this function:

Member Function Documentation

void PHField3DCartesian::GetFieldValue ( const double  Point[4],
double Bfield 
) const
overridevirtual

access field value Follow the convention of G4ElectroMagneticField

Parameters
[in]Pointspace time coordinate. x, y, z, t in Geant4/CLHEP units
[out]Bfieldfield 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.

+ Here is the call graph for this function:

Member Data Documentation

double PHField3DCartesian::bf[2][2][2][3] {}
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().

int PHField3DCartesian::cache_hits = 0
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().

int PHField3DCartesian::cache_misses = 0
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().

std::map<std::tuple<float, float, float>, std::tuple<float, float, float> > PHField3DCartesian::fieldmap
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().

std::string PHField3DCartesian::filename
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().

double PHField3DCartesian::xkey_save = NAN
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().

double PHField3DCartesian::xmax = -1000000
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().

double PHField3DCartesian::xmin = 1000000
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().

double PHField3DCartesian::xstepsize = NAN
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().

std::set<float> PHField3DCartesian::xvals
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().

double PHField3DCartesian::xyz[2][2][2][3] {}
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().

double PHField3DCartesian::ykey_save = NAN
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().

double PHField3DCartesian::ymax = -1000000
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().

double PHField3DCartesian::ymin = 1000000
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().

double PHField3DCartesian::ystepsize = NAN
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().

std::set<float> PHField3DCartesian::yvals
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().

double PHField3DCartesian::zkey_save = NAN
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().

double PHField3DCartesian::zmax = -1000000
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().

double PHField3DCartesian::zmin = 1000000
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().

double PHField3DCartesian::zstepsize = NAN
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().

std::set<float> PHField3DCartesian::zvals
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().


The documentation for this class was generated from the following files: