#include <SourceFactory.h>
Public Types | |
typedef EventSetupRecordIntervalFinder | base_type |
Static Public Member Functions | |
template<class T > | |
static void | addTo (EventSetupProvider &iProvider, boost::shared_ptr< T > iComponent) |
static boost::shared_ptr < base_type > const * | getAlreadyMadeComponent (EventSetupsController const &esController, ParameterSet const &iConfiguration) |
static std::string | name () |
static void | putComponent (EventSetupsController &esController, ParameterSet const &iConfiguration, boost::shared_ptr< base_type > const &component) |
Definition at line 55 of file SourceFactory.h.
Definition at line 56 of file SourceFactory.h.
static void edm::eventsetup::SourceMakerTraits::addTo | ( | EventSetupProvider & | iProvider, |
boost::shared_ptr< T > | iComponent | ||
) | [inline, static] |
Definition at line 59 of file SourceFactory.h.
References edm::eventsetup::EventSetupProvider::add(), and edm::eventsetup::addProviderTo().
{ //a source does not always have to be a provider addProviderTo(iProvider, iComponent, static_cast<const T*>(0)); boost::shared_ptr<EventSetupRecordIntervalFinder> pFinder(iComponent); iProvider.add(pFinder); }
boost::shared_ptr< SourceMakerTraits::base_type > const * edm::eventsetup::SourceMakerTraits::getAlreadyMadeComponent | ( | EventSetupsController const & | esController, |
ParameterSet const & | iConfiguration | ||
) | [static] |
Definition at line 29 of file SourceFactory.cc.
References edm::eventsetup::EventSetupsController::getAlreadyMadeESSource().
{
return esController.getAlreadyMadeESSource(iConfiguration);
}
std::string edm::eventsetup::SourceMakerTraits::name | ( | void | ) | [static] |
Definition at line 26 of file SourceFactory.cc.
{ return "CMS EDM Framework ESSource"; }
void edm::eventsetup::SourceMakerTraits::putComponent | ( | EventSetupsController & | esController, |
ParameterSet const & | iConfiguration, | ||
boost::shared_ptr< base_type > const & | component | ||
) | [static] |
Definition at line 34 of file SourceFactory.cc.
References edm::eventsetup::EventSetupsController::putESSource().
{ esController.putESSource(iConfiguration, component); }