#include "TPTools/ITPConverter.h"
#include "GaudiKernel/MsgStream.h"
#include <stdexcept>
Go to the source code of this file.
◆ errorHandler()
Definition at line 11 of file ITPConverter.cxx.
12{
13 static const char *
const ignore_error =
getenv(
"ATHENA_TP_IGNORE_NOT_FOUND");
14 if( ignore_error ) return;
15 static const char *
const do_abort =
getenv(
"ATHENA_TP_DIE_ON_NOT_FOUND");
16 if( do_abort ) abort();
17 throw std::runtime_error( "TP converter not found" );
18}
std::string getenv(const std::string &variableName)
get an environment variable