CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/MagneticField/Engine/src/MagneticField.cc

Go to the documentation of this file.
00001 
00008 #include "MagneticField/Engine/interface/MagneticField.h"
00009 
00010 MagneticField::MagneticField() : nominalValueCompiuted(false){}
00011 
00012 MagneticField::~MagneticField(){}
00013 
00014 
00015 int MagneticField::computeNominalValue() const {
00016   return int((inTesla(GlobalPoint(0.f,0.f,0.f))).z() * 10.f + 0.5f);
00017 }