CbmRoot
CbmFieldMapData.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmFieldMapData header file -----
3 // ----- V. Friese 13/02/06 -----
4 // -------------------------------------------------------------------------
5 
6 
19 #ifndef CBMMAGFIELDMAPDATA_H
20 #define CBMMAGFIELDMAPDATA_H
21 
22 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
23 #include <RtypesCore.h> // for Double_t, Int_t
24 #include <TNamed.h> // for TNamed
25 
26 class TArrayF;
27 class CbmFieldMap;
28 
29 class CbmFieldMapData : public TNamed {
30 
31 public:
34 
35 
37  CbmFieldMapData(const char* name);
38 
39 
41  CbmFieldMapData(const char* name, const CbmFieldMap& map);
42 
43 
45  virtual ~CbmFieldMapData();
46 
47 
49  Int_t GetType() const { return fType; }
50  Double_t GetXmin() const { return fXmin; }
51  Double_t GetYmin() const { return fYmin; }
52  Double_t GetZmin() const { return fZmin; }
53  Double_t GetXmax() const { return fXmax; }
54  Double_t GetYmax() const { return fYmax; }
55  Double_t GetZmax() const { return fZmax; }
56  Int_t GetNx() const { return fNx; }
57  Int_t GetNy() const { return fNy; }
58  Int_t GetNz() const { return fNz; }
59 
60 
62  TArrayF* GetBx() const { return fBx; }
63  TArrayF* GetBy() const { return fBy; }
64  TArrayF* GetBz() const { return fBz; }
65 
66 
67 private:
69  Int_t fType;
70 
72  Double_t fXmin, fXmax;
73  Double_t fYmin, fYmax;
74  Double_t fZmin, fZmax;
75 
76 
78  Int_t fNx, fNy, fNz;
79 
80 
82  TArrayF* fBx;
83  TArrayF* fBy;
84  TArrayF* fBz;
85 
88 
89  ClassDef(CbmFieldMapData, 1)
90 };
91 
92 
93 #endif
CbmFieldMapData::~CbmFieldMapData
virtual ~CbmFieldMapData()
Definition: CbmFieldMapData.cxx:85
CbmFieldMapData::GetBz
TArrayF * GetBz() const
Definition: CbmFieldMapData.h:64
CbmFieldMapData::GetYmin
Double_t GetYmin() const
Definition: CbmFieldMapData.h:51
CbmFieldMapData::GetYmax
Double_t GetYmax() const
Definition: CbmFieldMapData.h:54
CbmFieldMapData::fZmax
Double_t fZmax
Definition: CbmFieldMapData.h:74
CbmFieldMapData::fYmin
Double_t fYmin
Definition: CbmFieldMapData.h:73
CbmFieldMapData::GetXmax
Double_t GetXmax() const
Definition: CbmFieldMapData.h:53
CbmFieldMapData::fBz
TArrayF * fBz
Definition: CbmFieldMapData.h:84
CbmFieldMapData::operator=
CbmFieldMapData & operator=(const CbmFieldMapData &)
CbmFieldMapData::fXmin
Double_t fXmin
Definition: CbmFieldMapData.h:72
CbmFieldMapData::GetZmin
Double_t GetZmin() const
Definition: CbmFieldMapData.h:52
CbmFieldMapData::GetNx
Int_t GetNx() const
Definition: CbmFieldMapData.h:56
CbmFieldMapData::fNx
Int_t fNx
Definition: CbmFieldMapData.h:78
CbmFieldMapData::GetBy
TArrayF * GetBy() const
Definition: CbmFieldMapData.h:63
CbmFieldMapData::fXmax
Double_t fXmax
Definition: CbmFieldMapData.h:72
CbmFieldMap
Definition: CbmFieldMap.h:34
CbmFieldMapData::GetType
Int_t GetType() const
Definition: CbmFieldMapData.h:49
CbmFieldMapData::CbmFieldMapData
CbmFieldMapData(const CbmFieldMapData &)
CbmFieldMapData::fZmin
Double_t fZmin
Definition: CbmFieldMapData.h:74
CbmFieldMapData::GetXmin
Double_t GetXmin() const
Definition: CbmFieldMapData.h:50
CbmFieldMapData::fYmax
Double_t fYmax
Definition: CbmFieldMapData.h:73
CbmFieldMapData::GetNy
Int_t GetNy() const
Definition: CbmFieldMapData.h:57
CbmFieldMapData
Definition: CbmFieldMapData.h:29
CbmFieldMapData::fNy
Int_t fNy
Definition: CbmFieldMapData.h:78
CbmFieldMapData::CbmFieldMapData
CbmFieldMapData()
Definition: CbmFieldMapData.cxx:13
CbmFieldMapData::GetZmax
Double_t GetZmax() const
Definition: CbmFieldMapData.h:55
CbmFieldMapData::fType
Int_t fType
Definition: CbmFieldMapData.h:69
CbmFieldMapData::fBy
TArrayF * fBy
Definition: CbmFieldMapData.h:83
CbmFieldMapData::GetNz
Int_t GetNz() const
Definition: CbmFieldMapData.h:58
CbmFieldMapData::GetBx
TArrayF * GetBx() const
Definition: CbmFieldMapData.h:62
CbmFieldMapData::fNz
Int_t fNz
Definition: CbmFieldMapData.h:78
CbmFieldMapData::fBx
TArrayF * fBx
Definition: CbmFieldMapData.h:82