ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PurgMagTabulatedField3D Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/purging_magnet/include/PurgMagTabulatedField3D.hh>

+ Inheritance diagram for PurgMagTabulatedField3D:
+ Collaboration diagram for PurgMagTabulatedField3D:

Public Member Functions

 PurgMagTabulatedField3D (const char *filename, double zOffset)
 
void GetFieldValue (const double Point[4], double *Bfield) const
 
- Public Member Functions inherited from G4MagneticField
 G4MagneticField ()
 
virtual ~G4MagneticField ()
 
 G4MagneticField (const G4MagneticField &r)
 
G4MagneticFieldoperator= (const G4MagneticField &p)
 
G4bool DoesFieldChangeEnergy () const
 
- Public Member Functions inherited from G4Field
 G4Field (G4bool gravityOn=false)
 
 G4Field (const G4Field &)
 
virtual ~G4Field ()
 
G4Fieldoperator= (const G4Field &p)
 
G4bool IsGravityActive () const
 
void SetGravityActive (G4bool OnOffFlag)
 
virtual G4FieldClone () const
 

Private Attributes

std::vector< std::vector
< std::vector< double > > > 
xField
 
std::vector< std::vector
< std::vector< double > > > 
yField
 
std::vector< std::vector
< std::vector< double > > > 
zField
 
int nx
 
int ny
 
int nz
 
double minx
 
double maxx
 
double miny
 
double maxy
 
double minz
 
double maxz
 
double dx
 
double dy
 
double dz
 
double fZoffset
 
bool invertX
 
bool invertY
 
bool invertZ
 

Additional Inherited Members

- Static Public Attributes inherited from G4Field
static constexpr G4int MAX_NUMBER_OF_COMPONENTS = 24
 

Detailed Description

Definition at line 45 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 45 of file PurgMagTabulatedField3D.hh

Constructor & Destructor Documentation

PurgMagTabulatedField3D::PurgMagTabulatedField3D ( const char *  filename,
double  zOffset 
)

Definition at line 47 of file PurgMagTabulatedField3D.cc.

View newest version in sPHENIX GitHub at line 47 of file PurgMagTabulatedField3D.cc

References cm, dx, dy, dz, FatalException, file, G4cout, G4endl, G4Exception(), invertX, invertY, invertZ, maxx, maxy, maxz, meter, minx, miny, minz, nx, ny, nz, boost::swap(), tesla, G4TemplateAutoLock< _Mutex_t >::unlock(), xField, yField, and zField.

+ Here is the call graph for this function:

Member Function Documentation

void PurgMagTabulatedField3D::GetFieldValue ( const double  Point[4],
double *  Bfield 
) const
virtual

Implements G4MagneticField.

Definition at line 163 of file PurgMagTabulatedField3D.cc.

View newest version in sPHENIX GitHub at line 163 of file PurgMagTabulatedField3D.cc

References dx, dy, dz, fZoffset, G4cout, G4endl, invertX, invertY, invertZ, maxx, maxy, maxz, minx, miny, minz, nx, ny, nz, x, xField, y, yField, z, and zField.

Member Data Documentation

double PurgMagTabulatedField3D::dx
private

Definition at line 60 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 60 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::dy
private

Definition at line 60 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 60 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::dz
private

Definition at line 60 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 60 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::fZoffset
private

Definition at line 61 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 61 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue().

bool PurgMagTabulatedField3D::invertX
private

Definition at line 62 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 62 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

bool PurgMagTabulatedField3D::invertY
private

Definition at line 62 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 62 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

bool PurgMagTabulatedField3D::invertZ
private

Definition at line 62 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 62 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::maxx
private

Definition at line 58 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 58 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::maxy
private

Definition at line 58 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 58 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::maxz
private

Definition at line 58 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 58 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::minx
private

Definition at line 58 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 58 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::miny
private

Definition at line 58 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 58 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::minz
private

Definition at line 58 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 58 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

int PurgMagTabulatedField3D::nx
private

Definition at line 56 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 56 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

int PurgMagTabulatedField3D::ny
private

Definition at line 56 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 56 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

int PurgMagTabulatedField3D::nz
private

Definition at line 56 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 56 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

std::vector< std::vector< std::vector< double > > > PurgMagTabulatedField3D::xField
private

Definition at line 52 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 52 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

std::vector< std::vector< std::vector< double > > > PurgMagTabulatedField3D::yField
private

Definition at line 53 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 53 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

std::vector< std::vector< std::vector< double > > > PurgMagTabulatedField3D::zField
private

Definition at line 54 of file PurgMagTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 54 of file PurgMagTabulatedField3D.hh

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().


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