CbmRoot
CbmLitFieldGridCreator Class Reference

#include <CbmLitFieldGridCreator.h>

Public Member Functions

 CbmLitFieldGridCreator ()
 Constructor. More...
 
virtual ~CbmLitFieldGridCreator ()
 Destructor. More...
 
void SetXangle (float xangle)
 Set acceptance angle for X. More...
 
void SetYangle (float yangle)
 Set acceptance angle for Y. More...
 
void SetCellSizeX (int cellSizeX)
 Set cell size for X. More...
 
void SetCellSizeY (int cellSizeY)
 Set cell size for Y. More...
 
void CreateGrid (fscal Z, lit::parallel::LitFieldGrid &grid)
 Main function which creates grid with magnetic field values in (X, Y) slice. More...
 

Private Attributes

FairField * fField
 
float fXangle
 
float fYangle
 
float fCellSizeX
 
float fCellSizeY
 

Detailed Description

Definition at line 17 of file CbmLitFieldGridCreator.h.

Constructor & Destructor Documentation

◆ CbmLitFieldGridCreator()

CbmLitFieldGridCreator::CbmLitFieldGridCreator ( )

Constructor.

Definition at line 14 of file CbmLitFieldGridCreator.cxx.

◆ ~CbmLitFieldGridCreator()

CbmLitFieldGridCreator::~CbmLitFieldGridCreator ( )
virtual

Destructor.

Definition at line 21 of file CbmLitFieldGridCreator.cxx.

Member Function Documentation

◆ CreateGrid()

void CbmLitFieldGridCreator::CreateGrid ( fscal  Z,
lit::parallel::LitFieldGrid grid 
)

Main function which creates grid with magnetic field values in (X, Y) slice.

Parameters
[in]ZZ position of the slice.
[out]gridOutput grid.

Definition at line 23 of file CbmLitFieldGridCreator.cxx.

References fCellSizeX, fCellSizeY, fField, fXangle, fYangle, i, pos, lit::parallel::LitFieldGrid::SetField(), lit::parallel::LitFieldGrid::SetZ(), and v.

Referenced by CbmLitFieldApproximationQa::FillGridCreatorHistos(), and CbmLitTrackingGeometryConstructor::GetTrdLayout().

◆ SetCellSizeX()

void CbmLitFieldGridCreator::SetCellSizeX ( int  cellSizeX)
inline

Set cell size for X.

Parameters
[in]cellSizeXCell size value.

Definition at line 45 of file CbmLitFieldGridCreator.h.

References fCellSizeX.

◆ SetCellSizeY()

void CbmLitFieldGridCreator::SetCellSizeY ( int  cellSizeY)
inline

Set cell size for Y.

Parameters
[in]cellSizeYCell size value.

Definition at line 51 of file CbmLitFieldGridCreator.h.

References fCellSizeY.

◆ SetXangle()

void CbmLitFieldGridCreator::SetXangle ( float  xangle)
inline

Set acceptance angle for X.

Parameters
[in]xangleAngle value.

Definition at line 33 of file CbmLitFieldGridCreator.h.

References fXangle.

◆ SetYangle()

void CbmLitFieldGridCreator::SetYangle ( float  yangle)
inline

Set acceptance angle for Y.

Parameters
[in]yangleAngle value.

Definition at line 39 of file CbmLitFieldGridCreator.h.

References fYangle.

Member Data Documentation

◆ fCellSizeX

float CbmLitFieldGridCreator::fCellSizeX
private

Definition at line 67 of file CbmLitFieldGridCreator.h.

Referenced by CreateGrid(), and SetCellSizeX().

◆ fCellSizeY

float CbmLitFieldGridCreator::fCellSizeY
private

Definition at line 68 of file CbmLitFieldGridCreator.h.

Referenced by CreateGrid(), and SetCellSizeY().

◆ fField

FairField* CbmLitFieldGridCreator::fField
private

Definition at line 62 of file CbmLitFieldGridCreator.h.

Referenced by CreateGrid().

◆ fXangle

float CbmLitFieldGridCreator::fXangle
private

Definition at line 64 of file CbmLitFieldGridCreator.h.

Referenced by CreateGrid(), and SetXangle().

◆ fYangle

float CbmLitFieldGridCreator::fYangle
private

Definition at line 65 of file CbmLitFieldGridCreator.h.

Referenced by CreateGrid(), and SetYangle().


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