CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MagneticField.cc
Go to the documentation of this file.
1 
9 
11 
13 
14 
16  return inTesla(gp) * 10.;
17 }
18 
20  return inTesla(gp) * 2.99792458e-3;
21 }
22 
24  return int((inTesla(GlobalPoint(0.,0.,0.))).z() * 10. + 0.5);
25 }
virtual int nominalValue() const
The nominal field value for this map in kGauss.
virtual ~MagneticField()
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
double double double z
virtual GlobalVector inInverseGeV(const GlobalPoint &gp) const
Field value ad specified global point, in 1/Gev.
virtual GlobalVector inKGauss(const GlobalPoint &gp) const
Field value ad specified global point, in KGauss.