artdaq  v3_01_00
DummyProductCache.h
1 #ifndef art_Framework_IO_Root_detail_DummyProductCache_h
2 #define art_Framework_IO_Root_detail_DummyProductCache_h
3 
4 #include "canvas/Persistency/Common/EDProduct.h"
5 
6 #include <map>
7 #include <memory>
8 #include <string>
9 
10 namespace art {
11  namespace detail {
12 
17  public:
23  EDProduct const* product(std::string const& wrappedName);
24  private:
25  std::map<std::string,std::unique_ptr<EDProduct>> dummies_;
26  };
27 
28  }
29 }
30 
31 #endif
32 
33 // Local variables:
34 // mode: c++
35 // End:
EDProduct const * product(std::string const &wrappedName)
Retrieve a product handle from the cache.
A lightweight prodcut cache for when the full thing is not appropriate (TBB and ROOT don&#39;t fully get ...