CbmRoot
|
#include <CbmFieldConst.h>
Public Member Functions | |
CbmFieldConst () | |
CbmFieldConst (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) | |
CbmFieldConst (CbmFieldPar *fieldPar) | |
virtual | ~CbmFieldConst () |
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 (Option_t *="") const |
Private Member Functions | |
ClassDef (CbmFieldConst, 1) | |
Private Attributes | |
Double_t | fXmin |
Double_t | fXmax |
Double_t | fYmin |
Double_t | fYmax |
Double_t | fZmin |
Double_t | fZmax |
Double_t | fBx |
Double_t | fBy |
Double_t | fBz |
Definition at line 32 of file CbmFieldConst.h.
CbmFieldConst::CbmFieldConst | ( | ) |
Default constructor
Definition at line 28 of file CbmFieldConst.cxx.
CbmFieldConst::CbmFieldConst | ( | 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 46 of file CbmFieldConst.cxx.
CbmFieldConst::CbmFieldConst | ( | CbmFieldPar * | fieldPar | ) |
Constructor from CbmFieldPar
Definition at line 65 of file CbmFieldConst.cxx.
References fBx, fBy, fBz, fXmax, fXmin, fYmax, fYmin, fZmax, fZmin, CbmFieldPar::GetBx(), CbmFieldPar::GetBy(), CbmFieldPar::GetBz(), CbmFieldPar::GetType(), CbmFieldPar::GetXmax(), CbmFieldPar::GetXmin(), CbmFieldPar::GetYmax(), CbmFieldPar::GetYmin(), CbmFieldPar::GetZmax(), and CbmFieldPar::GetZmin().
|
virtual |
Destructor
Definition at line 98 of file CbmFieldConst.cxx.
|
private |
|
inline |
|
virtual |
Get components of field at a given point
x,y,z | Point coordinates [cm] |
Definition at line 127 of file CbmFieldConst.cxx.
References fBx, fXmax, fYmax, fZmax, x, and y.
Referenced by CbmFieldPar::SetParameters().
|
inline |
Definition at line 91 of file CbmFieldConst.h.
References fBy.
|
virtual |
Definition at line 136 of file CbmFieldConst.cxx.
References fBy, fXmax, fYmax, fZmax, x, and y.
Referenced by CbmFieldPar::SetParameters().
|
inline |
Definition at line 92 of file CbmFieldConst.h.
References fBz.
|
virtual |
Definition at line 145 of file CbmFieldConst.cxx.
References fBz, fXmax, fYmax, fZmax, x, and y.
Referenced by CbmFieldPar::SetParameters().
|
inline |
Definition at line 82 of file CbmFieldConst.h.
References fXmax.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
inline |
Accessors to field region
Definition at line 81 of file CbmFieldConst.h.
References fXmin.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
inline |
Definition at line 84 of file CbmFieldConst.h.
References fYmax.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
inline |
Definition at line 83 of file CbmFieldConst.h.
References fYmin.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
inline |
Definition at line 86 of file CbmFieldConst.h.
References fZmax.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
inline |
Definition at line 85 of file CbmFieldConst.h.
References fZmin.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
virtual |
void CbmFieldConst::SetField | ( | Double_t | bX, |
Double_t | bY, | ||
Double_t | bZ ) |
Set the field values
bX,bY,bZ | Field values [kG] |
Definition at line 117 of file CbmFieldConst.cxx.
void CbmFieldConst::SetFieldRegion | ( | Double_t | xMin, |
Double_t | xMax, | ||
Double_t | yMin, | ||
Double_t | yMax, | ||
Double_t | zMin, | ||
Double_t | zMax ) |
|
private |
Field components inside the field region
Definition at line 109 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBx(), GetBx(), Print(), and SetField().
|
private |
Definition at line 110 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBy(), GetBy(), Print(), and SetField().
|
private |
Definition at line 111 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBz(), GetBz(), Print(), and SetField().
|
private |
Definition at line 102 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBx(), GetBy(), GetBz(), GetXmax(), Print(), and SetFieldRegion().
|
private |
Limits of the field region
Definition at line 101 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetXmin(), Print(), and SetFieldRegion().
|
private |
Definition at line 104 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBx(), GetBy(), GetBz(), GetYmax(), Print(), and SetFieldRegion().
|
private |
Definition at line 103 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetYmin(), Print(), and SetFieldRegion().
|
private |
Definition at line 106 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBx(), GetBy(), GetBz(), GetZmax(), Print(), and SetFieldRegion().
|
private |
Definition at line 105 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetZmin(), Print(), and SetFieldRegion().