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