CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/MagneticField/VolumeGeometry/src/MagVolumeOutsideValidity.cc

Go to the documentation of this file.
00001 
00008 #include "MagneticField/VolumeGeometry/interface/MagVolumeOutsideValidity.h"
00009 #include <sstream>
00010 
00011 MagVolumeOutsideValidity::MagVolumeOutsideValidity( MagVolume::LocalPoint l,
00012                                                     MagVolume::LocalPoint u) throw() : lower_(l), upper_(u) {
00013   std::stringstream linestr;
00014   linestr << "Magnetic field requested outside of validity of the MagVolume: "
00015           << lower() << " - " << upper() << std::endl;
00016   m_message = linestr.str();  
00017 }
00018