CbmRoot
CbmLitFieldGridCreator.h
Go to the documentation of this file.
1
10
#ifndef CBMLITFIELDGRIDCREATOR_H_
11
#define CBMLITFIELDGRIDCREATOR_H_
12
13
#include "../../parallel/LitFieldGrid.h"
14
#include <vector>
15
class
FairField;
16
17
class
CbmLitFieldGridCreator
{
18
public
:
22
CbmLitFieldGridCreator
();
23
27
virtual
~CbmLitFieldGridCreator
();
28
33
void
SetXangle
(
float
xangle) {
fXangle
= xangle; }
34
39
void
SetYangle
(
float
yangle) {
fYangle
= yangle; }
40
45
void
SetCellSizeX
(
int
cellSizeX) {
fCellSizeX
= cellSizeX; }
46
51
void
SetCellSizeY
(
int
cellSizeY) {
fCellSizeY
= cellSizeY; }
52
59
void
CreateGrid
(
fscal
Z,
lit::parallel::LitFieldGrid
& grid);
60
61
private
:
62
FairField*
fField
;
// Magnetic field
63
64
float
fXangle
;
// Acceptance angle for X [grad]
65
float
fYangle
;
// Acceptance angle for Y [grad]
66
67
float
fCellSizeX
;
// Cell size along X [cm]
68
float
fCellSizeY
;
// Cell size along Y [cm]
69
};
70
71
#endif
/* CBMLITFIELDGRIDCREATOR_H_ */
CbmLitFieldGridCreator::~CbmLitFieldGridCreator
virtual ~CbmLitFieldGridCreator()
Destructor.
Definition:
CbmLitFieldGridCreator.cxx:21
fscal
float fscal
Definition:
L1/vectors/P4_F32vec4.h:250
CbmLitFieldGridCreator::SetXangle
void SetXangle(float xangle)
Set acceptance angle for X.
Definition:
CbmLitFieldGridCreator.h:33
CbmLitFieldGridCreator::fXangle
float fXangle
Definition:
CbmLitFieldGridCreator.h:64
CbmLitFieldGridCreator
Definition:
CbmLitFieldGridCreator.h:17
CbmLitFieldGridCreator::SetCellSizeX
void SetCellSizeX(int cellSizeX)
Set cell size for X.
Definition:
CbmLitFieldGridCreator.h:45
CbmLitFieldGridCreator::CbmLitFieldGridCreator
CbmLitFieldGridCreator()
Constructor.
Definition:
CbmLitFieldGridCreator.cxx:14
lit::parallel::LitFieldGrid
Class stores a grid of magnetic field values in XY slice at Z position.
Definition:
LitFieldGrid.h:44
CbmLitFieldGridCreator::fYangle
float fYangle
Definition:
CbmLitFieldGridCreator.h:65
CbmLitFieldGridCreator::SetYangle
void SetYangle(float yangle)
Set acceptance angle for Y.
Definition:
CbmLitFieldGridCreator.h:39
CbmLitFieldGridCreator::fCellSizeX
float fCellSizeX
Definition:
CbmLitFieldGridCreator.h:67
CbmLitFieldGridCreator::fCellSizeY
float fCellSizeY
Definition:
CbmLitFieldGridCreator.h:68
CbmLitFieldGridCreator::SetCellSizeY
void SetCellSizeY(int cellSizeY)
Set cell size for Y.
Definition:
CbmLitFieldGridCreator.h:51
CbmLitFieldGridCreator::fField
FairField * fField
Definition:
CbmLitFieldGridCreator.h:62
CbmLitFieldGridCreator::CreateGrid
void CreateGrid(fscal Z, lit::parallel::LitFieldGrid &grid)
Main function which creates grid with magnetic field values in (X, Y) slice.
Definition:
CbmLitFieldGridCreator.cxx:23
reco
littrack
cbm
base
CbmLitFieldGridCreator.h
Generated on Wed Oct 28 2020 15:11:39 for CbmRoot by
1.8.18