Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-18 22:30:25

0001 ///////////////////////////////////////
0002 //
0003 // data catalogs are filled in "parse"
0004 //
0005 ///////////////////////////////////////
0006 
0007 //<<<<<< INCLUDES                                                       >>>>>>
0008 
0009 #include "FWCore/Services/src/SiteLocalConfigService.h"
0010 #include "FWCore/Services/interface/setupSiteLocalConfig.h"
0011 
0012 #include <memory>
0013 
0014 namespace edm {
0015   ServiceRegistry::Operate setupSiteLocalConfig() {
0016     std::unique_ptr<edm::SiteLocalConfig> slcptr =
0017         std::make_unique<edm::service::SiteLocalConfigService>(edm::ParameterSet());
0018     auto slc = std::make_shared<edm::serviceregistry::ServiceWrapper<edm::SiteLocalConfig> >(std::move(slcptr));
0019     edm::ServiceToken slcToken = edm::ServiceRegistry::createContaining(slc);
0020     return edm::ServiceRegistry::Operate(slcToken);
0021   }
0022 }  // namespace edm