CbmRoot
CbmFieldMapSym3.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmFieldMapSym3 header file -----
3 // ----- Created 12/01/04 by M. Al/Turany (CbmField.h) -----
4 // ----- Redesign 20/02/06 by V. Friese -----
5 // -------------------------------------------------------------------------
6 
7 
25 #ifndef CBMMAGFIELDMAPSYM3_H
26 #define CBMMAGFIELDMAPSYM3_H 1
27 
28 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
29 #include <RtypesCore.h> // for Double_t, Int_t, Bool_t
30 
31 #include "CbmFieldMap.h" // for CbmFieldMap
32 
33 class CbmFieldPar;
34 
35 class CbmFieldMapSym3 : public CbmFieldMap {
36 
37 
38 public:
41 
42 
47  CbmFieldMapSym3(const char* mapName, const char* fileType = "R");
48 
49 
51  CbmFieldMapSym3(CbmFieldPar* fieldPar);
52 
53 
55  virtual ~CbmFieldMapSym3();
56 
57 
62  virtual Double_t GetBx(Double_t x, Double_t y, Double_t z);
63  virtual Double_t GetBy(Double_t x, Double_t y, Double_t z);
64  virtual Double_t GetBz(Double_t x, Double_t y, Double_t z);
65 
66 
73  virtual Bool_t IsInside(Double_t x,
74  Double_t y,
75  Double_t z,
76  Int_t& ix,
77  Int_t& iy,
78  Int_t& iz,
79  Double_t& dx,
80  Double_t& dy,
81  Double_t& dz);
82 
83 
84 protected:
86  Double_t fHemiX, fHemiY, fHemiZ;
87 
88 
89  ClassDef(CbmFieldMapSym3, 1)
90 };
91 
92 
93 #endif
CbmFieldMapSym3
Definition: CbmFieldMapSym3.h:35
CbmFieldMap::GetBy
TArrayF * GetBy() const
Definition: CbmFieldMap.h:159
CbmFieldMapSym3::CbmFieldMapSym3
CbmFieldMapSym3()
Definition: CbmFieldMapSym3.cxx:11
CbmFieldMapSym3::IsInside
virtual 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: CbmFieldMapSym3.cxx:133
CbmFieldMapSym3::fHemiZ
Double_t fHemiZ
Definition: CbmFieldMapSym3.h:86
CbmFieldMap::GetBz
TArrayF * GetBz() const
Definition: CbmFieldMap.h:160
CbmFieldMap
Definition: CbmFieldMap.h:34
CbmFieldMapSym3::fHemiY
Double_t fHemiY
Definition: CbmFieldMapSym3.h:86
CbmFieldMapSym3::fHemiX
Double_t fHemiX
Definition: CbmFieldMapSym3.h:86
CbmFieldMapSym3::~CbmFieldMapSym3
virtual ~CbmFieldMapSym3()
Definition: CbmFieldMapSym3.cxx:35
x
Double_t x
Definition: CbmMvdSensorDigiToHitTask.cxx:68
y
Double_t y
Definition: CbmMvdSensorDigiToHitTask.cxx:68
CbmFieldMap.h
CbmFieldPar
Definition: CbmFieldPar.h:31
CbmFieldMap::GetBx
TArrayF * GetBx() const
Definition: CbmFieldMap.h:158