CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
MagVolumeOutsideValidity Class Reference

#include <MagVolumeOutsideValidity.h>

Inheritance diagram for MagVolumeOutsideValidity:

Public Member Functions

MagVolume::LocalPoint lower () const throw ()
 
 MagVolumeOutsideValidity (MagVolume::LocalPoint l, MagVolume::LocalPoint u) throw ()
 
MagVolume::LocalPoint upper () const throw ()
 
virtual const char * what () const throw ()
 
virtual ~MagVolumeOutsideValidity () throw ()
 

Private Attributes

MagVolume::LocalPoint lower_
 
std::string m_message
 
MagVolume::LocalPoint upper_
 

Detailed Description

Definition at line 7 of file MagVolumeOutsideValidity.h.

Constructor & Destructor Documentation

MagVolumeOutsideValidity::MagVolumeOutsideValidity ( MagVolume::LocalPoint  l,
MagVolume::LocalPoint  u 
)
throw (
)

Definition at line 11 of file MagVolumeOutsideValidity.cc.

References pileupCalc::upper.

12  : lower_(l), upper_(u) {
13  std::stringstream linestr;
14  linestr << "Magnetic field requested outside of validity of the MagVolume: "
15  << lower() << " - " << upper() << std::endl;
16  m_message = linestr.str();
17 }
MagVolume::LocalPoint lower() const
MagVolume::LocalPoint upper() const
virtual MagVolumeOutsideValidity::~MagVolumeOutsideValidity ( )
throw (
)
inlinevirtual

Definition at line 16 of file MagVolumeOutsideValidity.h.

16 {}

Member Function Documentation

MagVolume::LocalPoint MagVolumeOutsideValidity::lower ( ) const
throw (
)
inline

Definition at line 13 of file MagVolumeOutsideValidity.h.

References lower_.

13 {return lower_;}
MagVolume::LocalPoint MagVolumeOutsideValidity::upper ( ) const
throw (
)
inline

Definition at line 14 of file MagVolumeOutsideValidity.h.

References upper_.

14 {return upper_;}
virtual const char* MagVolumeOutsideValidity::what ( ) const
throw (
)
inlinevirtual

Definition at line 18 of file MagVolumeOutsideValidity.h.

References m_message.

18  {
19  return m_message.c_str();
20  }

Member Data Documentation

MagVolume::LocalPoint MagVolumeOutsideValidity::lower_
private

Definition at line 25 of file MagVolumeOutsideValidity.h.

Referenced by lower().

std::string MagVolumeOutsideValidity::m_message
private

Definition at line 24 of file MagVolumeOutsideValidity.h.

Referenced by what().

MagVolume::LocalPoint MagVolumeOutsideValidity::upper_
private

Definition at line 26 of file MagVolumeOutsideValidity.h.

Referenced by upper().