#include <IOPool/Common/interface/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, and edm::Service< T >::isAvailable().
00007 { 00008 Service<RootHandlers> rootSvc; 00009 if (!rootSvc.isAvailable()) { 00010 throw edm::Exception(errors::Configuration) << 00011 "The 'InitRootHandlers' service was not specified.\n" << 00012 "This service must be used if PoolSource or PoolOutputModule is used.\n"; 00013 } 00014 }
edm::RootServiceChecker::~RootServiceChecker | ( | ) | [inline] |