00001 #ifndef RectangularCartesianMFGrid_H 00002 #define RectangularCartesianMFGrid_H 00003 00004 #include "MagneticField/Interpolation/interface/MFGrid3D.h" 00005 00006 class binary_ifstream; 00007 00008 class RectangularCartesianMFGrid : public MFGrid3D { 00009 public: 00010 00011 RectangularCartesianMFGrid( binary_ifstream& istr, 00012 const GloballyPositioned<float>& vol); 00013 00014 virtual LocalVector uncheckedValueInTesla( const LocalPoint& p) const; 00015 00016 virtual void dump() const; 00017 00018 virtual void toGridFrame( const LocalPoint& p, double& a, double& b, double& c) const; 00019 00020 virtual LocalPoint fromGridFrame( double a, double b, double c) const; 00021 00022 }; 00023 00024 #endif