src
RecoHGCal
TICL
interface
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
6
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
7
#include "
PhysicsTools/TensorFlow/interface/TensorFlow.h
"
8
9
namespace
ticl
{
10
// base class across ticl for objects hold in the edm::GlobalCache by plugins
11
class
CacheBase
{
12
public
:
13
CacheBase
(
const
edm::ParameterSet
&
params
) {}
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
:
21
TrackstersCache
(
const
edm::ParameterSet
&
params
) :
CacheBase
(
params
),
eidGraphDef
(nullptr) {}
22
23
~TrackstersCache
()
override
{}
24
25
std::atomic<tensorflow::GraphDef*>
eidGraphDef
;
26
};
27
}
// namespace ticl
28
29
#endif // RecoHGCal_TICL_GlobalCache_H__
ticl::TrackstersCache
Definition:
GlobalCache.h:19
ticl::CacheBase
Definition:
GlobalCache.h:11
ticl::TrackstersCache::TrackstersCache
TrackstersCache(const edm::ParameterSet ¶ms)
Definition:
GlobalCache.h:21
ParameterSetDescription.h
ticl::CacheBase::CacheBase
CacheBase(const edm::ParameterSet ¶ms)
Definition:
GlobalCache.h:13
TensorFlow.h
ticl::TrackstersCache::eidGraphDef
std::atomic< tensorflow::GraphDef * > eidGraphDef
Definition:
GlobalCache.h:25
submitPVValidationJobs.params
def params
Definition:
submitPVValidationJobs.py:482
ticl::TrackstersCache::~TrackstersCache
~TrackstersCache() override
Definition:
GlobalCache.h:23
ticl::CacheBase::~CacheBase
virtual ~CacheBase()
Definition:
GlobalCache.h:15
ticl
Definition:
Common.h:8
edm::ParameterSet
Definition:
ParameterSet.h:47
Generated for CMSSW Reference Manual by
1.8.14