Project
Loading...
Searching...
No Matches
o2::emcal::TRUIndexException Class Reference

Error handling of faulty TRU indices. More...

#include <TriggerMappingErrors.h>

Inherits std::exception.

Public Member Functions

 TRUIndexException (unsigned int truindex)
 Constructor.
 
 ~TRUIndexException () noexcept final=default
 Destructor.
 
const charwhat () const noexcept final
 Get error message.
 
unsigned int getTRUIndex () const noexcept
 Get the index of the TRU raising the exception.
 

Detailed Description

Error handling of faulty TRU indices.

Definition at line 27 of file TriggerMappingErrors.h.

Constructor & Destructor Documentation

◆ TRUIndexException()

o2::emcal::TRUIndexException::TRUIndexException ( unsigned int  truindex)
inline

Constructor.

Parameters
truindexIndex of the TRU

Definition at line 32 of file TriggerMappingErrors.h.

◆ ~TRUIndexException()

o2::emcal::TRUIndexException::~TRUIndexException ( )
finaldefaultnoexcept

Destructor.

Member Function Documentation

◆ getTRUIndex()

unsigned int o2::emcal::TRUIndexException::getTRUIndex ( ) const
inlinenoexcept

Get the index of the TRU raising the exception.

Returns
Index of the TRU

Definition at line 49 of file TriggerMappingErrors.h.

◆ what()

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

Get error message.

Returns
Error message of the exception

Definition at line 42 of file TriggerMappingErrors.h.


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