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

Handling of invalid PHOS regions. More...

#include <TriggerMappingErrors.h>

Inherits std::exception.

Public Member Functions

 PHOSRegionException (unsigned int phosregion)
 Constructor.
 
 ~PHOSRegionException () noexcept final=default
 Destructor.
 
const charwhat () const noexcept final
 Get error message.
 
unsigned int getPHOSRegion () const noexcept
 Get index of the PHOS region.
 

Detailed Description

Handling of invalid PHOS regions.

Definition at line 225 of file TriggerMappingErrors.h.

Constructor & Destructor Documentation

◆ PHOSRegionException()

o2::emcal::PHOSRegionException::PHOSRegionException ( unsigned int  phosregion)
inline

Constructor.

Parameters
phosregionIndex of the PHOS region

Definition at line 230 of file TriggerMappingErrors.h.

◆ ~PHOSRegionException()

o2::emcal::PHOSRegionException::~PHOSRegionException ( )
finaldefaultnoexcept

Destructor.

Member Function Documentation

◆ getPHOSRegion()

unsigned int o2::emcal::PHOSRegionException::getPHOSRegion ( ) const
inlinenoexcept

Get index of the PHOS region.

Returns
PHOS region index

Definition at line 247 of file TriggerMappingErrors.h.

◆ what()

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

Get error message.

Returns
Error message of the exception

Definition at line 240 of file TriggerMappingErrors.h.


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