BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnFieldMapData.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- BmnFieldMapData header file -----
3
// ----- V. Friese 13/02/06 -----
4
// -------------------------------------------------------------------------
5
6
/** BmnFieldMapData.h
7
** @author V.Friese <v.friese@gsi.de>
8
** @since 14.02.2006
9
** @version1.0
10
**
11
** This class holds the real data arrays of a magnetic field map,
12
** which are read from / written to file. Nota bene: Field values
13
** are in Tesla, in contrast to BmnFieldMap, whcih holds the
14
** field in kG.
15
**/
16
17
#ifndef CBMMAGFIELDMAPDATA_H
18
#define CBMMAGFIELDMAPDATA_H
19
20
#include "
TNamed.h
"
21
22
class
TArrayF
;
23
24
class
BmnFieldMap
;
25
26
class
BmnFieldMapData
:
public
TNamed
27
{
28
29
public
:
30
/** Default constructor **/
31
BmnFieldMapData
();
32
33
/** Standard constructor **/
34
BmnFieldMapData
(
const
char
* name);
35
36
/** Constructor from an existing BmnFieldMap **/
37
BmnFieldMapData
(
const
char
* name,
const
BmnFieldMap
& map);
38
39
/** Destructor **/
40
virtual
~BmnFieldMapData
();
41
42
/** Accessors to field parameters in local coordinate system **/
43
Int_t
GetType
()
const
{
return
fType
; }
44
Double_t
GetXmin
()
const
{
return
fXmin
; }
45
Double_t
GetYmin
()
const
{
return
fYmin
; }
46
Double_t
GetZmin
()
const
{
return
fZmin
; }
47
Double_t
GetXmax
()
const
{
return
fXmax
; }
48
Double_t
GetYmax
()
const
{
return
fYmax
; }
49
Double_t
GetZmax
()
const
{
return
fZmax
; }
50
Int_t
GetNx
()
const
{
return
fNx
; }
51
Int_t
GetNy
()
const
{
return
fNy
; }
52
Int_t
GetNz
()
const
{
return
fNz
; }
53
54
/** Accessors to the field value arrays **/
55
TArrayF
*
GetBx
()
const
{
return
fBx
; }
56
TArrayF
*
GetBy
()
const
{
return
fBy
; }
57
TArrayF
*
GetBz
()
const
{
return
fBz
; }
58
59
private
:
60
/** Type of map. 1 = BmnFieldMap, 2 = Sym2, 3 = Sym3 **/
61
Int_t
fType
;
62
63
/** Field limits in local coordinate system **/
64
Double_t
fXmin
,
fXmax
;
65
Double_t
fYmin
,
fYmax
;
66
Double_t
fZmin
,
fZmax
;
67
68
/** Number of grid points **/
69
Int_t
fNx
,
fNy
,
fNz
;
70
71
/** Arrays with the field values in T **/
72
TArrayF
*
fBx
;
73
TArrayF
*
fBy
;
74
TArrayF
*
fBz
;
75
76
BmnFieldMapData
(
const
BmnFieldMapData
&) =
delete
;
77
BmnFieldMapData
&
operator=
(
const
BmnFieldMapData
&) =
delete
;
78
79
ClassDef
(
BmnFieldMapData
, 1)
80
};
81
82
#endif
Int_t
int Int_t
Double_t
double Double_t
ClassDef
#define ClassDef(name, id)
TNamed.h
BmnFieldMapData
Definition
BmnFieldMapData.h:27
BmnFieldMapData::fZmin
Double_t fZmin
Definition
BmnFieldMapData.h:66
BmnFieldMapData::GetBy
TArrayF * GetBy() const
Definition
BmnFieldMapData.h:56
BmnFieldMapData::GetYmax
Double_t GetYmax() const
Definition
BmnFieldMapData.h:48
BmnFieldMapData::fBx
TArrayF * fBx
Arrays with the field values in T.
Definition
BmnFieldMapData.h:72
BmnFieldMapData::BmnFieldMapData
BmnFieldMapData(const char *name)
Standard constructor.
BmnFieldMapData::fNz
Int_t fNz
Definition
BmnFieldMapData.h:69
BmnFieldMapData::GetZmin
Double_t GetZmin() const
Definition
BmnFieldMapData.h:46
BmnFieldMapData::GetXmin
Double_t GetXmin() const
Definition
BmnFieldMapData.h:44
BmnFieldMapData::GetBz
TArrayF * GetBz() const
Definition
BmnFieldMapData.h:57
BmnFieldMapData::fZmax
Double_t fZmax
Definition
BmnFieldMapData.h:66
BmnFieldMapData::GetNz
Int_t GetNz() const
Definition
BmnFieldMapData.h:52
BmnFieldMapData::fNy
Int_t fNy
Definition
BmnFieldMapData.h:69
BmnFieldMapData::GetType
Int_t GetType() const
Accessors to field parameters in local coordinate system.
Definition
BmnFieldMapData.h:43
BmnFieldMapData::operator=
BmnFieldMapData & operator=(const BmnFieldMapData &)=delete
BmnFieldMapData::fYmax
Double_t fYmax
Definition
BmnFieldMapData.h:65
BmnFieldMapData::BmnFieldMapData
BmnFieldMapData()
Default constructor.
BmnFieldMapData::BmnFieldMapData
BmnFieldMapData(const char *name, const BmnFieldMap &map)
Constructor from an existing BmnFieldMap.
BmnFieldMapData::GetXmax
Double_t GetXmax() const
Definition
BmnFieldMapData.h:47
BmnFieldMapData::fBy
TArrayF * fBy
Definition
BmnFieldMapData.h:73
BmnFieldMapData::GetNy
Int_t GetNy() const
Definition
BmnFieldMapData.h:51
BmnFieldMapData::BmnFieldMapData
BmnFieldMapData(const BmnFieldMapData &)=delete
BmnFieldMapData::GetBx
TArrayF * GetBx() const
Accessors to the field value arrays.
Definition
BmnFieldMapData.h:55
BmnFieldMapData::fBz
TArrayF * fBz
Definition
BmnFieldMapData.h:74
BmnFieldMapData::fYmin
Double_t fYmin
Definition
BmnFieldMapData.h:65
BmnFieldMapData::GetNx
Int_t GetNx() const
Definition
BmnFieldMapData.h:50
BmnFieldMapData::~BmnFieldMapData
virtual ~BmnFieldMapData()
Destructor.
BmnFieldMapData::fXmax
Double_t fXmax
Definition
BmnFieldMapData.h:64
BmnFieldMapData::GetYmin
Double_t GetYmin() const
Definition
BmnFieldMapData.h:45
BmnFieldMapData::fXmin
Double_t fXmin
Field limits in local coordinate system.
Definition
BmnFieldMapData.h:64
BmnFieldMapData::fType
Int_t fType
Type of map.
Definition
BmnFieldMapData.h:61
BmnFieldMapData::fNx
Int_t fNx
Number of grid points.
Definition
BmnFieldMapData.h:69
BmnFieldMapData::GetZmax
Double_t GetZmax() const
Definition
BmnFieldMapData.h:49
BmnFieldMap
Definition
BmnFieldMap.h:22
TArrayF
TNamed
install
include
BmnFieldMapData.h
Generated on
for BmnRoot by
1.17.0