Geant4  10.02.p02
PurgMagTabulatedField3D Class Reference

#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 G4ElectroMagneticField
 G4ElectroMagneticField ()
 
virtual ~G4ElectroMagneticField ()
 
 G4ElectroMagneticField (const G4ElectroMagneticField &r)
 
G4ElectroMagneticFieldoperator= (const G4ElectroMagneticField &p)
 
- 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

vector< vector< vector< double > > > xField
 
vector< vector< vector< double > > > yField
 
vector< vector< 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
 

Detailed Description

Definition at line 48 of file PurgMagTabulatedField3D.hh.

Constructor & Destructor Documentation

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

Definition at line 46 of file PurgMagTabulatedField3D.cc.

References buffer, cm, dx, dy, dz, FatalException, G4cout, G4endl, G4Exception(), invertX, invertY, invertZ, iz, maxx, maxy, maxz, meter, minx, miny, minz, nx, ny, nz, tesla, G4TemplateAutoLock< M, L, U >::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 162 of file PurgMagTabulatedField3D.cc.

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

Member Data Documentation

double PurgMagTabulatedField3D::dx
private

Definition at line 63 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::dy
private

Definition at line 63 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::dz
private

Definition at line 63 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::fZoffset
private

Definition at line 64 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue().

bool PurgMagTabulatedField3D::invertX
private

Definition at line 65 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

bool PurgMagTabulatedField3D::invertY
private

Definition at line 65 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

bool PurgMagTabulatedField3D::invertZ
private

Definition at line 65 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::maxx
private

Definition at line 61 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::maxy
private

Definition at line 61 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::maxz
private

Definition at line 61 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::minx
private

Definition at line 61 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::miny
private

Definition at line 61 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

double PurgMagTabulatedField3D::minz
private

Definition at line 61 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

int PurgMagTabulatedField3D::nx
private

Definition at line 59 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

int PurgMagTabulatedField3D::ny
private

Definition at line 59 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

int PurgMagTabulatedField3D::nz
private

Definition at line 59 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

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

Definition at line 55 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

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

Definition at line 56 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().

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

Definition at line 57 of file PurgMagTabulatedField3D.hh.

Referenced by GetFieldValue(), and PurgMagTabulatedField3D().


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