Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:32

0001 #ifndef RectangularCartesianMFGrid_H
0002 #define RectangularCartesianMFGrid_H
0003 
0004 #include "FWCore/Utilities/interface/Visibility.h"
0005 #include "MFGrid3D.h"
0006 
0007 namespace magneticfield::interpolation {
0008   class binary_ifstream;
0009 }
0010 
0011 class dso_internal RectangularCartesianMFGrid : public MFGrid3D {
0012 public:
0013   using binary_ifstream = magneticfield::interpolation::binary_ifstream;
0014   RectangularCartesianMFGrid(binary_ifstream& istr, const GloballyPositioned<float>& vol);
0015 
0016   LocalVector uncheckedValueInTesla(const LocalPoint& p) const override;
0017 
0018   void dump() const override;
0019 
0020   void toGridFrame(const LocalPoint& p, double& a, double& b, double& c) const override;
0021 
0022   LocalPoint fromGridFrame(double a, double b, double c) const override;
0023 };
0024 
0025 #endif