Project
Loading...
Searching...
No Matches
o2::emcal::AnalysisCluster::CellOutOfRangeException Class Referencefinal

Exception handling non-existing cell indices. More...

#include <AnalysisCluster.h>

Inherits std::exception.

Public Member Functions

 CellOutOfRangeException (Int_t cellIndex)
 Constructor, setting cell wrong cell index raising the exception.
 
 ~CellOutOfRangeException () noexcept final=default
 Destructor.
 
Int_t getCellIndex () const noexcept
 Access to cell ID raising the exception.
 
const charwhat () const noexcept final
 Access to error message of the exception.
 

Detailed Description

Exception handling non-existing cell indices.

Definition at line 43 of file AnalysisCluster.h.

Constructor & Destructor Documentation

◆ CellOutOfRangeException()

o2::emcal::AnalysisCluster::CellOutOfRangeException::CellOutOfRangeException ( Int_t  cellIndex)
inline

Constructor, setting cell wrong cell index raising the exception.

Parameters
cellIndexCell index raising the exception

Definition at line 48 of file AnalysisCluster.h.

◆ ~CellOutOfRangeException()

o2::emcal::AnalysisCluster::CellOutOfRangeException::~CellOutOfRangeException ( )
finaldefaultnoexcept

Destructor.

Member Function Documentation

◆ getCellIndex()

Int_t o2::emcal::AnalysisCluster::CellOutOfRangeException::getCellIndex ( ) const
inlinenoexcept

Access to cell ID raising the exception.

Returns
Cell ID

Definition at line 59 of file AnalysisCluster.h.

◆ what()

const char * o2::emcal::AnalysisCluster::CellOutOfRangeException::what ( ) const
inlinefinalnoexcept

Access to error message of the exception.

Returns
Error message

Definition at line 63 of file AnalysisCluster.h.


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