CMS 3D CMS Logo

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 ()
 
const char * what () const override throw ()
 
 ~MagVolumeOutsideValidity () override 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 9 of file MagVolumeOutsideValidity.cc.

References pileupCalc::upper.

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

Definition at line 14 of file MagVolumeOutsideValidity.h.

14 {}

Member Function Documentation

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

Definition at line 11 of file MagVolumeOutsideValidity.h.

References lower_.

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

Definition at line 12 of file MagVolumeOutsideValidity.h.

References upper_.

12 { return upper_; }
const char* MagVolumeOutsideValidity::what ( ) const
throw (
)
inlineoverride

Definition at line 16 of file MagVolumeOutsideValidity.h.

References m_message.

16 { return m_message.c_str(); }

Member Data Documentation

MagVolume::LocalPoint MagVolumeOutsideValidity::lower_
private

Definition at line 20 of file MagVolumeOutsideValidity.h.

Referenced by lower().

std::string MagVolumeOutsideValidity::m_message
private

Definition at line 19 of file MagVolumeOutsideValidity.h.

Referenced by what().

MagVolume::LocalPoint MagVolumeOutsideValidity::upper_
private

Definition at line 21 of file MagVolumeOutsideValidity.h.

Referenced by upper().