CbmRoot
|
#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 |
Definition at line 22 of file CbmLitFieldGridCreator.h.
CbmLitFieldGridCreator::CbmLitFieldGridCreator | ( | ) |
Constructor.
Definition at line 18 of file CbmLitFieldGridCreator.cxx.
|
virtual |
Destructor.
Definition at line 27 of file CbmLitFieldGridCreator.cxx.
void CbmLitFieldGridCreator::CreateGrid | ( | fscal | Z, |
lit::parallel::LitFieldGrid & | grid ) |
Main function which creates grid with magnetic field values in (X, Y) slice.
[in] | Z | Z position of the slice. |
[out] | grid | Output 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().
|
inline |
Set cell size for X.
[in] | cellSizeX | Cell size value. |
Definition at line 50 of file CbmLitFieldGridCreator.h.
References fCellSizeX.
|
inline |
Set cell size for Y.
[in] | cellSizeY | Cell size value. |
Definition at line 56 of file CbmLitFieldGridCreator.h.
References fCellSizeY.
|
inline |
Set acceptance angle for X.
[in] | xangle | Angle value. |
Definition at line 38 of file CbmLitFieldGridCreator.h.
References fXangle.
|
inline |
Set acceptance angle for Y.
[in] | yangle | Angle value. |
Definition at line 44 of file CbmLitFieldGridCreator.h.
References fYangle.
|
private |
Definition at line 72 of file CbmLitFieldGridCreator.h.
Referenced by CreateGrid(), and SetCellSizeX().
|
private |
Definition at line 73 of file CbmLitFieldGridCreator.h.
Referenced by CreateGrid(), and SetCellSizeY().
|
private |
Definition at line 67 of file CbmLitFieldGridCreator.h.
Referenced by CreateGrid().
|
private |
Definition at line 69 of file CbmLitFieldGridCreator.h.
Referenced by CreateGrid(), and SetXangle().
|
private |
Definition at line 70 of file CbmLitFieldGridCreator.h.
Referenced by CreateGrid(), and SetYangle().