Project
Loading...
Searching...
No Matches
o2::emcal::InvalidPositionException Class Referencefinal

Exception handling errors due to positions not in the EMCAL area. More...

#include <GeometryBase.h>

Inherits std::exception.

Public Member Functions

 InvalidPositionException (double eta, double phi)
 Constructor, setting the position raising the exception.
 
 ~InvalidPositionException () noexcept final=default
 Destructor.
 
double getEta () const noexcept
 Access to eta coordinate raising the exception.
 
double getPhi () const noexcept
 Access to phi corrdinate raising the exception.
 
const charwhat () const noexcept final
 Access to error message of the exception.
 

Detailed Description

Exception handling errors due to positions not in the EMCAL area.

Definition at line 93 of file GeometryBase.h.

Constructor & Destructor Documentation

◆ InvalidPositionException()

o2::emcal::InvalidPositionException::InvalidPositionException ( double  eta,
double  phi 
)
inline

Constructor, setting the position raising the exception.

Parameters
etaEta coordinate of the position
phiPhi coordinate of the position

Definition at line 99 of file GeometryBase.h.

◆ ~InvalidPositionException()

o2::emcal::InvalidPositionException::~InvalidPositionException ( )
finaldefaultnoexcept

Destructor.

Member Function Documentation

◆ getEta()

double o2::emcal::InvalidPositionException::getEta ( ) const
inlinenoexcept

Access to eta coordinate raising the exception.

Returns
Eta coordinate of the position

Definition at line 111 of file GeometryBase.h.

◆ getPhi()

double o2::emcal::InvalidPositionException::getPhi ( ) const
inlinenoexcept

Access to phi corrdinate raising the exception.

Returns
Phi coordinate of the position

Definition at line 115 of file GeometryBase.h.

◆ what()

const char * o2::emcal::InvalidPositionException::what ( ) const
inlinefinalnoexcept

Access to error message of the exception.

Returns
Error message

Definition at line 119 of file GeometryBase.h.


The documentation for this class was generated from the following file: