CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/FastSimulation/TrajectoryManager/interface/LocalMagneticField.h

Go to the documentation of this file.
00001 #ifndef FastSimualtion_TrajectoryManager_LocalMagneticField_h
00002 #define FastSimualtion_TrajectoryManager_LocalMagneticField_h
00003 
00014 #include "MagneticField/Engine/interface/MagneticField.h"
00015 
00016 class LocalMagneticField : public MagneticField {
00017  public:
00018 
00020   LocalMagneticField(double value);
00021 
00022   virtual ~LocalMagneticField() {}
00023 
00024   GlobalVector inTesla (const GlobalPoint& gp) const;
00025 
00026  private:
00027   GlobalVector theField;
00028 };
00029 
00030 #endif