Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef FakeInterpolator_h
0002 #define FakeInterpolator_h
0003 
0004 /** \class magneticfield::FakeInterpolator
0005  *
0006  *  Fake field interpolator, that always return B=0.
0007  *
0008  *  \author N. Amapane - CERN
0009  */
0010 
0011 #include "MagneticField/Interpolation/interface/MagProviderInterpol.h"
0012 
0013 namespace magneticfield {
0014   class FakeInterpolator : public MagProviderInterpol {
0015   public:
0016     /// Constructor
0017     FakeInterpolator(){};
0018 
0019     // Operations
0020     LocalVectorType valueInTesla(const LocalPointType& p) const override { return LocalVectorType(0., 0., 0.); }
0021   };
0022 }  // namespace magneticfield
0023 #endif