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 28 of file CbmFieldConst.h.
CbmFieldConst::CbmFieldConst | ( | ) |
Default constructor
Definition at line 24 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 41 of file CbmFieldConst.cxx.
CbmFieldConst::CbmFieldConst | ( | CbmFieldPar * | fieldPar | ) |
Constructor from CbmFieldPar
Definition at line 67 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 99 of file CbmFieldConst.cxx.
|
private |
|
inline |
|
virtual |
Get components of field at a given point
x,y,z | Point coordinates [cm] |
Definition at line 130 of file CbmFieldConst.cxx.
References fBx, fXmax, fYmax, fZmax, and fZmin.
Referenced by CbmFieldPar::SetParameters().
|
inline |
Definition at line 100 of file CbmFieldConst.h.
References fBy.
|
virtual |
Definition at line 140 of file CbmFieldConst.cxx.
References fBy, fXmax, fYmax, fZmax, and fZmin.
Referenced by CbmFieldPar::SetParameters().
|
inline |
Definition at line 101 of file CbmFieldConst.h.
References fBz.
|
virtual |
Definition at line 150 of file CbmFieldConst.cxx.
References fBz, fXmax, fYmax, fZmax, and fZmin.
Referenced by CbmFieldPar::SetParameters().
|
inline |
Definition at line 91 of file CbmFieldConst.h.
References fXmax.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
inline |
Accessors to field region
Definition at line 90 of file CbmFieldConst.h.
References fXmin.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
inline |
Definition at line 93 of file CbmFieldConst.h.
References fYmax.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
inline |
Definition at line 92 of file CbmFieldConst.h.
References fYmin.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
inline |
Definition at line 95 of file CbmFieldConst.h.
References fZmax.
Referenced by CbmFieldMapDistorted::SetFromParent(), and CbmFieldPar::SetParameters().
|
inline |
Definition at line 94 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 121 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 118 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBx(), Print(), and SetField().
|
private |
Definition at line 119 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBy(), Print(), and SetField().
|
private |
Definition at line 120 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBz(), Print(), and SetField().
|
private |
Definition at line 111 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBx(), GetBy(), GetBz(), GetXmax(), Print(), and SetFieldRegion().
|
private |
Limits of the field region
Definition at line 110 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetXmin(), Print(), and SetFieldRegion().
|
private |
Definition at line 113 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBx(), GetBy(), GetBz(), GetYmax(), Print(), and SetFieldRegion().
|
private |
Definition at line 112 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetYmin(), Print(), and SetFieldRegion().
|
private |
Definition at line 115 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBx(), GetBy(), GetBz(), GetZmax(), Print(), and SetFieldRegion().
|
private |
Definition at line 114 of file CbmFieldConst.h.
Referenced by CbmFieldConst(), GetBx(), GetBy(), GetBz(), GetZmin(), Print(), and SetFieldRegion().