CbmRoot
CbmFieldMapSym1.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmFieldMapSym1 header file -----
3 // ----- Created 22/09/08 by E.Litvinenko -----
4 // -------------------------------------------------------------------------
5 
6 
23 #ifndef CBMMAGFIELDMAPSYM1_H
24 #define CBMMAGFIELDMAPSYM1_H 1
25 
26 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
27 #include <RtypesCore.h> // for Double_t, Int_t, Bool_t
28 
29 #include "CbmFieldMap.h" // for CbmFieldMap
30 
31 class CbmFieldPar;
32 
33 class CbmFieldMapSym1 : public CbmFieldMap {
34 
35 
36 public:
39 
40 
45  CbmFieldMapSym1(const char* mapName, const char* fileType = "R");
46 
47 
49  CbmFieldMapSym1(CbmFieldPar* fieldPar);
50 
51 
53  virtual ~CbmFieldMapSym1();
54 
55 
60  virtual Double_t GetBx(Double_t x, Double_t y, Double_t z);
61  virtual Double_t GetBy(Double_t x, Double_t y, Double_t z);
62  virtual Double_t GetBz(Double_t x, Double_t y, Double_t z);
63 
64 
71  virtual Bool_t IsInside(Double_t x,
72  Double_t y,
73  Double_t z,
74  Int_t& ix,
75  Int_t& iy,
76  Int_t& iz,
77  Double_t& dx,
78  Double_t& dy,
79  Double_t& dz);
80 
81 
82 protected:
83  // Hemispheres of a point (for temporary use)
84  Double_t fHemiX;
85 
86 
87  ClassDef(CbmFieldMapSym1, 1)
88 };
89 
90 
91 #endif
CbmFieldMapSym1::fHemiX
Double_t fHemiX
Definition: CbmFieldMapSym1.h:84
CbmFieldMap::GetBy
TArrayF * GetBy() const
Definition: CbmFieldMap.h:159
CbmFieldMapSym1::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: CbmFieldMapSym1.cxx:129
CbmFieldMapSym1::CbmFieldMapSym1
CbmFieldMapSym1()
Definition: CbmFieldMapSym1.cxx:10
CbmFieldMap::GetBz
TArrayF * GetBz() const
Definition: CbmFieldMap.h:160
CbmFieldMap
Definition: CbmFieldMap.h:34
CbmFieldMapSym1
Definition: CbmFieldMapSym1.h:33
CbmFieldMapSym1::~CbmFieldMapSym1
virtual ~CbmFieldMapSym1()
Definition: CbmFieldMapSym1.cxx:31
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