00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00018 #ifndef BFLDMAPRECT2D_H
00019 #define BFLDMAPRECT2D_H
00020
00021 #include <string>
00022
00023 #include "BField/BfldMap.h"
00024
00025 class BfldMapRect2d : public BfldMap {
00026
00027 public:
00028 BfldMapRect2d();
00029 BfldMapRect2d(BfldGrid::Grid_t grid, Int_t variant);
00030 virtual ~BfldMapRect2d();
00031
00032
00033 inline Float_t GetX0() const { return fX0; }
00034 inline Float_t GetY0() const { return fY0; }
00035 inline Float_t GetDx() const { return fDx; }
00036 inline Float_t GetDy() const { return fDy; }
00037 inline Int_t GetNx() const { return fNx; }
00038 inline Int_t GetNy() const { return fNy; }
00039
00040 inline Bool_t GetIsUVZ() const { return fIsUVZ; }
00041
00042 inline const Int_t* GetQuadFlags() const { return fQuadFlags; }
00043
00044 protected:
00045
00046 std::string fHeader;
00047
00048 Float_t fX0;
00049 Float_t fDx;
00050 Int_t fNx;
00051
00052 Float_t fY0;
00053 Float_t fDy;
00054 Int_t fNy;
00055
00056 Bool_t fIsUVZ;
00057
00058 Bool_t fQuadrant;
00059 Int_t fQuadFlags[4];
00060 Int_t fFileForm;
00061
00062
00063 private:
00064
00065 void Clear(const Option_t* = "");
00066
00067 ClassDef(BfldMapRect2d,2)
00068 };
00069 #endif // BFLDMAPRECT2D_H