CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/FastSimulation/TrajectoryManager/src/LocalMagneticField.cc

Go to the documentation of this file.
00001 
00007 #include "FastSimulation/TrajectoryManager/interface/LocalMagneticField.h"
00008 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
00009 
00010 
00011 LocalMagneticField::LocalMagneticField(double value)
00012   : theField(0.,0.,value) {}
00013 
00014 
00015 GlobalVector LocalMagneticField::inTesla (const GlobalPoint& gp) const {
00016   return theField;
00017 }