PandaRoot
PndSolenoidMap.h
Go to the documentation of this file.
1 
16 #ifndef PNDSOLENOIDMAP_H
17 #define PNDSOLENOIDMAP_H 1
18 
19 #include "PndFieldMap.h"
20 class PndMapPar;
21 class PndFieldPar;
22 class PndSolenoidPar;
23 
24 class PndSolenoidMap : public PndFieldMap {
25 
26  public:
29 
34  PndSolenoidMap(const char *mapName, const char *fileType = "R");
35 
37  PndSolenoidMap(PndMapPar *fieldPar);
38 
40  virtual ~PndSolenoidMap();
41 
42  void FillParContainer();
43 
50  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);
51 
52  static Int_t fNumberOfRegions;
53  Int_t fRegionNo;
54 
55  Int_t GetRegionNo() { return fRegionNo; }
56 
57  void GetBxyz(const Double_t point[3], Double_t *bField);
58 
59  protected:
60  // Hemispheres of a point (for temporary use)
61  Double_t fHemiX, fHemiY;
62 
63  ClassDef(PndSolenoidMap, 2)
64 };
65 
66 #endif
Int_t GetRegionNo()
static Int_t fNumberOfRegions
virtual ~PndSolenoidMap()
void FillParContainer()
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)
void GetBxyz(const Double_t point[3], Double_t *bField)