src
FWCore
Services
src
setupSiteLocalConfig.cc
Go to the documentation of this file.
1
//
3
// data catalogs are filled in "parse"
4
//
6
7
//<<<<<< INCLUDES >>>>>>
8
9
#include "
FWCore/Services/src/SiteLocalConfigService.h
"
10
#include "
FWCore/Services/interface/setupSiteLocalConfig.h
"
11
12
#include <memory>
13
14
namespace
edm
{
15
ServiceRegistry::Operate
setupSiteLocalConfig
() {
16
std::unique_ptr<edm::SiteLocalConfig> slcptr =
17
std::make_unique<edm::service::SiteLocalConfigService>(
edm::ParameterSet
());
18
auto
slc = std::make_shared<edm::serviceregistry::ServiceWrapper<edm::SiteLocalConfig> >(
std::move
(slcptr));
19
edm::ServiceToken
slcToken =
edm::ServiceRegistry::createContaining
(slc);
20
return
edm::ServiceRegistry::Operate
(slcToken);
21
}
22
}
// namespace edm
setupSiteLocalConfig.h
edm::ServiceRegistry::createContaining
static ServiceToken createContaining(std::unique_ptr< T > iService)
create a service token that holds the service defined by iService
Definition:
ServiceRegistry.h:102
edm::setupSiteLocalConfig
ServiceRegistry::Operate setupSiteLocalConfig()
Definition:
setupSiteLocalConfig.cc:15
SiteLocalConfigService.h
edm::ServiceToken
Definition:
ServiceToken.h:42
edm::ServiceRegistry::Operate
friend class Operate
Definition:
ServiceRegistry.h:55
edm::ServiceRegistry::Operate
Definition:
ServiceRegistry.h:41
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:48
eostools.move
def move(src, dest)
Definition:
eostools.py:511
Generated for CMSSW Reference Manual by
1.8.14