CMS 3D CMS Logo

GlobalCache.h
Go to the documentation of this file.
1 // Definition of objects placed in the edm::GlobalCache.
2 
3 #ifndef RecoHGCal_TICL_GlobalCache_H__
4 #define RecoHGCal_TICL_GlobalCache_H__
5 
8 
9 namespace ticl {
10  // base class across ticl for objects hold in the edm::GlobalCache by plugins
11  class CacheBase {
12  public:
14 
15  virtual ~CacheBase() {}
16  };
17 
18  // data structure hold by TrackstersProducer to store the TF graph for energy regression and ID
19  class TrackstersCache : public CacheBase {
20  public:
22 
23  ~TrackstersCache() override {}
24 
25  std::atomic<tensorflow::GraphDef*> eidGraphDef;
26  };
27 } // namespace ticl
28 
29 #endif // RecoHGCal_TICL_GlobalCache_H__
TrackstersCache(const edm::ParameterSet &params)
Definition: GlobalCache.h:21
CacheBase(const edm::ParameterSet &params)
Definition: GlobalCache.h:13
std::atomic< tensorflow::GraphDef * > eidGraphDef
Definition: GlobalCache.h:25
~TrackstersCache() override
Definition: GlobalCache.h:23
virtual ~CacheBase()
Definition: GlobalCache.h:15
Definition: Common.h:10