CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/MagneticField/UniformEngine/src/UniformMagneticField.cc

Go to the documentation of this file.
00001 
00008 #include "MagneticField/UniformEngine/src/UniformMagneticField.h"
00009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00010 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
00011 
00012 
00013 UniformMagneticField::UniformMagneticField(double value)
00014   : theField(0.,0.,value) {}
00015 
00016 
00017 GlobalVector UniformMagneticField::inTesla (const GlobalPoint& gp) const {
00018   return theField;
00019 }
00020 
00021 GlobalVector UniformMagneticField::inTeslaUnchecked (const GlobalPoint& gp) const {
00022   return theField;
00023 }