Project
Loading...
Searching...
No Matches
o2::emcal::ClusterFactory< InputType >::CellIndexRangeException Class Referencefinal

#include <ClusterFactory.h>

Inherits std::exception.

Public Member Functions

 CellIndexRangeException (int cellIndex, int maxCellIndex)
 Constructor defining the error.
 
 ~CellIndexRangeException () noexcept final=default
 Destructor.
 
const charwhat () const noexcept final
 Provide error message.
 
int getCellIndex () const
 Get the index of the cell raising the exception.
 
int getMaxNumberOfCellIndexs () const
 Get the maximum number of cell indices handled by the cluster factory.
 

Detailed Description

template<class InputType>
class o2::emcal::ClusterFactory< InputType >::CellIndexRangeException

Definition at line 82 of file ClusterFactory.h.

Constructor & Destructor Documentation

◆ CellIndexRangeException()

template<class InputType >
o2::emcal::ClusterFactory< InputType >::CellIndexRangeException::CellIndexRangeException ( int  cellIndex,
int  maxCellIndex 
)
inline

Constructor defining the error.

Parameters
cellIndexCell Index responsible for the exception
maxCellIndexMaximum number of Cell Indices handled by the ClusterFactor

Definition at line 88 of file ClusterFactory.h.

◆ ~CellIndexRangeException()

template<class InputType >
o2::emcal::ClusterFactory< InputType >::CellIndexRangeException::~CellIndexRangeException ( )
finaldefaultnoexcept

Destructor.

Member Function Documentation

◆ getCellIndex()

template<class InputType >
int o2::emcal::ClusterFactory< InputType >::CellIndexRangeException::getCellIndex ( ) const
inline

Get the index of the cell raising the exception.

Returns
Cell index

Definition at line 105 of file ClusterFactory.h.

◆ getMaxNumberOfCellIndexs()

template<class InputType >
int o2::emcal::ClusterFactory< InputType >::CellIndexRangeException::getMaxNumberOfCellIndexs ( ) const
inline

Get the maximum number of cell indices handled by the cluster factory.

Returns
Max. number of cell indices

Definition at line 109 of file ClusterFactory.h.

◆ what()

template<class InputType >
const char * o2::emcal::ClusterFactory< InputType >::CellIndexRangeException::what ( ) const
inlinefinalnoexcept

Provide error message.

Returns
Error message connected to this exception

Definition at line 101 of file ClusterFactory.h.


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