CbmRoot
CbmFieldMapSym2.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmFieldMapSym2 header file -----
3 // ----- Created 09/06/05 by E. Litvinenko (CbmFieldMapLIT.h) -----
4 // ----- Redesign 20/02/06 by V. Friese -----
5 // -------------------------------------------------------------------------
6 
7 
25 #ifndef CBMMAGFIELDMAPSYM2_H
26 #define CBMMAGFIELDMAPSYM2_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 CbmFieldMapSym2 : public CbmFieldMap {
36 
37 
38 public:
41 
42 
47  CbmFieldMapSym2(const char* mapName, const char* fileType = "R");
48 
49 
51  CbmFieldMapSym2(CbmFieldPar* fieldPar);
52 
53 
55  virtual ~CbmFieldMapSym2();
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:
85  // Hemispheres of a point (for temporary use)
86  Double_t fHemiX, fHemiY;
87 
88 
89  ClassDef(CbmFieldMapSym2, 1)
90 };
91 
92 
93 #endif
CbmFieldMap::GetBy
TArrayF * GetBy() const
Definition: CbmFieldMap.h:159
CbmFieldMapSym2
Definition: CbmFieldMapSym2.h:35
CbmFieldMapSym2::CbmFieldMapSym2
CbmFieldMapSym2()
Definition: CbmFieldMapSym2.cxx:11
CbmFieldMapSym2::~CbmFieldMapSym2
virtual ~CbmFieldMapSym2()
Definition: CbmFieldMapSym2.cxx:34
CbmFieldMap::GetBz
TArrayF * GetBz() const
Definition: CbmFieldMap.h:160
CbmFieldMap
Definition: CbmFieldMap.h:34
CbmFieldMapSym2::fHemiX
Double_t fHemiX
Definition: CbmFieldMapSym2.h:86
CbmFieldMapSym2::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: CbmFieldMapSym2.cxx:132
CbmFieldMapSym2::fHemiY
Double_t fHemiY
Definition: CbmFieldMapSym2.h:86
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