1 #ifndef Watcher_SimWatcherMaker_h
2 #define Watcher_SimWatcherMaker_h
41 boost::shared_ptr<SimWatcher>& oWatcher,
42 boost::shared_ptr<SimProducer>& oProd
45 boost::shared_ptr<T> returnValue(
new T(p));
47 oWatcher = returnValue;
54 boost::shared_ptr<SimProducer>
56 return boost::shared_ptr<SimProducer>(iProd);
58 boost::shared_ptr<SimProducer>
60 return boost::shared_ptr<SimProducer>();
boost::shared_ptr< SimProducer > getSimProducer(SimProducer *, boost::shared_ptr< T > &iProd) const
static void enroll(SimActivityRegistry &iReg, T *iObj)
boost::shared_ptr< SimProducer > getSimProducer(void *, boost::shared_ptr< T > &iProd) const
virtual void make(const edm::ParameterSet &p, SimActivityRegistry ®, boost::shared_ptr< SimWatcher > &oWatcher, boost::shared_ptr< SimProducer > &oProd) const