BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnNewFieldMap.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- BmnNewFieldMap header file -----
3
// ----- Created 03/02/2015 by P. Batyuk -----
4
// -------------------------------------------------------------------------
5
6
/** Field Map does not have any symmetries w.r.t coordinate axises **/
7
8
#ifndef BMNNEWFIELDMAP_H
9
#define BMNNEWFIELDMAP_H 1
10
11
#include "
BmnFieldMap.h
"
12
#include "
BmnFieldPar.h
"
13
#include "
TArrayF.h
"
14
15
class
BmnNewFieldMap
:
public
BmnFieldMap
16
{
17
public
:
18
BmnNewFieldMap
();
19
BmnNewFieldMap
(
const
char
* mapFileName);
20
BmnNewFieldMap
(
BmnFieldPar
* fieldPar);
21
22
virtual
~BmnNewFieldMap
();
23
24
virtual
Double_t
GetBx
(
Double_t
x,
Double_t
y,
Double_t
z);
25
virtual
Double_t
GetBy
(
Double_t
x,
Double_t
y,
Double_t
z);
26
virtual
Double_t
GetBz
(
Double_t
x,
Double_t
y,
Double_t
z);
27
28
Bool_t
IsInside
(
Double_t
x,
29
Double_t
y,
30
Double_t
z,
31
Int_t
& ix,
32
Int_t
& iy,
33
Int_t
& iz,
34
Double_t
& dx,
35
Double_t
& dy,
36
Double_t
& dz);
37
38
void
FillParContainer
();
39
40
protected
:
41
Double_t
FieldInterpolate
(
TArrayF
* fcomp,
Double_t
x,
Double_t
y,
Double_t
z);
42
43
ClassDef
(
BmnNewFieldMap
, 1)
44
};
45
46
#endif
Bool_t
bool Bool_t
Int_t
int Int_t
Double_t
double Double_t
ClassDef
#define ClassDef(name, id)
TArrayF.h
BmnFieldMap::GetBx
TArrayF * GetBx() const
Accessors to the field value arrays.
Definition
BmnFieldMap.h:96
BmnFieldMap::GetBy
TArrayF * GetBy() const
Definition
BmnFieldMap.h:97
BmnFieldMap::GetBz
TArrayF * GetBz() const
Definition
BmnFieldMap.h:98
BmnFieldMap::BmnFieldMap
BmnFieldMap()
Definition
BmnFieldMap.cxx:18
BmnFieldPar
Definition
BmnFieldPar.h:26
BmnNewFieldMap::BmnNewFieldMap
BmnNewFieldMap()
Definition
BmnNewFieldMap.cxx:15
BmnNewFieldMap::FieldInterpolate
Double_t FieldInterpolate(TArrayF *fcomp, Double_t x, Double_t y, Double_t z)
Definition
BmnNewFieldMap.cxx:83
BmnNewFieldMap::IsInside
Bool_t IsInside(Double_t x, Double_t y, Double_t z, Int_t &ix, Int_t &iy, Int_t &iz, Double_t &dx, Double_t &dy, Double_t &dz)
Definition
BmnNewFieldMap.cxx:50
BmnNewFieldMap::FillParContainer
void FillParContainer()
Definition
BmnNewFieldMap.cxx:126
BmnNewFieldMap::~BmnNewFieldMap
virtual ~BmnNewFieldMap()
Definition
BmnNewFieldMap.cxx:33
TArrayF
BmnFieldMap.h
BmnFieldPar.h
field
BmnNewFieldMap.h
Generated on
for BmnRoot by
1.17.0