1 #ifndef PRODUCERS_MANAGER
2 #define PRODUCERS_MANAGER
4 #include "cp3_llbb/Framework/interface/ProducerGetter.h"
5 #include "cp3_llbb/Framework/interface/Producer.h"
15 const T& get(
const std::string& name)
const {
16 static_assert(std::is_base_of<Framework::Producer, T>::value,
"T must inherit from Framework::Producer");
17 return dynamic_cast<const T&
>(m_getter.getProducer(name));
20 bool exists(
const std::string& name)
const;
Definition: Framework.h:21
Definition: ProducerGetter.h:9
Definition: ProducersManager.h:10