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

#include <CbmLitFieldGridCreator.h>

Public Member Functions

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

Private Attributes

FairField * fField
 
float fXangle
 
float fYangle
 
float fCellSizeX
 
float fCellSizeY
 

Detailed Description

Definition at line 22 of file CbmLitFieldGridCreator.h.

Constructor & Destructor Documentation

◆ CbmLitFieldGridCreator()

CbmLitFieldGridCreator::CbmLitFieldGridCreator ( )

Constructor.

Definition at line 18 of file CbmLitFieldGridCreator.cxx.

◆ ~CbmLitFieldGridCreator()

CbmLitFieldGridCreator::~CbmLitFieldGridCreator ( )
virtual

Destructor.

Definition at line 27 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 29 of file CbmLitFieldGridCreator.cxx.

References lit::parallel::LitFieldValue< T >::Bx, fCellSizeX, fCellSizeY, fField, fXangle, fYangle, 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 50 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 56 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 38 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 44 of file CbmLitFieldGridCreator.h.

References fYangle.

Member Data Documentation

◆ fCellSizeX

float CbmLitFieldGridCreator::fCellSizeX
private

Definition at line 72 of file CbmLitFieldGridCreator.h.

Referenced by CreateGrid(), and SetCellSizeX().

◆ fCellSizeY

float CbmLitFieldGridCreator::fCellSizeY
private

Definition at line 73 of file CbmLitFieldGridCreator.h.

Referenced by CreateGrid(), and SetCellSizeY().

◆ fField

FairField* CbmLitFieldGridCreator::fField
private

Definition at line 67 of file CbmLitFieldGridCreator.h.

Referenced by CreateGrid().

◆ fXangle

float CbmLitFieldGridCreator::fXangle
private

Definition at line 69 of file CbmLitFieldGridCreator.h.

Referenced by CreateGrid(), and SetXangle().

◆ fYangle

float CbmLitFieldGridCreator::fYangle
private

Definition at line 70 of file CbmLitFieldGridCreator.h.

Referenced by CreateGrid(), and SetYangle().


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