1 #ifndef GAUDIGSL_GSLERRORCOUNT_H
2 #define GAUDIGSL_GSLERRORCOUNT_H 1
8 #include "GaudiKernel/AlgTool.h"
10 #include "GaudiGSL/IGslErrorHandler.h"
11 #include "GaudiGSL/GslError.h"
47 (
const std::string&
type ,
48 const std::string&
name ,
57 typedef std::map<GslError,unsigned int>
Counters ;
66 #endif // GAUDIGSL_GSLERRORCOUNT_H
Helper class to represent GSL errors.
~GslErrorCount() override=default
destructor (protected and virtual)
StatusCode handle(const GslError &error) const override
handle the GSL error
GslErrorCount(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
This class is used for returning status codes from appropriate routines.
std::map< GslError, unsigned int > Counters
container of error counters
Definition of the basic interface.
Base class used to extend a class implementing other interfaces.
Concrete GSL error handler It is just counts number of GSL errors.
StatusCode finalize() override
standard finalization of Tool