PandaRoot
PndTransMap.h
Go to the documentation of this file.
1 
16 #ifndef PNDTRANSEMAP_H
17 #define PNDTRANSEMAP_H 1
18 
19 #include "PndFieldMap.h"
20 
21 class PndTransPar;
22 
23 class PndTransMap : public PndFieldMap {
24 
25  public:
27  PndTransMap();
28 
33  PndTransMap(const char *mapName, const char *fileType = "R", Double_t BeamMom = 15.0);
34 
36  PndTransMap(PndTransPar *fieldPar);
37 
39  virtual ~PndTransMap();
40 
47  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);
48 
49  void GetBxyz(const Double_t point[3], Double_t *bField);
50 
51  void FillParContainer();
52 
53  protected:
54  // Hemispheres of a point (for temporary use)
55  Double_t fHemiX, fHemiY;
56  Double_t fBeamMom;
57 
58  ClassDef(PndTransMap, 1)
59 };
60 
61 #endif
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)
Double_t fHemiX
Definition: PndTransMap.h:55
Double_t fBeamMom
Definition: PndTransMap.h:56
Double_t fHemiY
Definition: PndTransMap.h:55
void FillParContainer()
virtual ~PndTransMap()
void GetBxyz(const Double_t point[3], Double_t *bField)