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::MagVolumeOutsideValidity ( MagVolume::LocalPoint  l,
MagVolume::LocalPoint  u 
)
throw (
)

Definition at line 9 of file MagVolumeOutsideValidity.cc.

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 }

References pileupCalc::upper.

◆ ~MagVolumeOutsideValidity()

MagVolumeOutsideValidity::~MagVolumeOutsideValidity ( )
throw (
)
inlineoverride

Definition at line 14 of file MagVolumeOutsideValidity.h.

14 {}

Member Function Documentation

◆ lower()

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

Definition at line 11 of file MagVolumeOutsideValidity.h.

11 { return lower_; }

References lower_.

◆ upper()

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

Definition at line 12 of file MagVolumeOutsideValidity.h.

12 { return upper_; }

References upper_.

◆ what()

const char* MagVolumeOutsideValidity::what ( ) const
throw (
)
inlineoverride

Definition at line 16 of file MagVolumeOutsideValidity.h.

16 { return m_message.c_str(); }

References m_message.

Member Data Documentation

◆ lower_

MagVolume::LocalPoint MagVolumeOutsideValidity::lower_
private

Definition at line 20 of file MagVolumeOutsideValidity.h.

Referenced by lower().

◆ m_message

std::string MagVolumeOutsideValidity::m_message
private

Definition at line 19 of file MagVolumeOutsideValidity.h.

Referenced by what().

◆ upper_

MagVolume::LocalPoint MagVolumeOutsideValidity::upper_
private

Definition at line 21 of file MagVolumeOutsideValidity.h.

Referenced by upper().

MagVolumeOutsideValidity::upper
MagVolume::LocalPoint upper() const
Definition: MagVolumeOutsideValidity.h:12
MagVolumeOutsideValidity::lower
MagVolume::LocalPoint lower() const
Definition: MagVolumeOutsideValidity.h:11
MagVolumeOutsideValidity::lower_
MagVolume::LocalPoint lower_
Definition: MagVolumeOutsideValidity.h:20
MagVolumeOutsideValidity::upper_
MagVolume::LocalPoint upper_
Definition: MagVolumeOutsideValidity.h:21
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
MagVolumeOutsideValidity::m_message
std::string m_message
Definition: MagVolumeOutsideValidity.h:19