Geant4  10.02.p02
HadrontherapyMagneticField3D Class Reference

#include <HadrontherapyMagneticField3D.hh>

+ Inheritance diagram for HadrontherapyMagneticField3D:
+ Collaboration diagram for HadrontherapyMagneticField3D:

Public Member Functions

 HadrontherapyMagneticField3D (const char *filename, double xOffset)
 
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 fXoffset
 
bool invertX
 
bool invertY
 
bool invertZ
 

Detailed Description

Definition at line 40 of file HadrontherapyMagneticField3D.hh.

Constructor & Destructor Documentation

HadrontherapyMagneticField3D::HadrontherapyMagneticField3D ( const char *  filename,
double  xOffset 
)

Definition at line 35 of file HadrontherapyMagneticField3D.cc.

References buffer, cm, dx, dy, dz, G4cout, 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 HadrontherapyMagneticField3D::GetFieldValue ( const double  Point[4],
double *  Bfield 
) const
virtual

Implements G4MagneticField.

Definition at line 137 of file HadrontherapyMagneticField3D.cc.

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

Member Data Documentation

double HadrontherapyMagneticField3D::dx
private

Definition at line 55 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

double HadrontherapyMagneticField3D::dy
private

Definition at line 55 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

double HadrontherapyMagneticField3D::dz
private

Definition at line 55 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

double HadrontherapyMagneticField3D::fXoffset
private

Definition at line 56 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue().

bool HadrontherapyMagneticField3D::invertX
private

Definition at line 57 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

bool HadrontherapyMagneticField3D::invertY
private

Definition at line 57 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

bool HadrontherapyMagneticField3D::invertZ
private

Definition at line 57 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

double HadrontherapyMagneticField3D::maxx
private

Definition at line 53 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

double HadrontherapyMagneticField3D::maxy
private

Definition at line 53 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

double HadrontherapyMagneticField3D::maxz
private

Definition at line 53 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

double HadrontherapyMagneticField3D::minx
private

Definition at line 53 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

double HadrontherapyMagneticField3D::miny
private

Definition at line 53 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

double HadrontherapyMagneticField3D::minz
private

Definition at line 53 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

int HadrontherapyMagneticField3D::nx
private

Definition at line 51 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

int HadrontherapyMagneticField3D::ny
private

Definition at line 51 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

int HadrontherapyMagneticField3D::nz
private

Definition at line 51 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

vector< vector< vector< double > > > HadrontherapyMagneticField3D::xField
private

Definition at line 47 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

vector< vector< vector< double > > > HadrontherapyMagneticField3D::yField
private

Definition at line 48 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().

vector< vector< vector< double > > > HadrontherapyMagneticField3D::zField
private

Definition at line 49 of file HadrontherapyMagneticField3D.hh.

Referenced by GetFieldValue(), and HadrontherapyMagneticField3D().


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