CbmRoot
CbmLitMapField Class Reference

#include <CbmLitMapField.h>

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

Public Member Functions

 CbmLitMapField (FairField *field)
 
virtual ~CbmLitMapField ()
 
void GetFieldValue (litfloat x, litfloat y, litfloat z, litfloat &Bx, litfloat &By, litfloat &Bz) const
 Return field value at (x,y,z) position. More...
 
virtual std::string ToString () const
 

Private Attributes

FairField * fField
 

Detailed Description

CbmLitMapField.h

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Since
2009
Version
1.0

Interface to CBM field map.

Definition at line 16 of file CbmLitMapField.h.

Constructor & Destructor Documentation

◆ CbmLitMapField()

CbmLitMapField::CbmLitMapField ( FairField *  field)
inline

Definition at line 19 of file CbmLitMapField.h.

◆ ~CbmLitMapField()

virtual CbmLitMapField::~CbmLitMapField ( )
inlinevirtual

Definition at line 22 of file CbmLitMapField.h.

Member Function Documentation

◆ GetFieldValue()

void CbmLitMapField::GetFieldValue ( litfloat  x,
litfloat  y,
litfloat  z,
litfloat Bx,
litfloat By,
litfloat Bz 
) const
inlinevirtual

Return field value at (x,y,z) position.

Parameters
[in]xX coordinate [cm].
[in]yY coordinate [cm].
[in]zZ coordinate [cm].
[out]BxOutput Bx field value [kGauss].
[out]ByOutput By field value [kGauss].
[out]BzOutput Bz field value [kGauss].

Implements CbmLitField.

Definition at line 25 of file CbmLitMapField.h.

References fField, pos, x, and y.

◆ ToString()

virtual std::string CbmLitMapField::ToString ( ) const
inlinevirtual

Reimplemented from CbmLitField.

Definition at line 40 of file CbmLitMapField.h.

Member Data Documentation

◆ fField

FairField* CbmLitMapField::fField
private

Definition at line 43 of file CbmLitMapField.h.

Referenced by GetFieldValue().


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