GEMC
2.2
Geant4 Monte-Carlo Framework
|
#include <mappedField.h>
Public Member Functions | |
gMappedField (string i, string s) | |
~gMappedField () | |
void | initializeMap () |
gcoord | getCoordinateWithSpeed (int speed) |
return coordinate based on speed More... | |
gcoord | getCoordinateWithName (string name) |
return coordinate based on type More... | |
void | GetFieldValue (const double x[3], double *Bfield) const |
void | GetFieldValue_Dipole (const double x[3], double *Bfield, int FIRST_ONLY) const |
void | GetFieldValue_Cylindrical (const double x[3], double *Bfield, int FIRST_ONLY) const |
void | GetFieldValue_phiSegmented (const double x[3], double *Bfield, int FIRST_ONLY) const |
Data Fields | |
string | symmetry |
map symmetry More... | |
string | identifier |
Pointer to map in factory (for example, hostname / filename with path / date) More... | |
vector< gcoord > | coordinates |
Vector size depend on the symmetry. More... | |
double | mapOrigin [3] |
Displacement of map. This is used in GetFieldValue. More... | |
double | scaleFactor |
copy of the gfield scaleFactor More... | |
string | unit |
field unit in the map More... | |
string | interpolation |
map interpolation technique. Choices are "none", "linear", "quadratic" More... | |
int | verbosity |
map verbosity More... | |
double *** | B1_3D |
double *** | B2_3D |
double *** | B3_3D |
double ** | B1_2D |
double ** | B2_2D |
double * | startMap |
double * | cellSize |
unsigned int * | np |
gMappedField
This class defines gemc Mapped Electro-Magnetic Fields.
The function G4MagneticField function GetFieldValue returns a magnetic field value at a point in space
Definition at line 74 of file mappedField.h.
|
inline |
Definition at line 77 of file mappedField.h.
|
inline |
Definition at line 89 of file mappedField.h.
gcoord gMappedField::getCoordinateWithName | ( | string | name | ) |
Definition at line 49 of file mappedField.cc.
gcoord gMappedField::getCoordinateWithSpeed | ( | int | speed | ) |
Definition at line 38 of file mappedField.cc.
void gMappedField::GetFieldValue | ( | const double | x[3], |
double * | Bfield | ||
) | const |
Definition at line 6 of file mappedField.cc.
void gMappedField::GetFieldValue_Cylindrical | ( | const double | x[3], |
double * | Bfield, | ||
int | FIRST_ONLY | ||
) | const |
Definition at line 118 of file cylindrical.cc.
void gMappedField::GetFieldValue_Dipole | ( | const double | x[3], |
double * | Bfield, | ||
int | FIRST_ONLY | ||
) | const |
void gMappedField::GetFieldValue_phiSegmented | ( | const double | x[3], |
double * | Bfield, | ||
int | FIRST_ONLY | ||
) | const |
< phi local to the first segment
< indexes of the vector map
< phi in radians
< R
< Z
Definition at line 181 of file phi-segmented.cc.
void gMappedField::initializeMap | ( | ) |
Definition at line 61 of file mappedField.cc.
double** gMappedField::B1_2D |
Definition at line 107 of file mappedField.h.
double*** gMappedField::B1_3D |
Definition at line 102 of file mappedField.h.
double** gMappedField::B2_2D |
Definition at line 108 of file mappedField.h.
double*** gMappedField::B2_3D |
Definition at line 103 of file mappedField.h.
double*** gMappedField::B3_3D |
Definition at line 104 of file mappedField.h.
double* gMappedField::cellSize |
Definition at line 115 of file mappedField.h.
vector<gcoord> gMappedField::coordinates |
Definition at line 93 of file mappedField.h.
string gMappedField::identifier |
Definition at line 92 of file mappedField.h.
string gMappedField::interpolation |
Definition at line 98 of file mappedField.h.
double gMappedField::mapOrigin[3] |
Definition at line 95 of file mappedField.h.
unsigned int* gMappedField::np |
Definition at line 116 of file mappedField.h.
double gMappedField::scaleFactor |
Definition at line 96 of file mappedField.h.
double* gMappedField::startMap |
Definition at line 114 of file mappedField.h.
string gMappedField::symmetry |
Definition at line 91 of file mappedField.h.
string gMappedField::unit |
Definition at line 97 of file mappedField.h.
int gMappedField::verbosity |
Definition at line 99 of file mappedField.h.