CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
UniformMagneticField.cc
Go to the documentation of this file.
1 
9 
10 
12  : theField(0.,0.,value) {}
13 
14 
16  return theField;
17 }
18 
20  return theField;
21 }
GlobalVector inTesla(const GlobalPoint &gp) const
Field value ad specified global point, in Tesla.
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const
UniformMagneticField(double value)
Construct passing the Z field component in Tesla.