CbmRoot
Loading...
Searching...
No Matches
CbmFieldPar Class Reference

#include <CbmFieldPar.h>

Inheritance diagram for CbmFieldPar:
[legend]
Collaboration diagram for CbmFieldPar:
[legend]

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 &)
 
CbmFieldParoperator= (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
 

Detailed Description

Definition at line 35 of file CbmFieldPar.h.

Constructor & Destructor Documentation

◆ CbmFieldPar() [1/3]

CbmFieldPar::CbmFieldPar ( const char * name,
const char * title,
const char * context )

Standard constructor

Definition at line 28 of file CbmFieldPar.cxx.

◆ CbmFieldPar() [2/3]

CbmFieldPar::CbmFieldPar ( )

default constructor

Definition at line 52 of file CbmFieldPar.cxx.

◆ ~CbmFieldPar()

CbmFieldPar::~CbmFieldPar ( )

Destructor

Definition at line 77 of file CbmFieldPar.cxx.

◆ CbmFieldPar() [3/3]

CbmFieldPar::CbmFieldPar ( const CbmFieldPar & )
private

Member Function Documentation

◆ ClassDef()

CbmFieldPar::ClassDef ( CbmFieldPar ,
1  )
private

◆ GetBx()

Double_t CbmFieldPar::GetBx ( ) const
inline

Definition at line 68 of file CbmFieldPar.h.

References fBx.

Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetBy()

Double_t CbmFieldPar::GetBy ( ) const
inline

Definition at line 69 of file CbmFieldPar.h.

References fBy.

Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetBz()

Double_t CbmFieldPar::GetBz ( ) const
inline

Definition at line 70 of file CbmFieldPar.h.

References fBz.

Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetDistortionFilename()

void CbmFieldPar::GetDistortionFilename ( TString & filename)
inline

Definition at line 77 of file CbmFieldPar.h.

References fDistortionFilename.

Referenced by CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ getParams()

Bool_t CbmFieldPar::getParams ( FairParamList * list)
virtual

◆ GetParentName()

void CbmFieldPar::GetParentName ( TString & parentname)
inline

Definition at line 78 of file CbmFieldPar.h.

References fParentName.

Referenced by CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetPositionX()

Double_t CbmFieldPar::GetPositionX ( ) const
inline

Definition at line 72 of file CbmFieldPar.h.

References fPosX.

Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetPositionY()

Double_t CbmFieldPar::GetPositionY ( ) const
inline

Definition at line 73 of file CbmFieldPar.h.

References fPosY.

Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetPositionZ()

Double_t CbmFieldPar::GetPositionZ ( ) const
inline

Definition at line 74 of file CbmFieldPar.h.

References fPosZ.

Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetScale()

Double_t CbmFieldPar::GetScale ( ) const
inline

Definition at line 75 of file CbmFieldPar.h.

References fScale.

Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetType()

◆ GetTypeOfParent()

Int_t CbmFieldPar::GetTypeOfParent ( ) const
inline

Definition at line 79 of file CbmFieldPar.h.

References fTypeOfParent.

Referenced by CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetXmax()

Double_t CbmFieldPar::GetXmax ( ) const
inline

Definition at line 63 of file CbmFieldPar.h.

References fXmax.

Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetXmin()

Double_t CbmFieldPar::GetXmin ( ) const
inline

Definition at line 62 of file CbmFieldPar.h.

References fXmin.

Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetYmax()

Double_t CbmFieldPar::GetYmax ( ) const
inline

Definition at line 65 of file CbmFieldPar.h.

References fYmax.

Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetYmin()

Double_t CbmFieldPar::GetYmin ( ) const
inline

Definition at line 64 of file CbmFieldPar.h.

References fYmin.

Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetZmax()

Double_t CbmFieldPar::GetZmax ( ) const
inline

Definition at line 67 of file CbmFieldPar.h.

References fZmax.

Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ GetZmin()

Double_t CbmFieldPar::GetZmin ( ) const
inline

Definition at line 66 of file CbmFieldPar.h.

References fZmin.

Referenced by CbmFieldConst::CbmFieldConst(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ MapName()

void CbmFieldPar::MapName ( TString & name)
inline

Definition at line 71 of file CbmFieldPar.h.

References fMapName.

Referenced by CbmFieldMap::CbmFieldMap(), and CbmFieldMapDistorted::CbmFieldMapDistorted().

◆ operator=()

CbmFieldPar & CbmFieldPar::operator= ( const CbmFieldPar & )
private

◆ putParams()

void CbmFieldPar::putParams ( FairParamList * list)
virtual

◆ SetParameters()

Member Data Documentation

◆ fBx

Double_t CbmFieldPar::fBx
private

Field values in case of constant field [kG]

Definition at line 99 of file CbmFieldPar.h.

Referenced by GetBx(), getParams(), putParams(), and SetParameters().

◆ fBy

Double_t CbmFieldPar::fBy
private

Definition at line 99 of file CbmFieldPar.h.

Referenced by GetBy(), getParams(), putParams(), and SetParameters().

◆ fBz

Double_t CbmFieldPar::fBz
private

Definition at line 99 of file CbmFieldPar.h.

Referenced by GetBz(), getParams(), putParams(), and SetParameters().

◆ fDistortionFilename

TString CbmFieldPar::fDistortionFilename
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().

◆ fMapName

TString CbmFieldPar::fMapName
private

Field map name in case of field map

Definition at line 103 of file CbmFieldPar.h.

Referenced by getParams(), MapName(), putParams(), and SetParameters().

◆ fParentName

TString CbmFieldPar::fParentName
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().

◆ fPosX

Double_t CbmFieldPar::fPosX
private

Field centre position for field map

Definition at line 107 of file CbmFieldPar.h.

Referenced by getParams(), GetPositionX(), putParams(), and SetParameters().

◆ fPosY

Double_t CbmFieldPar::fPosY
private

Definition at line 107 of file CbmFieldPar.h.

Referenced by getParams(), GetPositionY(), putParams(), and SetParameters().

◆ fPosZ

Double_t CbmFieldPar::fPosZ
private

Definition at line 107 of file CbmFieldPar.h.

Referenced by getParams(), GetPositionZ(), putParams(), and SetParameters().

◆ fScale

Double_t CbmFieldPar::fScale
private

Scaling factor for field map

Definition at line 111 of file CbmFieldPar.h.

Referenced by getParams(), GetScale(), putParams(), and SetParameters().

◆ fType

Int_t CbmFieldPar::fType
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().

◆ fTypeOfParent

Int_t CbmFieldPar::fTypeOfParent
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().

◆ fXmax

Double_t CbmFieldPar::fXmax
private

Definition at line 93 of file CbmFieldPar.h.

Referenced by getParams(), GetXmax(), putParams(), and SetParameters().

◆ fXmin

Double_t CbmFieldPar::fXmin
private

Field limits in case of constant field

Definition at line 93 of file CbmFieldPar.h.

Referenced by getParams(), GetXmin(), putParams(), and SetParameters().

◆ fYmax

Double_t CbmFieldPar::fYmax
private

Definition at line 94 of file CbmFieldPar.h.

Referenced by getParams(), GetYmax(), putParams(), and SetParameters().

◆ fYmin

Double_t CbmFieldPar::fYmin
private

Definition at line 94 of file CbmFieldPar.h.

Referenced by getParams(), GetYmin(), putParams(), and SetParameters().

◆ fZmax

Double_t CbmFieldPar::fZmax
private

Definition at line 95 of file CbmFieldPar.h.

Referenced by getParams(), GetZmax(), putParams(), and SetParameters().

◆ fZmin

Double_t CbmFieldPar::fZmin
private

Definition at line 95 of file CbmFieldPar.h.

Referenced by getParams(), GetZmin(), putParams(), and SetParameters().


The documentation for this class was generated from the following files: