CMS 3D CMS Logo

RootServiceChecker.cc
Go to the documentation of this file.
5 
6 namespace edm {
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  }
15 } // namespace edm
RootServiceChecker.h
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::Service::isAvailable
bool isAvailable() const
Definition: Service.h:40
edm::RootServiceChecker::RootServiceChecker
RootServiceChecker()
Definition: RootServiceChecker.cc:7
EDMException.h
Service.h
edm::Service
Definition: Service.h:30
Exception
Definition: hltDiff.cc:245
RootHandlers.h
edm::errors::Configuration
Definition: EDMException.h:36