CMS 3D CMS Logo

MagVolumeOutsideValidity.cc
Go to the documentation of this file.
1 
7 #include <sstream>
8 
10  MagVolume::LocalPoint u) throw() : lower_(l), upper_(u) {
11  std::stringstream linestr;
12  linestr << "Magnetic field requested outside of validity of the MagVolume: "
13  << lower() << " - " << upper() << std::endl;
14  m_message = linestr.str();
15 }
16 
GloballyPositioned< float >::LocalPoint LocalPoint
Definition: MagVolume.h:18
MagVolumeOutsideValidity(MagVolume::LocalPoint l, MagVolume::LocalPoint u)