FairRoot/PandaRoot
PndFieldMapData.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndFieldMapData header file -----
3 // ----- V. Friese 13/02/06 -----
4 // -------------------------------------------------------------------------
5 
6 
19 #ifndef PNDMAGFIELDMAPDATA_H
20 #define PNDMAGFIELDMAPDATA_H
21 
22 
23 #include "TNamed.h"
24 
25 
26 class TArrayF;
27 
28 class PndFieldMap;
29 
30 
31 
32 class PndFieldMapData : public TNamed {
33 
34 public:
35 
36 
39 
40 
42  PndFieldMapData(const char* name);
43 
44 
46  PndFieldMapData(const char* name, const PndFieldMap& map);
47 
48 
50  virtual ~PndFieldMapData();
51 
52 
54  Int_t GetType() const { return fType; }
55  Double_t GetXmin() const { return fXmin; }
56  Double_t GetYmin() const { return fYmin; }
57  Double_t GetZmin() const { return fZmin; }
58  Double_t GetXmax() const { return fXmax; }
59  Double_t GetYmax() const { return fYmax; }
60  Double_t GetZmax() const { return fZmax; }
61  Int_t GetNx() const { return fNx; }
62  Int_t GetNy() const { return fNy; }
63  Int_t GetNz() const { return fNz; }
64 
65 
67  TArrayF* GetBx() const { return fBx; }
68  TArrayF* GetBy() const { return fBy; }
69  TArrayF* GetBz() const { return fBz; }
70  private:
72  PndFieldMapData& operator= (const PndFieldMapData&) {return *this;};
73 
74 
75 
77  Int_t fType;
78 
83 
86 
87 
89  Int_t fNx, fNy, fNz;
90 
91 
93  TArrayF* fBx;
94  TArrayF* fBy;
95  TArrayF* fBz;
96 
97 
98  ClassDef(PndFieldMapData,1)
99 
100 };
101 
102 
103 #endif
Double_t GetYmin() const
Double_t GetZmin() const
Double_t GetXmax() const
PndTransMap * map
Definition: sim_emc_apd.C:99
Int_t GetNy() const
Double_t GetZmax() const
TArrayF * GetBz() const
Double_t
virtual ~PndFieldMapData()
Double_t GetXmin() const
PndFieldMapData & operator=(const PndFieldMapData &)
TString name
Int_t GetNx() const
Double_t GetYmax() const
Int_t GetNz() const
TArrayF * GetBy() const
TArrayF * GetBx() const
Int_t GetType() const