Project
Loading...
Searching...
No Matches
o2::emcal::EventContainer::TRUIndexException Class Referencefinal

Handler for access of TRU data with invalid TRU index. More...

#include <RecoContainer.h>

Inherits std::exception.

Public Member Functions

 TRUIndexException (std::size_t index)
 Constructor.
 
 ~TRUIndexException () noexcept final=default
 Destructor.
 
const charwhat () const noexcept final
 Get the error message of the exception.
 
std::size_t getIndex () const
 Get the TRU index raising the exception.
 
void printStream (std::ostream &stream) const
 Print error message on stream.
 

Detailed Description

Handler for access of TRU data with invalid TRU index.

Definition at line 79 of file RecoContainer.h.

Constructor & Destructor Documentation

◆ TRUIndexException()

EventContainer::TRUIndexException::TRUIndexException ( std::size_t  index)

Constructor.

Parameters
indexTRU index raising the exception

Definition at line 131 of file RecoContainer.cxx.

◆ ~TRUIndexException()

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

Destructor.

Member Function Documentation

◆ getIndex()

std::size_t o2::emcal::EventContainer::TRUIndexException::getIndex ( ) const
inline

Get the TRU index raising the exception.

Returns
TRU index

Definition at line 95 of file RecoContainer.h.

◆ printStream()

void o2::emcal::EventContainer::TRUIndexException::printStream ( std::ostream &  stream) const

Print error message on stream.

Parameters
streamStream to print on

◆ what()

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

Get the error message of the exception.

Returns
Error message

Definition at line 91 of file RecoContainer.h.


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