CbmRoot
|
#include <CbmFieldMapDistorted.h>
Public Member Functions | |
CbmFieldMapDistorted () | |
CbmFieldMapDistorted (const char *mapName, const char *pfDistortionFilename, const char *parentName, const char *fileTypeParent="R", Int_t pfTypeOfParent=3) | |
CbmFieldMapDistorted (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, const char *mapName, const char *pfDistortionFilename, const char *parentName="") | |
CbmFieldMapDistorted (CbmFieldPar *fieldPar) | |
virtual | ~CbmFieldMapDistorted () |
virtual void | Init () |
void | ReadDistortionInformation (const char *filename=0) |
void | WriteDistortionInformation (const char *filename=0) |
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) |
virtual void | SetType (Int_t pfType=0) |
virtual const char * | GetDistortionFilename () |
virtual Bool_t | SetDistortionFilename (const char *filename) |
virtual TFormula * | GetDistortionFormula (const char *component_option="y", const char *action_option="m") |
virtual Bool_t | SetDistortionFormula (TFormula *parDistortionFormula, const char *component_option="y", const char *action_option="m") |
virtual Bool_t | SetDistortionFormula (const char *parDistortionFormulaText, const char *component_option="y", const char *action_option="m") |
virtual void | SetFromParent (FairField *field) |
virtual FairField * | GetParent () |
virtual void | Print (Option_t *="") const |
virtual void | SetPosition (Double_t x, Double_t y, Double_t z) |
virtual void | SetScale (Double_t factor) |
void | PlotBy (Int_t n=250, Double_t zmin=-50, Double_t zmax=450) |
virtual void | Init (Int_t nX, Double_t xMin, Double_t xMax, Int_t nY, Double_t yMin, Double_t yMax, Int_t nZ, Double_t zMin, Double_t zMax, TArrayF *bx, TArrayF *by, TArrayF *bz) |
TArrayF * | GetBx () const |
TArrayF * | GetBy () const |
TArrayF * | GetBz () const |
virtual Bool_t | IsInside (Double_t x, Double_t y, Double_t z, Int_t &ix, Int_t &iy, Int_t &iz, Double_t &dx, Double_t &dy, Double_t &dz) |
void | WriteAsciiFile (const char *fileName) |
void | WriteRootFile (const char *fileName, const char *mapName) |
Double_t | GetXmin () const |
Double_t | GetYmin () const |
Double_t | GetZmin () const |
Double_t | GetXmax () const |
Double_t | GetYmax () const |
Double_t | GetZmax () const |
Double_t | GetXstep () const |
Double_t | GetYstep () const |
Double_t | GetZstep () const |
Int_t | GetNx () const |
Int_t | GetNy () const |
Int_t | GetNz () const |
Double_t | GetPositionX () const |
Double_t | GetPositionY () const |
Double_t | GetPositionZ () const |
Double_t | GetScale () const |
const char * | GetFileName () |
Protected Member Functions | |
void | Reset () |
void | ReadAsciiFile (const char *fileName) |
void | ReadAsciiFile2018 (const char *fileName) |
void | ReadRootFile (const char *fileName, const char *mapName) |
void | SetField (const CbmFieldMapData *data) |
Double_t | Interpolate (Double_t dx, Double_t dy, Double_t dz) |
Protected Attributes | |
FairField * | fParentField |
Int_t | fTypeOfParent |
TString | fDistortionFilename |
TFormula * | fBxDistortionFormulaMult |
TFormula * | fBxDistortionFormulaAdd |
TFormula * | fByDistortionFormulaMult |
getter/setter options: ("x","m"), ("x","a") More... | |
TFormula * | fByDistortionFormulaAdd |
TFormula * | fBzDistortionFormulaMult |
getter/setter options: ("y","m"), ("y","a") More... | |
TFormula * | fBzDistortionFormulaAdd |
TString | fFileName |
Double_t | fScale |
Double_t | fPosX |
Double_t | fPosY |
Double_t | fPosZ |
Double_t | fXmin |
Double_t | fXmax |
Double_t | fXstep |
Double_t | fYmin |
Double_t | fYmax |
Double_t | fYstep |
Double_t | fZmin |
Double_t | fZmax |
Double_t | fZstep |
Int_t | fNx |
Int_t | fNy |
Int_t | fNz |
TArrayF * | fBx |
TArrayF * | fBy |
TArrayF * | fBz |
Double_t | fHa [2][2][2] |
Double_t | fHb [2][2] |
Field at corners of a grid cell. More... | |
Double_t | fHc [2] |
Interpolated field (2-dim) More... | |
Double_t | fBxOrigin |
Interpolated field (1-dim) More... | |
Double_t | fByOrigin |
x-component of the field at the origin More... | |
Double_t | fBzOrigin |
y-component of the field at the origin More... | |
Private Member Functions | |
CbmFieldMapDistorted (const CbmFieldMapDistorted &) | |
getter/setter options: ("z","m"), ("z","a") More... | |
CbmFieldMapDistorted & | operator= (const CbmFieldMapDistorted &) |
Definition at line 20 of file CbmFieldMapDistorted.h.
CbmFieldMapDistorted::CbmFieldMapDistorted | ( | ) |
Default constructor
Definition at line 28 of file CbmFieldMapDistorted.cxx.
References kTypeDistorted.
CbmFieldMapDistorted::CbmFieldMapDistorted | ( | const char * | mapName, |
const char * | pfDistortionFilename, | ||
const char * | parentName, | ||
const char * | fileTypeParent = "R" , |
||
Int_t | pfTypeOfParent = 3 |
||
) |
Standard constructor (with FieldMap Parent Field )
mapName | Name of distorted field map |
pfDistortionFilename | root file with distortion information |
parentName | Name of parent field map |
fileTypeParent | R = ROOT file, A = ASCII for parent field map |
pfTypeOfParent | 3 = parent is CbmFieldMapSym3, 2 = CbmFieldMapSym2, 1 = CbmFieldMap |
Definition at line 45 of file CbmFieldMapDistorted.cxx.
References CbmFieldMap::CbmFieldMap(), fParentField, and kTypeDistorted.
CbmFieldMapDistorted::CbmFieldMapDistorted | ( | 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, | ||
const char * | mapName, | ||
const char * | pfDistortionFilename, | ||
const char * | parentName = "" |
||
) |
Constructor (with Constant Parent Field )
xMin..zMax | the rectangular region boundaries (X,Y,Z) |
bX,By,Bz | field component values inside the region |
mapName | Name of distorted field map |
pfDistortionFilename | root file with distortion information |
parentName | Name of parent constant field |
Definition at line 79 of file CbmFieldMapDistorted.cxx.
References kTypeDistorted.
CbmFieldMapDistorted::CbmFieldMapDistorted | ( | CbmFieldPar * | fieldPar | ) |
Constructor from CbmFieldPar
Definition at line 116 of file CbmFieldMapDistorted.cxx.
References CbmFieldMap::CbmFieldMap(), fDistortionFilename, fParentField, fTypeOfParent, CbmFieldPar::GetBx(), CbmFieldPar::GetBy(), CbmFieldPar::GetBz(), CbmFieldPar::GetDistortionFilename(), CbmFieldPar::GetParentName(), CbmFieldPar::GetPositionX(), CbmFieldPar::GetPositionY(), CbmFieldPar::GetPositionZ(), CbmFieldPar::GetScale(), CbmFieldPar::GetType(), CbmFieldPar::GetTypeOfParent(), CbmFieldPar::GetXmax(), CbmFieldPar::GetXmin(), CbmFieldPar::GetYmax(), CbmFieldPar::GetYmin(), CbmFieldPar::GetZmax(), CbmFieldPar::GetZmin(), kTypeDistorted, and CbmFieldPar::MapName().
|
virtual |
Destructor
Definition at line 191 of file CbmFieldMapDistorted.cxx.
|
private |
getter/setter options: ("z","m"), ("z","a")
|
inlineinherited |
Accessors to the field value arrays
Definition at line 158 of file CbmFieldMap.h.
References CbmFieldMap::fBx.
Referenced by CbmFieldMap::Init().
|
virtual |
Get the field components at a certain point
x,y,z | Point coordinates (global) [cm] @value Bx,By,Bz Field components [kG] |
Reimplemented from CbmFieldMap.
Definition at line 445 of file CbmFieldMapDistorted.cxx.
References fBxDistortionFormulaAdd, fBxDistortionFormulaMult, fParentField, x, and y.
|
inlineinherited |
Definition at line 159 of file CbmFieldMap.h.
References CbmFieldMap::fBy.
Referenced by CbmFieldMap::Init(), and PlotBy().
|
virtual |
Reimplemented from CbmFieldMap.
Definition at line 458 of file CbmFieldMapDistorted.cxx.
References fByDistortionFormulaAdd, fByDistortionFormulaMult, fParentField, x, and y.
|
inlineinherited |
Definition at line 160 of file CbmFieldMap.h.
References CbmFieldMap::fBz.
Referenced by CbmFieldMap::Init().
|
virtual |
Reimplemented from CbmFieldMap.
Definition at line 470 of file CbmFieldMapDistorted.cxx.
References fBzDistortionFormulaAdd, fBzDistortionFormulaMult, fParentField, x, and y.
|
inlinevirtual |
Definition at line 86 of file CbmFieldMapDistorted.h.
References fDistortionFilename.
|
virtual |
Definition at line 344 of file CbmFieldMapDistorted.cxx.
References fBxDistortionFormulaAdd, fBxDistortionFormulaMult, fByDistortionFormulaAdd, fByDistortionFormulaMult, fBzDistortionFormulaAdd, and fBzDistortionFormulaMult.
|
inlineinherited |
Accessor to field map file
Definition at line 164 of file CbmFieldMap.h.
References CbmFieldMap::fFileName.
|
inlineinherited |
Definition at line 142 of file CbmFieldMap.h.
References CbmFieldMap::fNx.
Referenced by SetFromParent().
|
inlineinherited |
Definition at line 143 of file CbmFieldMap.h.
References CbmFieldMap::fNy.
Referenced by SetFromParent().
|
inlineinherited |
Definition at line 144 of file CbmFieldMap.h.
References CbmFieldMap::fNz.
Referenced by SetFromParent().
|
inlinevirtual |
|
inlineinherited |
Accessor to field centre position in global system
Definition at line 148 of file CbmFieldMap.h.
References CbmFieldMap::fPosX.
Referenced by SetFromParent(), and CbmFieldPar::SetParameters().
|
inlineinherited |
Definition at line 149 of file CbmFieldMap.h.
References CbmFieldMap::fPosY.
Referenced by SetFromParent(), and CbmFieldPar::SetParameters().
|
inlineinherited |
Definition at line 150 of file CbmFieldMap.h.
References CbmFieldMap::fPosZ.
Referenced by SetFromParent(), and CbmFieldPar::SetParameters().
|
inlineinherited |
Accessor to global scaling factor
Definition at line 154 of file CbmFieldMap.h.
References CbmFieldMap::fScale.
Referenced by CbmFieldMapData::CbmFieldMapData(), SetFromParent(), and CbmFieldPar::SetParameters().
|
inlineinherited |
Definition at line 136 of file CbmFieldMap.h.
References CbmFieldMap::fXmax.
Referenced by SetFromParent().
|
inlineinherited |
Accessors to field parameters in local coordinate system
Definition at line 133 of file CbmFieldMap.h.
References CbmFieldMap::fXmin.
Referenced by SetFromParent().
|
inlineinherited |
Definition at line 139 of file CbmFieldMap.h.
References CbmFieldMap::fXstep.
Referenced by SetFromParent().
|
inlineinherited |
Definition at line 137 of file CbmFieldMap.h.
References CbmFieldMap::fYmax.
Referenced by SetFromParent().
|
inlineinherited |
Definition at line 134 of file CbmFieldMap.h.
References CbmFieldMap::fYmin.
Referenced by SetFromParent().
|
inlineinherited |
Definition at line 140 of file CbmFieldMap.h.
References CbmFieldMap::fYstep.
Referenced by SetFromParent().
|
inlineinherited |
Definition at line 138 of file CbmFieldMap.h.
References CbmFieldMap::fZmax.
Referenced by SetFromParent().
|
inlineinherited |
Definition at line 135 of file CbmFieldMap.h.
References CbmFieldMap::fZmin.
Referenced by SetFromParent().
|
inlineinherited |
Definition at line 141 of file CbmFieldMap.h.
References CbmFieldMap::fZstep.
Referenced by SetFromParent().
|
virtual |
Initialisation (read map from mapfile and distortion information from distortion file)
Reimplemented from CbmFieldMap.
Definition at line 196 of file CbmFieldMapDistorted.cxx.
References CbmFieldMap::fBxOrigin, CbmFieldMap::fByOrigin, CbmFieldMap::fBzOrigin, fDistortionFilename, fParentField, ReadDistortionInformation(), and SetFromParent().
|
virtualinherited |
Initialisation with arrays. To be used e.g.for reading from ASCII.
xMin | Minimum x coordinate |
xMax | Maximum x coordinate |
yMin | Minimum y coordinate |
yMax | Maximum y coordinate |
zMin | Minimum z coordinate |
zMax | Maximum z coordinate |
bx | Pointer to array with Bx values [T] |
by | Pointer to array with By values [T] |
bz | Pointer to array with Bz values [T] |
Definition at line 293 of file CbmFieldMap.cxx.
References CbmFieldMap::fBx, CbmFieldMap::fBxOrigin, CbmFieldMap::fBy, CbmFieldMap::fByOrigin, CbmFieldMap::fBz, CbmFieldMap::fBzOrigin, CbmFieldMap::fNx, CbmFieldMap::fNy, CbmFieldMap::fNz, CbmFieldMap::fXmax, CbmFieldMap::fXmin, CbmFieldMap::fXstep, CbmFieldMap::fYmax, CbmFieldMap::fYmin, CbmFieldMap::fYstep, CbmFieldMap::fZmax, CbmFieldMap::fZmin, CbmFieldMap::fZstep, CbmFieldMap::GetBx(), CbmFieldMap::GetBy(), CbmFieldMap::GetBz(), CbmFieldMap::Print(), and CbmFieldMap::Reset().
|
protectedinherited |
Get field values by interpolation of the grid.
dx,dy,dz | Relative distance from grid point [cell units] |
Definition at line 786 of file CbmFieldMap.cxx.
References CbmFieldMap::fHa, CbmFieldMap::fHb, and CbmFieldMap::fHc.
Referenced by CbmFieldMapSym1::GetBx(), CbmFieldMapSym3::GetBx(), CbmFieldMapSym2::GetBx(), CbmFieldMap::GetBx(), CbmFieldMapSym1::GetBy(), CbmFieldMapSym2::GetBy(), CbmFieldMapSym3::GetBy(), CbmFieldMap::GetBy(), CbmFieldMapSym1::GetBz(), CbmFieldMapSym2::GetBz(), CbmFieldMapSym3::GetBz(), and CbmFieldMap::GetBz().
|
virtualinherited |
Determine whether a point is inside the field map
x,y,z | Point coordinates (global) [cm] |
ix,iy,iz | (return) Grid cell |
dx,dy,dz | (return) Distance from grid point [cm] if inside @value kTRUE if inside map, else kFALSE |
Reimplemented in CbmFieldMapSym2, CbmFieldMapSym3, and CbmFieldMapSym1.
Definition at line 446 of file CbmFieldMap.cxx.
References CbmFieldMap::fPosX, CbmFieldMap::fPosY, CbmFieldMap::fPosZ, CbmFieldMap::fXmin, CbmFieldMap::fXstep, CbmFieldMap::fYmin, CbmFieldMap::fYstep, CbmFieldMap::fZmax, CbmFieldMap::fZmin, CbmFieldMap::fZstep, x, and y.
Referenced by CbmFieldMap::GetBx(), CbmFieldMap::GetBy(), and CbmFieldMap::GetBz().
|
private |
void CbmFieldMapDistorted::PlotBy | ( | Int_t | n = 250 , |
Double_t | zmin = -50 , |
||
Double_t | zmax = 450 |
||
) |
Plot distorted and parend field (By component)
Definition at line 545 of file CbmFieldMapDistorted.cxx.
References fParentField, CbmFieldMap::GetBy(), and i.
|
virtual |
Screen output
Reimplemented from CbmFieldMap.
Definition at line 481 of file CbmFieldMapDistorted.cxx.
References fBxDistortionFormulaAdd, fBxDistortionFormulaMult, CbmFieldMap::fBxOrigin, fByDistortionFormulaAdd, fByDistortionFormulaMult, CbmFieldMap::fByOrigin, fBzDistortionFormulaAdd, fBzDistortionFormulaMult, CbmFieldMap::fBzOrigin, fDistortionFilename, and fParentField.
|
protectedinherited |
Read the field map from an ASCII file
Definition at line 615 of file CbmFieldMap.cxx.
References CbmFieldMap::fBx, CbmFieldMap::fBy, CbmFieldMap::fBz, CbmFieldMap::fNx, CbmFieldMap::fNy, CbmFieldMap::fNz, CbmFieldMap::fScale, CbmFieldMap::fXmax, CbmFieldMap::fXmin, CbmFieldMap::fXstep, CbmFieldMap::fYmax, CbmFieldMap::fYmin, CbmFieldMap::fYstep, CbmFieldMap::fZmax, CbmFieldMap::fZmin, and CbmFieldMap::fZstep.
Referenced by CbmFieldMap::Init().
|
protectedinherited |
Read the field map from an ASCII file. Updated version.
void CbmFieldMapDistorted::ReadDistortionInformation | ( | const char * | filename = 0 | ) |
Definition at line 267 of file CbmFieldMapDistorted.cxx.
References f, fBxDistortionFormulaAdd, fBxDistortionFormulaMult, fByDistortionFormulaAdd, fByDistortionFormulaMult, fBzDistortionFormulaAdd, fBzDistortionFormulaMult, and fDistortionFilename.
Referenced by Init().
|
protectedinherited |
Read field map from a ROOT file
Definition at line 698 of file CbmFieldMap.cxx.
References CbmFieldMap::SetField().
Referenced by CbmFieldMap::Init().
|
protectedinherited |
Reset the field parameters and data
Definition at line 591 of file CbmFieldMap.cxx.
References CbmFieldMap::fBx, CbmFieldMap::fBy, CbmFieldMap::fBz, CbmFieldMap::fNx, CbmFieldMap::fNy, CbmFieldMap::fNz, CbmFieldMap::fPosX, CbmFieldMap::fPosY, CbmFieldMap::fPosZ, CbmFieldMap::fScale, CbmFieldMap::fXmax, CbmFieldMap::fXmin, CbmFieldMap::fXstep, CbmFieldMap::fYmax, CbmFieldMap::fYmin, CbmFieldMap::fYstep, CbmFieldMap::fZmax, CbmFieldMap::fZmin, and CbmFieldMap::fZstep.
Referenced by CbmFieldMap::Init().
|
inlinevirtual |
Definition at line 89 of file CbmFieldMapDistorted.h.
References fDistortionFilename.
|
virtual |
Definition at line 401 of file CbmFieldMapDistorted.cxx.
References counter, fBxDistortionFormulaAdd, fBxDistortionFormulaMult, fByDistortionFormulaAdd, fByDistortionFormulaMult, fBzDistortionFormulaAdd, and fBzDistortionFormulaMult.
|
virtual |
Definition at line 364 of file CbmFieldMapDistorted.cxx.
References counter, fBxDistortionFormulaAdd, fBxDistortionFormulaMult, fByDistortionFormulaAdd, fByDistortionFormulaMult, fBzDistortionFormulaAdd, and fBzDistortionFormulaMult.
|
protectedinherited |
Set field parameters and data
Definition at line 732 of file CbmFieldMap.cxx.
References CbmFieldMap::fBx, CbmFieldMap::fBy, CbmFieldMap::fBz, CbmFieldMap::fNx, CbmFieldMap::fNy, CbmFieldMap::fNz, CbmFieldMap::fScale, CbmFieldMap::fXmax, CbmFieldMap::fXmin, CbmFieldMap::fXstep, CbmFieldMap::fYmax, CbmFieldMap::fYmin, CbmFieldMap::fYstep, CbmFieldMap::fZmax, CbmFieldMap::fZmin, CbmFieldMap::fZstep, CbmFieldMapData::GetBx(), CbmFieldMapData::GetBy(), CbmFieldMapData::GetBz(), CbmFieldMapData::GetNx(), CbmFieldMapData::GetNy(), CbmFieldMapData::GetNz(), CbmFieldMapData::GetType(), CbmFieldMapData::GetXmax(), CbmFieldMapData::GetXmin(), CbmFieldMapData::GetYmax(), CbmFieldMapData::GetYmin(), CbmFieldMapData::GetZmax(), and CbmFieldMapData::GetZmin().
Referenced by CbmFieldMap::ReadRootFile().
|
virtual |
Fill main part of distorted field map from parent CbmField
Definition at line 217 of file CbmFieldMapDistorted.cxx.
References CbmFieldMap::fNx, CbmFieldMap::fNy, CbmFieldMap::fNz, fParentField, CbmFieldMap::fPosX, CbmFieldMap::fPosY, CbmFieldMap::fPosZ, CbmFieldMap::fScale, fTypeOfParent, CbmFieldMap::fXmax, CbmFieldMap::fXmin, CbmFieldMap::fXstep, CbmFieldMap::fYmin, CbmFieldMap::fYstep, CbmFieldMap::fZmax, CbmFieldMap::fZmin, CbmFieldMap::fZstep, CbmFieldMap::GetNx(), CbmFieldMap::GetNy(), CbmFieldMap::GetNz(), CbmFieldMap::GetPositionX(), CbmFieldMap::GetPositionY(), CbmFieldMap::GetPositionZ(), CbmFieldMap::GetScale(), CbmFieldConst::GetXmax(), CbmFieldMap::GetXmax(), CbmFieldConst::GetXmin(), CbmFieldMap::GetXmin(), CbmFieldMap::GetXstep(), CbmFieldConst::GetYmax(), CbmFieldMap::GetYmax(), CbmFieldConst::GetYmin(), CbmFieldMap::GetYmin(), CbmFieldMap::GetYstep(), CbmFieldConst::GetZmax(), CbmFieldMap::GetZmax(), CbmFieldConst::GetZmin(), CbmFieldMap::GetZmin(), and CbmFieldMap::GetZstep().
Referenced by Init().
|
virtual |
Set the position of the field centre of the distorted and the parent field
Reimplemented from CbmFieldMap.
Definition at line 529 of file CbmFieldMapDistorted.cxx.
References fParentField, CbmFieldMap::fPosX, CbmFieldMap::fPosY, CbmFieldMap::fPosZ, fTypeOfParent, x, and y.
|
virtual |
Set a global field scaling factor of the distorted and the parent field
Reimplemented from CbmFieldMap.
Definition at line 538 of file CbmFieldMapDistorted.cxx.
References fParentField, CbmFieldMap::fScale, and fTypeOfParent.
|
inlinevirtual |
Definition at line 84 of file CbmFieldMapDistorted.h.
|
inherited |
Write the field map to an ASCII file
Definition at line 486 of file CbmFieldMap.cxx.
References CbmFieldMap::fBx, CbmFieldMap::fBy, CbmFieldMap::fBz, CbmFieldMap::fNx, CbmFieldMap::fNy, CbmFieldMap::fNz, CbmFieldMap::fScale, CbmFieldMap::fXmax, CbmFieldMap::fXmin, CbmFieldMap::fYmax, CbmFieldMap::fYmin, CbmFieldMap::fZmax, and CbmFieldMap::fZmin.
void CbmFieldMapDistorted::WriteDistortionInformation | ( | const char * | filename = 0 | ) |
Definition at line 306 of file CbmFieldMapDistorted.cxx.
References f, fBxDistortionFormulaAdd, fBxDistortionFormulaMult, fByDistortionFormulaAdd, fByDistortionFormulaMult, fBzDistortionFormulaAdd, fBzDistortionFormulaMult, and fDistortionFilename.
|
inherited |
Write field map data to a ROOT file
Definition at line 536 of file CbmFieldMap.cxx.
Referenced by CbmFieldMapCreator::CreateMap().
|
protectedinherited |
Arrays with the field values
Definition at line 219 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMapSym1::GetBx(), CbmFieldMapSym2::GetBx(), CbmFieldMapSym3::GetBx(), CbmFieldMap::GetBx(), CbmFieldMap::Init(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), CbmFieldMap::WriteAsciiFile(), and CbmFieldMap::~CbmFieldMap().
|
protected |
Definition at line 136 of file CbmFieldMapDistorted.h.
Referenced by GetBx(), GetDistortionFormula(), Print(), ReadDistortionInformation(), SetDistortionFormula(), and WriteDistortionInformation().
|
protected |
Formulas for field map distortion
Definition at line 135 of file CbmFieldMapDistorted.h.
Referenced by GetBx(), GetDistortionFormula(), Print(), ReadDistortionInformation(), SetDistortionFormula(), and WriteDistortionInformation().
|
protectedinherited |
Interpolated field (1-dim)
Definition at line 230 of file CbmFieldMap.h.
Referenced by CbmFieldMap::Init(), Init(), Print(), and CbmFieldMap::Print().
|
protectedinherited |
Definition at line 220 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMapSym1::GetBy(), CbmFieldMapSym2::GetBy(), CbmFieldMapSym3::GetBy(), CbmFieldMap::GetBy(), CbmFieldMap::Init(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), CbmFieldMap::WriteAsciiFile(), and CbmFieldMap::~CbmFieldMap().
|
protected |
Definition at line 138 of file CbmFieldMapDistorted.h.
Referenced by GetBy(), GetDistortionFormula(), Print(), ReadDistortionInformation(), SetDistortionFormula(), and WriteDistortionInformation().
|
protected |
getter/setter options: ("x","m"), ("x","a")
Definition at line 137 of file CbmFieldMapDistorted.h.
Referenced by GetBy(), GetDistortionFormula(), Print(), ReadDistortionInformation(), SetDistortionFormula(), and WriteDistortionInformation().
|
protectedinherited |
x-component of the field at the origin
Definition at line 231 of file CbmFieldMap.h.
Referenced by CbmFieldMap::Init(), Init(), Print(), and CbmFieldMap::Print().
|
protectedinherited |
Definition at line 221 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMapSym1::GetBz(), CbmFieldMapSym2::GetBz(), CbmFieldMapSym3::GetBz(), CbmFieldMap::GetBz(), CbmFieldMap::Init(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), CbmFieldMap::WriteAsciiFile(), and CbmFieldMap::~CbmFieldMap().
|
protected |
Definition at line 140 of file CbmFieldMapDistorted.h.
Referenced by GetBz(), GetDistortionFormula(), Print(), ReadDistortionInformation(), SetDistortionFormula(), and WriteDistortionInformation().
|
protected |
getter/setter options: ("y","m"), ("y","a")
Definition at line 139 of file CbmFieldMapDistorted.h.
Referenced by GetBz(), GetDistortionFormula(), Print(), ReadDistortionInformation(), SetDistortionFormula(), and WriteDistortionInformation().
|
protectedinherited |
y-component of the field at the origin
Definition at line 232 of file CbmFieldMap.h.
Referenced by CbmFieldMap::Init(), Init(), Print(), and CbmFieldMap::Print().
|
protected |
Filename for field map distortion information
Definition at line 132 of file CbmFieldMapDistorted.h.
Referenced by CbmFieldMapDistorted(), GetDistortionFilename(), Init(), Print(), ReadDistortionInformation(), SetDistortionFilename(), and WriteDistortionInformation().
|
protectedinherited |
Map file name
Definition at line 197 of file CbmFieldMap.h.
Referenced by CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetFileName(), and CbmFieldMap::Init().
|
protectedinherited |
Variables for temporary storage Used in the very frequently called method GetFieldValue
Definition at line 226 of file CbmFieldMap.h.
Referenced by CbmFieldMap::CbmFieldMap(), CbmFieldMapSym1::GetBx(), CbmFieldMapSym2::GetBx(), CbmFieldMapSym3::GetBx(), CbmFieldMap::GetBx(), CbmFieldMapSym1::GetBy(), CbmFieldMapSym2::GetBy(), CbmFieldMapSym3::GetBy(), CbmFieldMap::GetBy(), CbmFieldMapSym1::GetBz(), CbmFieldMapSym2::GetBz(), CbmFieldMapSym3::GetBz(), CbmFieldMap::GetBz(), and CbmFieldMap::Interpolate().
|
protectedinherited |
Field at corners of a grid cell.
Definition at line 227 of file CbmFieldMap.h.
Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMap::Interpolate().
|
protectedinherited |
Interpolated field (2-dim)
Definition at line 228 of file CbmFieldMap.h.
Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMap::Interpolate().
|
protectedinherited |
Number of grid points
Definition at line 215 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetNx(), CbmFieldMap::Init(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), SetFromParent(), and CbmFieldMap::WriteAsciiFile().
|
protectedinherited |
Definition at line 215 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMapSym1::GetBx(), CbmFieldMapSym2::GetBx(), CbmFieldMapSym3::GetBx(), CbmFieldMap::GetBx(), CbmFieldMapSym1::GetBy(), CbmFieldMapSym2::GetBy(), CbmFieldMapSym3::GetBy(), CbmFieldMap::GetBy(), CbmFieldMapSym1::GetBz(), CbmFieldMapSym2::GetBz(), CbmFieldMapSym3::GetBz(), CbmFieldMap::GetBz(), CbmFieldMap::GetNy(), CbmFieldMap::Init(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), SetFromParent(), and CbmFieldMap::WriteAsciiFile().
|
protectedinherited |
Definition at line 215 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMapSym1::GetBx(), CbmFieldMapSym2::GetBx(), CbmFieldMapSym3::GetBx(), CbmFieldMap::GetBx(), CbmFieldMapSym1::GetBy(), CbmFieldMapSym2::GetBy(), CbmFieldMapSym3::GetBy(), CbmFieldMap::GetBy(), CbmFieldMapSym1::GetBz(), CbmFieldMapSym2::GetBz(), CbmFieldMapSym3::GetBz(), CbmFieldMap::GetBz(), CbmFieldMap::GetNz(), CbmFieldMap::Init(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), SetFromParent(), and CbmFieldMap::WriteAsciiFile().
|
protected |
Parent field (can be field map or constant field)
Definition at line 126 of file CbmFieldMapDistorted.h.
Referenced by CbmFieldMapDistorted(), GetBx(), GetBy(), GetBz(), GetParent(), Init(), PlotBy(), Print(), SetFromParent(), SetPosition(), and SetScale().
|
protectedinherited |
Field centre position in global coordinates
Definition at line 205 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmBsField::GetFieldValue(), CbmFieldMap::GetPositionX(), CbmFieldMapSym1::IsInside(), CbmFieldMapSym3::IsInside(), CbmFieldMapSym2::IsInside(), CbmFieldMap::IsInside(), CbmFieldMap::Print(), CbmFieldMap::Reset(), SetFromParent(), SetPosition(), and CbmFieldMap::SetPosition().
|
protectedinherited |
Definition at line 205 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmBsField::GetFieldValue(), CbmFieldMap::GetPositionY(), CbmFieldMapSym1::IsInside(), CbmFieldMapSym3::IsInside(), CbmFieldMapSym2::IsInside(), CbmFieldMap::IsInside(), CbmFieldMap::Print(), CbmFieldMap::Reset(), SetFromParent(), SetPosition(), and CbmFieldMap::SetPosition().
|
protectedinherited |
Definition at line 205 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmBsField::GetFieldValue(), CbmFieldMap::GetPositionZ(), CbmFieldMapSym1::IsInside(), CbmFieldMapSym3::IsInside(), CbmFieldMapSym2::IsInside(), CbmFieldMap::IsInside(), CbmFieldMap::Print(), CbmFieldMap::Reset(), SetFromParent(), SetPosition(), and CbmFieldMap::SetPosition().
|
protectedinherited |
Global scaling factor (w.r.t. map on file)
Definition at line 201 of file CbmFieldMap.h.
Referenced by CbmFieldMap::CbmFieldMap(), CbmBsField::GetFieldValue(), CbmFieldMap::GetScale(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), SetFromParent(), SetScale(), CbmFieldMap::SetScale(), and CbmFieldMap::WriteAsciiFile().
|
protected |
Field type of parent field.
Definition at line 129 of file CbmFieldMapDistorted.h.
Referenced by CbmFieldMapDistorted(), SetFromParent(), SetPosition(), and SetScale().
|
protectedinherited |
Definition at line 209 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetXmax(), CbmFieldMap::Init(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), SetFromParent(), and CbmFieldMap::WriteAsciiFile().
|
protectedinherited |
Field limits in local coordinate system
Definition at line 209 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetXmin(), CbmFieldMap::Init(), CbmFieldMapSym1::IsInside(), CbmFieldMapSym2::IsInside(), CbmFieldMapSym3::IsInside(), CbmFieldMap::IsInside(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), SetFromParent(), and CbmFieldMap::WriteAsciiFile().
|
protectedinherited |
Definition at line 209 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetXstep(), CbmFieldMap::Init(), CbmFieldMapSym1::IsInside(), CbmFieldMapSym3::IsInside(), CbmFieldMapSym2::IsInside(), CbmFieldMap::IsInside(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), and SetFromParent().
|
protectedinherited |
Definition at line 210 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetYmax(), CbmFieldMap::Init(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), and CbmFieldMap::WriteAsciiFile().
|
protectedinherited |
Definition at line 210 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetYmin(), CbmFieldMap::Init(), CbmFieldMapSym1::IsInside(), CbmFieldMapSym2::IsInside(), CbmFieldMapSym3::IsInside(), CbmFieldMap::IsInside(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), SetFromParent(), and CbmFieldMap::WriteAsciiFile().
|
protectedinherited |
Definition at line 210 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetYstep(), CbmFieldMap::Init(), CbmFieldMapSym1::IsInside(), CbmFieldMapSym3::IsInside(), CbmFieldMapSym2::IsInside(), CbmFieldMap::IsInside(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), and SetFromParent().
|
protectedinherited |
Definition at line 211 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetZmax(), CbmFieldMap::Init(), CbmFieldMapSym1::IsInside(), CbmFieldMapSym2::IsInside(), CbmFieldMapSym3::IsInside(), CbmFieldMap::IsInside(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), SetFromParent(), and CbmFieldMap::WriteAsciiFile().
|
protectedinherited |
Definition at line 211 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetZmin(), CbmFieldMap::Init(), CbmFieldMapSym1::IsInside(), CbmFieldMapSym2::IsInside(), CbmFieldMapSym3::IsInside(), CbmFieldMap::IsInside(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), SetFromParent(), and CbmFieldMap::WriteAsciiFile().
|
protectedinherited |
Definition at line 211 of file CbmFieldMap.h.
Referenced by CbmBsField::CalculateMapFromBs(), CbmFieldMap::CbmFieldMap(), CbmFieldMap::GetZstep(), CbmFieldMap::Init(), CbmFieldMapSym1::IsInside(), CbmFieldMapSym3::IsInside(), CbmFieldMapSym2::IsInside(), CbmFieldMap::IsInside(), CbmFieldMap::Print(), CbmFieldMap::ReadAsciiFile(), CbmFieldMap::Reset(), CbmFieldMap::SetField(), and SetFromParent().