CMS 3D CMS Logo

Public Member Functions | Private Attributes

MagVolumeOutsideValidity Class Reference

#include <MagVolumeOutsideValidity.h>

List of all members.

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.

                                                                                   : lower_(l), upper_(u) {
  std::stringstream linestr;
  linestr << "Magnetic field requested outside of validity of the MagVolume: "
          << lower() << " - " << upper() << std::endl;
  m_message = linestr.str();  
}
virtual MagVolumeOutsideValidity::~MagVolumeOutsideValidity ( ) throw () [inline, virtual]

Definition at line 16 of file MagVolumeOutsideValidity.h.

{}

Member Function Documentation

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

Definition at line 13 of file MagVolumeOutsideValidity.h.

References lower_.

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

Definition at line 14 of file MagVolumeOutsideValidity.h.

References upper_.

{return upper_;} 
virtual const char* MagVolumeOutsideValidity::what ( ) const throw () [inline, virtual]

Definition at line 18 of file MagVolumeOutsideValidity.h.

References m_message.

                                           { 
    return m_message.c_str();
  }

Member Data Documentation

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().

Definition at line 26 of file MagVolumeOutsideValidity.h.

Referenced by upper().