AliPhysics  master (3d17d9d)
PWGJE::EMCALJetTasks::AliLundPlaneException Class Reference

Exception handling errors during iterative declustering or access to incomplete lund parameter set. More...

#include <AliLundPlaneHelper.h>

Inheritance diagram for PWGJE::EMCALJetTasks::AliLundPlaneException:

Public Types

enum  ErrorType_t { kFastjetError, kVertexNotSet, kParamError, kUndef }
 Error types for the AliLundPlaneException. More...
 

Public Member Functions

 AliLundPlaneException ()
 Dummy constructor. More...
 
 AliLundPlaneException (ErrorType_t errtype, const char *error)
 Constructor with error message. More...
 
virtual ~AliLundPlaneException () throw ()
 Destructor. More...
 
const char * what () const throw ()
 Error message of the exception, define when exception is thrown. More...
 
ErrorType_t GetErrorType () const throw ()
 Get type of the error. More...
 

Private Attributes

ErrorType_t fErrorType
 Type of the error. More...
 
std::string fErrorMessage
 Error Message. More...
 

Detailed Description

Exception handling errors during iterative declustering or access to incomplete lund parameter set.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Oak Ridge National Laboratory
Since
June 5, 2019

Handling all errors occuring during the iterative declustering process. The kinds of error can appear:

  • Fastjet error during declustering
  • Access to incomplete lund plane parameter set

Definition at line 53 of file AliLundPlaneHelper.h.

Member Enumeration Documentation

Error types for the AliLundPlaneException.

Enumerator
kFastjetError 

Exception coming from FastJet.

kVertexNotSet 

Vertex position missing.

kParamError 

Access to uninitialized parameter.

kUndef 

Error source not defined.

Definition at line 59 of file AliLundPlaneHelper.h.

Constructor & Destructor Documentation

PWGJE::EMCALJetTasks::AliLundPlaneException::AliLundPlaneException ( )
inline

Dummy constructor.

Definition at line 69 of file AliLundPlaneHelper.h.

Referenced by PWGJE::EMCALJetTasks::AliLundPlaneParameters::ProtectAccessUninit().

PWGJE::EMCALJetTasks::AliLundPlaneException::AliLundPlaneException ( ErrorType_t  errtype,
const char *  error 
)
inline

Constructor with error message.

Parameters
errtyepType of the error
errorMessage content

Definition at line 76 of file AliLundPlaneHelper.h.

virtual PWGJE::EMCALJetTasks::AliLundPlaneException::~AliLundPlaneException ( )
throw (
)
inlinevirtual

Destructor.

Definition at line 81 of file AliLundPlaneHelper.h.

Member Function Documentation

ErrorType_t PWGJE::EMCALJetTasks::AliLundPlaneException::GetErrorType ( ) const
throw (
)
inline

Get type of the error.

Returns
Type of the error

Definition at line 93 of file AliLundPlaneHelper.h.

const char* PWGJE::EMCALJetTasks::AliLundPlaneException::what ( ) const
throw (
)
inline

Error message of the exception, define when exception is thrown.

Returns
Message content

Definition at line 87 of file AliLundPlaneHelper.h.

Member Data Documentation

std::string PWGJE::EMCALJetTasks::AliLundPlaneException::fErrorMessage
private

Error Message.

Definition at line 97 of file AliLundPlaneHelper.h.

Referenced by what().

ErrorType_t PWGJE::EMCALJetTasks::AliLundPlaneException::fErrorType
private

Type of the error.

Definition at line 96 of file AliLundPlaneHelper.h.

Referenced by GetErrorType().


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