PandaRoot
PndFieldMapData.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndFieldMapData header file -----
3 // ----- V. Friese 13/02/06 -----
4 // -------------------------------------------------------------------------
5 
17 #ifndef PNDMAGFIELDMAPDATA_H
18 #define PNDMAGFIELDMAPDATA_H
19 
20 #include "TNamed.h"
21 
22 class TArrayF;
23 
24 class PndFieldMap;
25 
26 class PndFieldMapData : public TNamed {
27 
28  public:
31 
33  PndFieldMapData(const char *name);
34 
36  PndFieldMapData(const char *name, const PndFieldMap &map);
37 
39  virtual ~PndFieldMapData();
40 
42  Int_t GetType() const { return fType; }
43  Double_t GetXmin() const { return fXmin; }
44  Double_t GetYmin() const { return fYmin; }
45  Double_t GetZmin() const { return fZmin; }
46  Double_t GetXmax() const { return fXmax; }
47  Double_t GetYmax() const { return fYmax; }
48  Double_t GetZmax() const { return fZmax; }
49  Int_t GetNx() const { return fNx; }
50  Int_t GetNy() const { return fNy; }
51  Int_t GetNz() const { return fNz; }
52 
54  TArrayF *GetBx() const { return fBx; }
55  TArrayF *GetBy() const { return fBy; }
56  TArrayF *GetBz() const { return fBz; }
57 
58  private:
60  PndFieldMapData &operator=(const PndFieldMapData &) { return *this; };
61 
63  Int_t fType;
64 
66  Double_t fXmin, fXmax;
67  Double_t fYmin, fYmax;
68  Double_t fZmin, fZmax;
69 
71  Double_t fUnit;
72 
74  Int_t fNx, fNy, fNz;
75 
77  TArrayF *fBx;
78  TArrayF *fBy;
79  TArrayF *fBz;
80 
81  ClassDef(PndFieldMapData, 1)
82 };
83 
84 #endif
virtual ~PndFieldMapData()
TArrayF * GetBy() const
Int_t GetNy() const
Double_t GetYmax() const
TArrayF * GetBx() const
Int_t GetNx() const
Double_t GetXmin() const
Double_t GetYmin() const
Double_t GetZmin() const
Int_t GetNz() const
Double_t GetXmax() const
TArrayF * GetBz() const
Double_t GetZmax() const
Int_t GetType() const