CbmRoot
|
#include <CbmFieldPar.h>
Public Member Functions | |
CbmFieldPar (const char *name, const char *title, const char *context) | |
CbmFieldPar () | |
~CbmFieldPar () | |
virtual void | putParams (FairParamList *list) |
virtual Bool_t | getParams (FairParamList *list) |
void | SetParameters (FairField *field) |
Int_t | GetType () const |
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 |
void | MapName (TString &name) |
Double_t | GetPositionX () const |
Double_t | GetPositionY () const |
Double_t | GetPositionZ () const |
Double_t | GetScale () const |
void | GetDistortionFilename (TString &filename) |
void | GetParentName (TString &parentname) |
Int_t | GetTypeOfParent () const |
Private Member Functions | |
CbmFieldPar (const CbmFieldPar &) | |
CbmFieldPar & | operator= (const CbmFieldPar &) |
ClassDef (CbmFieldPar, 1) | |
Private Attributes | |
Int_t | fType |
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 |
TString | fMapName |
Double_t | fPosX |
Double_t | fPosY |
Double_t | fPosZ |
Double_t | fScale |
TString | fDistortionFilename |
TString | fParentName |
Int_t | fTypeOfParent |
Definition at line 35 of file CbmFieldPar.h.
CbmFieldPar::CbmFieldPar | ( | const char * | name, |
const char * | title, | ||
const char * | context ) |
Standard constructor
Definition at line 28 of file CbmFieldPar.cxx.
CbmFieldPar::CbmFieldPar | ( | ) |
default constructor
Definition at line 52 of file CbmFieldPar.cxx.
CbmFieldPar::~CbmFieldPar | ( | ) |
Destructor
Definition at line 77 of file CbmFieldPar.cxx.
|
private |
|
private |
|
inline |
Definition at line 68 of file CbmFieldPar.h.
References fBx.
Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 69 of file CbmFieldPar.h.
References fBy.
Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 70 of file CbmFieldPar.h.
References fBz.
Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 77 of file CbmFieldPar.h.
References fDistortionFilename.
Referenced by CbmFieldMapDistorted::CbmFieldMapDistorted().
|
virtual |
Get parameters
Definition at line 119 of file CbmFieldPar.cxx.
References fBx, fBy, fBz, fDistortionFilename, fMapName, fParentName, fPosX, fPosY, fPosZ, fScale, fType, fTypeOfParent, fXmax, fXmin, fYmax, fYmin, fZmax, fZmin, kMaxFieldMapType, kMaxLen, and kTypeDistorted.
|
inline |
Definition at line 78 of file CbmFieldPar.h.
References fParentName.
Referenced by CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 72 of file CbmFieldPar.h.
References fPosX.
Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 73 of file CbmFieldPar.h.
References fPosY.
Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 74 of file CbmFieldPar.h.
References fPosZ.
Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 75 of file CbmFieldPar.h.
References fScale.
Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Accessors
Definition at line 61 of file CbmFieldPar.h.
References fType.
Referenced by CbmFieldConst::CbmFieldConst(), CbmFieldMap::CbmFieldMap(), CbmFieldMapDistorted::CbmFieldMapDistorted(), CbmFieldCreator::createFairField(), CbmDeviceStsLocalReco::createField(), and CbmDeviceStsLocalReco::InitContainers().
|
inline |
Definition at line 79 of file CbmFieldPar.h.
References fTypeOfParent.
Referenced by CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 63 of file CbmFieldPar.h.
References fXmax.
Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 62 of file CbmFieldPar.h.
References fXmin.
Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 65 of file CbmFieldPar.h.
References fYmax.
Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 64 of file CbmFieldPar.h.
References fYmin.
Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 67 of file CbmFieldPar.h.
References fZmax.
Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 66 of file CbmFieldPar.h.
References fZmin.
Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
inline |
Definition at line 71 of file CbmFieldPar.h.
References fMapName.
Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMapDistorted::CbmFieldMapDistorted().
|
private |
|
virtual |
Put parameters
Definition at line 82 of file CbmFieldPar.cxx.
References fBx, fBy, fBz, fDistortionFilename, fMapName, fParentName, fPosX, fPosY, fPosZ, fScale, fType, fTypeOfParent, fXmax, fXmin, fYmax, fYmin, fZmax, fZmin, kMaxFieldMapType, and kTypeDistorted.
void CbmFieldPar::SetParameters | ( | FairField * | field | ) |
Set parameters from CbmField
Definition at line 165 of file CbmFieldPar.cxx.
References fBx, fBy, fBz, fDistortionFilename, fMapName, fParentName, fPosX, fPosY, fPosZ, fScale, fType, fTypeOfParent, fXmax, fXmin, fYmax, fYmin, fZmax, fZmin, CbmFieldConst::GetBx(), CbmFieldConst::GetBy(), CbmFieldConst::GetBz(), CbmFieldMap::GetPositionX(), CbmFieldMap::GetPositionY(), CbmFieldMap::GetPositionZ(), CbmFieldMap::GetScale(), CbmFieldConst::GetXmax(), CbmFieldConst::GetXmin(), CbmFieldConst::GetYmax(), CbmFieldConst::GetYmin(), CbmFieldConst::GetZmax(), CbmFieldConst::GetZmin(), kMaxFieldMapType, and kTypeDistorted.
Referenced by CbmTransport::Run().
|
private |
Field values in case of constant field [kG]
Definition at line 99 of file CbmFieldPar.h.
Referenced by GetBx(), getParams(), putParams(), and SetParameters().
|
private |
Definition at line 99 of file CbmFieldPar.h.
Referenced by GetBy(), getParams(), putParams(), and SetParameters().
|
private |
Definition at line 99 of file CbmFieldPar.h.
Referenced by GetBz(), getParams(), putParams(), and SetParameters().
|
private |
Field map distortion filename (in case of distorted field map)
Definition at line 114 of file CbmFieldPar.h.
Referenced by GetDistortionFilename(), getParams(), putParams(), and SetParameters().
|
private |
Field map name in case of field map
Definition at line 103 of file CbmFieldPar.h.
Referenced by getParams(), MapName(), putParams(), and SetParameters().
|
private |
Field name of parent field (in case of distorted field map)
Definition at line 117 of file CbmFieldPar.h.
Referenced by getParams(), GetParentName(), putParams(), and SetParameters().
|
private |
Field centre position for field map
Definition at line 107 of file CbmFieldPar.h.
Referenced by getParams(), GetPositionX(), putParams(), and SetParameters().
|
private |
Definition at line 107 of file CbmFieldPar.h.
Referenced by getParams(), GetPositionY(), putParams(), and SetParameters().
|
private |
Definition at line 107 of file CbmFieldPar.h.
Referenced by getParams(), GetPositionZ(), putParams(), and SetParameters().
|
private |
Scaling factor for field map
Definition at line 111 of file CbmFieldPar.h.
Referenced by getParams(), GetScale(), putParams(), and SetParameters().
|
private |
Field type 0 = constant field 1 = field map 2 = field map sym2 (symmetries in x and y) 3 = field map sym3 (symmetries in x, y and z) kTypeDistorted = distorted field map (its parent field can be field map or constant field)
Definition at line 89 of file CbmFieldPar.h.
Referenced by getParams(), GetType(), putParams(), and SetParameters().
|
private |
Field type of parent field (in case of distorted field map)
Definition at line 120 of file CbmFieldPar.h.
Referenced by getParams(), GetTypeOfParent(), putParams(), and SetParameters().
|
private |
Definition at line 93 of file CbmFieldPar.h.
Referenced by getParams(), GetXmax(), putParams(), and SetParameters().
|
private |
Field limits in case of constant field
Definition at line 93 of file CbmFieldPar.h.
Referenced by getParams(), GetXmin(), putParams(), and SetParameters().
|
private |
Definition at line 94 of file CbmFieldPar.h.
Referenced by getParams(), GetYmax(), putParams(), and SetParameters().
|
private |
Definition at line 94 of file CbmFieldPar.h.
Referenced by getParams(), GetYmin(), putParams(), and SetParameters().
|
private |
Definition at line 95 of file CbmFieldPar.h.
Referenced by getParams(), GetZmax(), putParams(), and SetParameters().
|
private |
Definition at line 95 of file CbmFieldPar.h.
Referenced by getParams(), GetZmin(), putParams(), and SetParameters().