#include <ServiceRegistry.h>
Definition at line 37 of file ServiceRegistry.h.
ServiceRegistry::~ServiceRegistry |
( |
| ) |
|
|
virtual |
ServiceRegistry::ServiceRegistry |
( |
| ) |
|
|
private |
template<typename T >
static ServiceToken edm::ServiceRegistry::createContaining |
( |
std::unique_ptr< T > |
iService | ) |
|
|
inlinestatic |
create a service token that holds the service held by iWrapper
Definition at line 119 of file ServiceRegistry.h.
References looper::config.
120 std::vector<edm::ParameterSet>
config;
121 auto manager = std::make_shared<serviceregistry::ServicesManager>(
config);
122 manager->put(iWrapper);
Definition at line 126 of file ServiceRegistry.h.
References looper::config.
129 std::vector<edm::ParameterSet>
config;
130 auto manager = std::make_shared<serviceregistry::ServicesManager>(iToken, iLegacy,
config);
131 manager->put(iWrapper);
ServiceToken ServiceRegistry::createServicesFromConfig |
( |
std::string const & |
config | ) |
|
|
static |
Definition at line 97 of file ServiceRegistry.cc.
101 using namespace serviceregistry;
102 auto returnValue = std::make_shared<ServicesManager>(iToken, iLegacy, iPS, associate);
template<typename T >
T& edm::ServiceRegistry::get |
( |
| ) |
const |
|
inline |
Definition at line 63 of file ServiceRegistry.h.
References edm::errors::NotFound, and edm::Exception::throwThis().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getResultingSection(), edm::ScheduleItems::initSchedule(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
67 " no ServiceRegistry has been set for this thread");
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
std::shared_ptr< serviceregistry::ServicesManager > manager_
Definition at line 107 of file ServiceRegistry.cc.
Referenced by edm::Worker::doWork(), edm::ScheduleItems::initSchedule(), edm::Service< SiStripCondObjBuilderFromDb >::isAvailable(), edm::Service< SiStripCondObjBuilderFromDb >::operator*(), edm::Service< SiStripCondObjBuilderFromDb >::operator->(), edm::WorkerManager::processOneOccurrence(), edm::ReducedProvenanceReader::ReducedProvenanceReader(), evf::EvFBuildingThrottle::start(), edm::OutputModuleCommunicatorT< T >::writeLumiAsync(), edm::OutputModuleCommunicatorT< T >::writeRunAsync(), and edm::ServiceRegistry::Operate::~Operate().
template<typename T >
bool edm::ServiceRegistry::isAvailable |
( |
| ) |
const |
|
inline |
void ServiceRegistry::unsetContext |
( |
ServiceToken const & |
iOldToken | ) |
|
|
private |
friend class edm::FwkImpl |
|
friend |
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
friend |
CALO JETS
PF JETS
Definition at line 9 of file print_TrackerMap.cc.
22 std::cout <<
"ready to use file " << filename <<
" to create the map " << title <<
" and save it in " <<outfile << std::endl;
36 printTrackerMap(filename,title,outfile,size,logscale,withpixel,min,max);
39 else {
std::cout <<
"Wrong number of arguments: " <<
argc << std::endl;
return -1; }
EventID const & min(EventID const &lh, EventID const &rh)
void printTrackerMap(const std::string filename, const std::string title, const std::string outfile, const int size, const std::string logscale, std::string withpixel, const float min, const float max)
EventID const & max(EventID const &lh, EventID const &rh)