Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-06 07:38:45

0001 #ifndef RectangularCylindricalMFGrid_H
0002 #define RectangularCylindricalMFGrid_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 RectangularCylindricalMFGrid : public MFGrid3D {
0012 public:
0013   using binary_ifstream = magneticfield::interpolation::binary_ifstream;
0014 
0015   RectangularCylindricalMFGrid(binary_ifstream& istr, const GloballyPositioned<float>& vol);
0016 
0017   LocalVector uncheckedValueInTesla(const LocalPoint& p) const override;
0018 
0019   void dump() const override;
0020 
0021   void toGridFrame(const LocalPoint& p, double& a, double& b, double& c) const override;
0022 
0023   LocalPoint fromGridFrame(double a, double b, double c) const override;
0024 };
0025 
0026 #endif