BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnMapPar Class Reference

#include <BmnMapPar.h>

Inheritance diagram for BmnMapPar:
Collaboration diagram for BmnMapPar:

Public Member Functions

 BmnMapPar (const char *name, const char *title, const char *context)
 Standard constructor.
 BmnMapPar ()
 default constructor
 ~BmnMapPar ()
 Destructor.
virtual void putParams (FairParamList *list)
 Put parameters.
virtual Bool_t getParams (FairParamList *list)
 Get parameters.
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

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 BmnMapPar.h.

Constructor & Destructor Documentation

◆ BmnMapPar() [1/2]

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

Definition at line 11 of file BmnMapPar.cxx.

References fMapName, fPosX, fPosY, fPosZ, fScale, fType, fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.

Referenced by BmnConstPar::BmnConstPar(), and BmnMultiFieldPar::BmnMultiFieldPar().

Here is the caller graph for this function:

◆ BmnMapPar() [2/2]

BmnMapPar::BmnMapPar ( )

Definition at line 22 of file BmnMapPar.cxx.

References fMapName, fPosX, fPosY, fPosZ, fScale, fType, fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.

◆ ~BmnMapPar()

BmnMapPar::~BmnMapPar ( )

Definition at line 32 of file BmnMapPar.cxx.

Member Function Documentation

◆ getParams()

Bool_t BmnMapPar::getParams ( FairParamList * list)
virtual

Reimplemented in BmnConstPar, and BmnMultiFieldPar.

Definition at line 50 of file BmnMapPar.cxx.

References fMapName, fPosX, fPosY, fPosZ, fScale, and fType.

◆ GetPositionX()

Double_t BmnMapPar::GetPositionX ( ) const
inline

Definition at line 40 of file BmnMapPar.h.

References fPosX.

◆ GetPositionY()

Double_t BmnMapPar::GetPositionY ( ) const
inline

Definition at line 41 of file BmnMapPar.h.

References fPosY.

◆ GetPositionZ()

Double_t BmnMapPar::GetPositionZ ( ) const
inline

Definition at line 42 of file BmnMapPar.h.

References fPosZ.

◆ GetScale()

Double_t BmnMapPar::GetScale ( ) const
inline

Definition at line 43 of file BmnMapPar.h.

References fScale.

◆ GetType()

Int_t BmnMapPar::GetType ( ) const
inline

Definition at line 32 of file BmnMapPar.h.

References fType.

◆ GetXmax()

Double_t BmnMapPar::GetXmax ( ) const
inline

Definition at line 34 of file BmnMapPar.h.

References fXmax.

◆ GetXmin()

Double_t BmnMapPar::GetXmin ( ) const
inline

Definition at line 33 of file BmnMapPar.h.

References fXmin.

◆ GetYmax()

Double_t BmnMapPar::GetYmax ( ) const
inline

Definition at line 36 of file BmnMapPar.h.

References fYmax.

◆ GetYmin()

Double_t BmnMapPar::GetYmin ( ) const
inline

Definition at line 35 of file BmnMapPar.h.

References fYmin.

◆ GetZmax()

Double_t BmnMapPar::GetZmax ( ) const
inline

Definition at line 38 of file BmnMapPar.h.

References fZmax.

◆ GetZmin()

Double_t BmnMapPar::GetZmin ( ) const
inline

Definition at line 37 of file BmnMapPar.h.

References fZmin.

◆ MapName()

void BmnMapPar::MapName ( TString & name)
inline

Definition at line 39 of file BmnMapPar.h.

References fMapName.

◆ putParams()

void BmnMapPar::putParams ( FairParamList * list)
virtual

Reimplemented in BmnConstPar, and BmnMultiFieldPar.

Definition at line 35 of file BmnMapPar.cxx.

References fMapName, fPosX, fPosY, fPosZ, fScale, and fType.

◆ SetParameters()

void BmnMapPar::SetParameters ( FairField * field)

Definition at line 75 of file BmnMapPar.cxx.

References fMapName, fPosX, fPosY, fPosZ, fScale, fType, fXmax, fXmin, fYmax, fYmin, fZmax, fZmin, BmnFieldMap::GetPositionX(), BmnFieldMap::GetPositionY(), BmnFieldMap::GetPositionZ(), and BmnFieldMap::GetScale().

Here is the call graph for this function:

Member Data Documentation

◆ fMapName

TString BmnMapPar::fMapName
protected

◆ fPosX

Double_t BmnMapPar::fPosX
protected

◆ fPosY

Double_t BmnMapPar::fPosY
protected

◆ fPosZ

Double_t BmnMapPar::fPosZ
protected

◆ fScale

Double_t BmnMapPar::fScale
protected

◆ fType

◆ fXmax

◆ fXmin

◆ fYmax

◆ fYmin

◆ fZmax

◆ fZmin


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