00001 #ifndef BFLDCANVASSLICE_H 00002 #define BFLDCANVASSLICE_H 00003 00004 #include "BField/Viz/BfldCanvas.h" 00005 class BfldDbiPlaneMap; 00006 00007 class BfldCanvasSlice : public BfldCanvas 00008 { 00009 00025 public: 00026 00027 BfldCanvasSlice(VldContext& vldc, int ipln, int iscoil, bool isgap, 00028 double zoff=0.0); 00029 BfldCanvasSlice(); // don't use this one, just for rootcint 00030 virtual ~BfldCanvasSlice(); 00031 00032 virtual void Draw(); 00033 int GetPlane() const { return fPlane; } 00034 bool GetIsGap() const { return fIsGap; } 00035 00036 private: 00037 00038 const BfldDbiPlaneMap* GetPlaneMap(); 00039 std::string GetAdmixtureString(); 00040 00041 int fPlane; 00042 bool fIsGap; 00043 00044 }; // end of BfldCanvasSlice class 00045 00046 #endif //BFLDCANVASSLICE_H
1.3.9.1