CMS 3D CMS Logo

PixelRecoUtilities.cc
Go to the documentation of this file.
7 
8 namespace PixelRecoUtilities {
11  es.get<IdealMagneticFieldRecord>().get(pSetup);
12  fieldInInvGev = 1.f/std::abs(pSetup->inTesla(GlobalPoint(0,0,0)).z() *2.99792458e-3f);
13  }
14 
15 }
T z() const
Definition: PV3DBase.h:64
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
double f[11][100]
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
const T & get() const
Definition: EventSetup.h:59
FieldAt0(const edm::EventSetup &es)