CMS 3D CMS Logo

Public Member Functions

edm::RootServiceChecker Class Reference

#include <RootServiceChecker.h>

List of all members.

Public Member Functions

 RootServiceChecker ()
 ~RootServiceChecker ()

Detailed Description

Definition at line 5 of file RootServiceChecker.h.


Constructor & Destructor Documentation

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.

{}