#include <RootServiceChecker.h>
Public Member Functions | |
RootServiceChecker () | |
~RootServiceChecker () |
Definition at line 5 of file RootServiceChecker.h.
edm::RootServiceChecker::RootServiceChecker | ( | ) |
Definition at line 7 of file RootServiceChecker.cc.
References edm::errors::Configuration, Exception, and edm::Service< T >::isAvailable().
{ Service<RootHandlers> rootSvc; if (!rootSvc.isAvailable()) { throw edm::Exception(errors::Configuration) << "The 'InitRootHandlers' service was not specified.\n" << "This service must be used if PoolSource or PoolOutputModule is used.\n"; } }
edm::RootServiceChecker::~RootServiceChecker | ( | ) | [inline] |
Definition at line 8 of file RootServiceChecker.h.
{}