CMS 3D CMS Logo

PolyFit2DParametrizedMagneticField.h

Go to the documentation of this file.
00001 #ifndef PolyFit2DParametrizedMagneticField_h
00002 #define PolyFit2DParametrizedMagneticField_h
00003 
00014 #include "MagneticField/Engine/interface/MagneticField.h"
00015 
00016 namespace edm { class ParameterSet; }
00017 namespace magfieldparam { class BFit; }
00018 
00019 
00020 class PolyFit2DParametrizedMagneticField : public MagneticField {
00021  public:
00023   PolyFit2DParametrizedMagneticField(double bVal = 4.01242188708911);
00024 
00026   PolyFit2DParametrizedMagneticField(const edm::ParameterSet& parameters);
00027 
00029   virtual ~PolyFit2DParametrizedMagneticField();
00030   
00031   GlobalVector inTesla (const GlobalPoint& gp) const;
00032 
00033   GlobalVector inTeslaUnchecked (const GlobalPoint& gp) const;
00034 
00035   bool isDefined(const GlobalPoint& gp) const;
00036 
00037  private:
00038   magfieldparam::BFit* theParam;
00039 };
00040 #endif
00041 

Generated on Tue Jun 9 17:40:37 2009 for CMSSW by  doxygen 1.5.4