BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnConstPar Class Reference

#include <BmnConstPar.h>

Inheritance diagram for BmnConstPar:
Collaboration diagram for BmnConstPar:

Public Member Functions

 BmnConstPar (const char *name, const char *title, const char *context)
 Standard constructor.
 BmnConstPar ()
 default constructor
 ~BmnConstPar ()
 Destructor.
void putParams (FairParamList *list)
 Put parameters.
Bool_t getParams (FairParamList *list)
 Get parameters.
void SetParameters (FairField *field)
 Set parameters from FairField.
Double_t GetBx () const
Double_t GetBy () const
Double_t GetBz () const
 BmnConstPar (const char *name, const char *title, const char *context)
 Standard constructor.
 BmnConstPar ()
 default constructor
 ~BmnConstPar ()
 Destructor.
void putParams (FairParamList *list)
 Put parameters.
Bool_t getParams (FairParamList *list)
 Get parameters.
void SetParameters (FairField *field)
 Set parameters from FairField.
Double_t GetBx () const
Double_t GetBy () const
Double_t GetBz () const
Public Member Functions inherited from BmnMapPar
 BmnMapPar (const char *name, const char *title, const char *context)
 Standard constructor.
 BmnMapPar ()
 default constructor
 ~BmnMapPar ()
 Destructor.
void SetParameters (FairField *field)
 Set parameters from FairField.
Int_t GetType () const
 Accessors.
Double_t GetXmin () const
Double_t GetXmax () const
Double_t GetYmin () const
Double_t GetYmax () const
Double_t GetZmin () const
Double_t GetZmax () const
void MapName (TString &name)
Double_t GetPositionX () const
Double_t GetPositionY () const
Double_t GetPositionZ () const
Double_t GetScale () const
 BmnMapPar (const char *name, const char *title, const char *context)
 Standard constructor.
 BmnMapPar ()
 default constructor
 ~BmnMapPar ()
 Destructor.
void SetParameters (FairField *field)
 Set parameters from FairField.
Int_t GetType () const
 Accessors.
Double_t GetXmin () const
Double_t GetXmax () const
Double_t GetYmin () const
Double_t GetYmax () const
Double_t GetZmin () const
Double_t GetZmax () const
void MapName (TString &name)
Double_t GetPositionX () const
Double_t GetPositionY () const
Double_t GetPositionZ () const
Double_t GetScale () const

Protected Attributes

Double_t fBx
 Field values in [kG].
Double_t fBy
Double_t fBz
Protected Attributes inherited from BmnMapPar
Int_t fType
 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).
Double_t fXmin
 Field limits in case of constant field.
Double_t fXmax
Double_t fYmin
Double_t fYmax
Double_t fZmin
Double_t fZmax
TString fMapName
 Field map name in case of field map.
Double_t fPosX
 Field centre position for field map.
Double_t fPosY
Double_t fPosZ
Double_t fScale
 Scaling factor for field map.

Detailed Description

Definition at line 9 of file BmnConstPar.h.

Constructor & Destructor Documentation

◆ BmnConstPar() [1/4]

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

Definition at line 7 of file BmnConstPar.cxx.

References BmnMapPar::BmnMapPar(), fBx, fBy, fBz, and BmnMapPar::fType.

Here is the call graph for this function:

◆ BmnConstPar() [2/4]

BmnConstPar::BmnConstPar ( )

Definition at line 15 of file BmnConstPar.cxx.

References fBx, fBy, fBz, and BmnMapPar::fType.

◆ ~BmnConstPar() [1/2]

BmnConstPar::~BmnConstPar ( )

Definition at line 22 of file BmnConstPar.cxx.

◆ BmnConstPar() [3/4]

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

◆ BmnConstPar() [4/4]

BmnConstPar::BmnConstPar ( )

◆ ~BmnConstPar() [2/2]

BmnConstPar::~BmnConstPar ( )

Member Function Documentation

◆ GetBx() [1/2]

Double_t BmnConstPar::GetBx ( ) const
inline

Definition at line 30 of file BmnConstPar.h.

References fBx.

◆ GetBx() [2/2]

Double_t BmnConstPar::GetBx ( ) const
inline

Definition at line 30 of file BmnConstPar.h.

References fBx.

◆ GetBy() [1/2]

Double_t BmnConstPar::GetBy ( ) const
inline

Definition at line 31 of file BmnConstPar.h.

References fBy.

◆ GetBy() [2/2]

Double_t BmnConstPar::GetBy ( ) const
inline

Definition at line 31 of file BmnConstPar.h.

References fBy.

◆ GetBz() [1/2]

Double_t BmnConstPar::GetBz ( ) const
inline

Definition at line 32 of file BmnConstPar.h.

References fBz.

◆ GetBz() [2/2]

Double_t BmnConstPar::GetBz ( ) const
inline

Definition at line 32 of file BmnConstPar.h.

References fBz.

◆ getParams() [1/2]

Bool_t BmnConstPar::getParams ( FairParamList * list)
virtual

◆ getParams() [2/2]

Bool_t BmnConstPar::getParams ( FairParamList * list)
virtual

Reimplemented from BmnMapPar.

◆ putParams() [1/2]

void BmnConstPar::putParams ( FairParamList * list)
virtual

◆ putParams() [2/2]

void BmnConstPar::putParams ( FairParamList * list)
virtual

Reimplemented from BmnMapPar.

◆ SetParameters() [1/2]

void BmnConstPar::SetParameters ( FairField * field)

Definition at line 72 of file BmnConstPar.cxx.

References fBx, fBy, fBz, BmnMapPar::fMapName, BmnMapPar::fPosX, BmnMapPar::fPosY, BmnMapPar::fPosZ, BmnMapPar::fScale, BmnMapPar::fType, BmnMapPar::fXmax, BmnMapPar::fXmin, BmnMapPar::fYmax, BmnMapPar::fYmin, BmnMapPar::fZmax, BmnMapPar::fZmin, BmnFieldConst::GetBx(), BmnFieldConst::GetBy(), BmnFieldConst::GetBz(), BmnFieldConst::GetXmax(), BmnFieldConst::GetXmin(), BmnFieldConst::GetYmax(), BmnFieldConst::GetYmin(), BmnFieldConst::GetZmax(), and BmnFieldConst::GetZmin().

Referenced by BmnMultiFieldPar::SetParameters().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetParameters() [2/2]

void BmnConstPar::SetParameters ( FairField * field)

Member Data Documentation

◆ fBx

Double_t BmnConstPar::fBx
protected

Definition at line 36 of file BmnConstPar.h.

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

◆ fBy

Double_t BmnConstPar::fBy
protected

Definition at line 36 of file BmnConstPar.h.

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

◆ fBz

Double_t BmnConstPar::fBz
protected

Definition at line 36 of file BmnConstPar.h.

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


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