CMS 3D CMS Logo

List of all members | Public Member Functions
edm::RootServiceChecker Class Reference

#include <RootServiceChecker.h>

Public Member Functions

 RootServiceChecker ()
 
 ~RootServiceChecker ()
 

Detailed Description

Definition at line 5 of file RootServiceChecker.h.

Constructor & Destructor Documentation

◆ RootServiceChecker()

edm::RootServiceChecker::RootServiceChecker ( )

Definition at line 7 of file RootServiceChecker.cc.

References edm::errors::Configuration, Exception, and edm::Service< T >::isAvailable().

7  {
8  Service<RootHandlers> rootSvc;
9  if (!rootSvc.isAvailable()) {
11  << "The 'InitRootHandlers' service was not specified.\n"
12  << "This service must be used if PoolSource or PoolOutputModule is used.\n";
13  }
14  }

◆ ~RootServiceChecker()

edm::RootServiceChecker::~RootServiceChecker ( )
inline

Definition at line 8 of file RootServiceChecker.h.

8 {}