FairRoot
|
#include <MyConstField.h>
Public Member Functions | |
MyConstField () | |
MyConstField (const char *name, Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax, Double_t bX, Double_t bY, Double_t bZ) | |
MyConstField (MyFieldPar *fieldPar) | |
virtual | ~MyConstField () |
void | SetFieldRegion (Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax) |
void | SetField (Double_t bX, Double_t bY, Double_t bZ) |
virtual Double_t | GetBx (Double_t x, Double_t y, Double_t z) |
virtual Double_t | GetBy (Double_t x, Double_t y, Double_t z) |
virtual Double_t | GetBz (Double_t x, Double_t y, Double_t z) |
Double_t | GetXmin () const |
Double_t | GetXmax () const |
Double_t | GetYmin () const |
Double_t | GetYmax () const |
Double_t | GetZmin () const |
Double_t | GetZmax () const |
Double_t | GetBx () const |
Double_t | GetBy () const |
Double_t | GetBz () const |
virtual void | Print () |
MyConstField () | |
MyConstField (const char *name, Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax, Double_t bX, Double_t bY, Double_t bZ) | |
MyConstField (MyFieldPar *fieldPar) | |
virtual | ~MyConstField () |
void | SetFieldRegion (Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax) |
void | SetField (Double_t bX, Double_t bY, Double_t bZ) |
virtual Double_t | GetBx (Double_t x, Double_t y, Double_t z) |
virtual Double_t | GetBy (Double_t x, Double_t y, Double_t z) |
virtual Double_t | GetBz (Double_t x, Double_t y, Double_t z) |
Double_t | GetXmin () const |
Double_t | GetXmax () const |
Double_t | GetYmin () const |
Double_t | GetYmax () const |
Double_t | GetZmin () const |
Double_t | GetZmax () const |
Double_t | GetBx () const |
Double_t | GetBy () const |
Double_t | GetBz () const |
virtual void | Print () |
Public Member Functions inherited from FairField | |
FairField () | |
FairField (const char *name, const char *title="FAIR Magnetic Field") | |
FairField & | operator= (const FairField &) |
virtual | ~FairField () |
virtual void | Init () |
Bool_t | IsConst () |
Bool_t | IsMap () |
Int_t | GetType () const |
virtual void | GetFieldValue (const Double_t point[3], Double_t *bField) |
void | Field (const Double_t point[3], Double_t *B) |
virtual void | Print (Option_t *) const |
virtual void | GetBxyz (const Double_t[3], Double_t *) |
virtual void | FillParContainer () |
Additional Inherited Members | |
Protected Attributes inherited from FairField | |
Int_t | fType |
Definition at line 29 of file MyConstField.h.
MyConstField::MyConstField | ( | ) |
Default constructor
Definition at line 27 of file MyConstField.cxx.
MyConstField::MyConstField | ( | const char * | name, |
Double_t | xMin, | ||
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax, | ||
Double_t | bX, | ||
Double_t | bY, | ||
Double_t | bZ | ||
) |
Standard constructor
name | Object name |
xMin,xMax | x region of field (global coordinates) |
yMin,yMax | y region of field (global coordinates) |
zMin,zMax | z region of field (global coordinates) |
bX,bY,bZ | Field values [kG] |
Definition at line 44 of file MyConstField.cxx.
MyConstField::MyConstField | ( | MyFieldPar * | fieldPar | ) |
Constructor from MyFieldPar
Definition at line 70 of file MyConstField.cxx.
|
virtual |
Destructor
Definition at line 101 of file MyConstField.cxx.
MyConstField::MyConstField | ( | ) |
Default constructor
MyConstField::MyConstField | ( | const char * | name, |
Double_t | xMin, | ||
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax, | ||
Double_t | bX, | ||
Double_t | bY, | ||
Double_t | bZ | ||
) |
Standard constructor
name | Object name |
xMin,xMax | x region of field (global coordinates) |
yMin,yMax | y region of field (global coordinates) |
zMin,zMax | z region of field (global coordinates) |
bX,bY,bZ | Field values [kG] |
MyConstField::MyConstField | ( | MyFieldPar * | fieldPar | ) |
Constructor from MyFieldPar
|
virtual |
Destructor
|
virtual |
Get components of field at a given point
x,y,z | Point coordinates [cm] |
Reimplemented from FairField.
Definition at line 131 of file MyConstField.cxx.
|
virtual |
Get components of field at a given point
x,y,z | Point coordinates [cm] |
Reimplemented from FairField.
|
inline |
Accessors to field values
Definition at line 88 of file MyConstField.h.
|
inline |
Accessors to field values
Definition at line 88 of file MyConstField.h.
|
virtual |
Get y component of magnetic field [kG]
x,y,z | Position [cm] |
Reimplemented from FairField.
Definition at line 140 of file MyConstField.cxx.
|
virtual |
|
inline |
Definition at line 89 of file MyConstField.h.
|
inline |
Definition at line 89 of file MyConstField.h.
|
virtual |
Get z component of magnetic field [kG]
x,y,z | Position [cm] |
Reimplemented from FairField.
Definition at line 149 of file MyConstField.cxx.
|
virtual |
|
inline |
Definition at line 90 of file MyConstField.h.
|
inline |
Definition at line 90 of file MyConstField.h.
|
inline |
Definition at line 81 of file MyConstField.h.
|
inline |
Definition at line 81 of file MyConstField.h.
|
inline |
Accessors to field region
Definition at line 80 of file MyConstField.h.
|
inline |
Accessors to field region
Definition at line 80 of file MyConstField.h.
|
inline |
Definition at line 83 of file MyConstField.h.
|
inline |
Definition at line 83 of file MyConstField.h.
|
inline |
Definition at line 82 of file MyConstField.h.
|
inline |
Definition at line 82 of file MyConstField.h.
|
inline |
Definition at line 85 of file MyConstField.h.
|
inline |
Definition at line 85 of file MyConstField.h.
|
inline |
Definition at line 84 of file MyConstField.h.
|
inline |
Definition at line 84 of file MyConstField.h.
|
virtual |
Screen output
Definition at line 158 of file MyConstField.cxx.
|
virtual |
Screen output
void MyConstField::SetField | ( | Double_t | bX, |
Double_t | bY, | ||
Double_t | bZ | ||
) |
Set the field values
bX,bY,bZ | Field values [kG] |
void MyConstField::SetField | ( | Double_t | bX, |
Double_t | bY, | ||
Double_t | bZ | ||
) |
Set the field values
bX,bY,bZ | Field values [kG] |
Definition at line 122 of file MyConstField.cxx.
void MyConstField::SetFieldRegion | ( | Double_t | xMin, |
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax | ||
) |
Set the field region
xMin,xMax | x region of field (global coordinates) |
yMin,yMax | y region of field (global coordinates) |
zMin,zMax | z region of field (global coordinates) |
Definition at line 105 of file MyConstField.cxx.
void MyConstField::SetFieldRegion | ( | Double_t | xMin, |
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax | ||
) |
Set the field region
xMin,xMax | x region of field (global coordinates) |
yMin,yMax | y region of field (global coordinates) |
zMin,zMax | z region of field (global coordinates) |