Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:25

0001 /** \file
0002  *
0003  *  $Revision: 1.1 $
0004  *  \author P. Janot, copied from N. Amapane, UniformMagneticField - CERN
0005  */
0006 
0007 #include "FastSimulation/TrajectoryManager/interface/LocalMagneticField.h"
0008 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
0009 
0010 LocalMagneticField::LocalMagneticField(double value) : theField(0., 0., value) { setNominalValue(); }
0011 
0012 GlobalVector LocalMagneticField::inTesla(const GlobalPoint& gp) const { return theField; }