1 #ifndef Watcher_SimWatcherMaker_h
2 #define Watcher_SimWatcherMaker_h
40 std::shared_ptr<SimWatcher>& oWatcher,
41 std::shared_ptr<SimProducer>& oProd
44 std::shared_ptr<T> returnValue(
new T(p));
46 oWatcher = returnValue;
53 std::shared_ptr<SimProducer>
55 return std::shared_ptr<SimProducer>(iProd);
57 std::shared_ptr<SimProducer>
59 return std::shared_ptr<SimProducer>();
virtual void make(const edm::ParameterSet &p, SimActivityRegistry ®, std::shared_ptr< SimWatcher > &oWatcher, std::shared_ptr< SimProducer > &oProd) const
std::shared_ptr< SimProducer > getSimProducer(void *, std::shared_ptr< T > &iProd) const
static void enroll(SimActivityRegistry &iReg, T *iObj)
std::shared_ptr< SimProducer > getSimProducer(SimProducer *, std::shared_ptr< T > &iProd) const