#include <SiPixelClusterShapeCache.h>
Definition at line 43 of file SiPixelClusterShapeCache.h.
◆ ClusterRef
◆ SiPixelClusterShapeCache() [1/3]
SiPixelClusterShapeCache::SiPixelClusterShapeCache |
( |
| ) |
|
|
inline |
◆ SiPixelClusterShapeCache() [2/3]
SiPixelClusterShapeCache::SiPixelClusterShapeCache |
( |
const edm::HandleBase & |
handle | ) |
|
|
inlineexplicit |
◆ SiPixelClusterShapeCache() [3/3]
SiPixelClusterShapeCache::SiPixelClusterShapeCache |
( |
const edm::ProductID & |
id | ) |
|
|
inlineexplicit |
◆ ~SiPixelClusterShapeCache()
SiPixelClusterShapeCache::~SiPixelClusterShapeCache |
( |
| ) |
|
◆ checkRef()
void SiPixelClusterShapeCache::checkRef |
( |
const ClusterRef & |
cluster | ) |
const |
|
private |
Definition at line 8 of file SiPixelClusterShapeCache.cc.
11 <<
"SiPixelClusterShapeCache caches values for SiPixelClusters with ProductID " <<
productId_
12 <<
", got SiPixelClusterRef with ID " << ref.
id();
13 if (ref.index() >=
data_.size())
15 <<
"SiPixelClusterShapeCache caches values for SiPixelClusters with ProductID " <<
productId_ <<
" that has "
16 <<
data_.size() <<
" clusters, got SiPixelClusterRef with index " << ref.index();
References data_, edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::index(), and productId_.
Referenced by get(), insert(), and isFilled().
◆ get()
Definition at line 97 of file SiPixelClusterShapeCache.h.
99 Field
f =
data_[cluster.index()];
103 auto end = beg +
f.size;
References cms::cuda::assert(), checkRef(), data_, end, f, edm::Ref< C, T, F >::index(), and sizeData_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
◆ insert()
template<typename T >
void SiPixelClusterShapeCache::insert |
( |
const ClusterRef & |
cluster, |
|
|
const T & |
data |
|
) |
| |
|
inline |
◆ isFilled()
bool SiPixelClusterShapeCache::isFilled |
( |
const ClusterRef & |
cluster | ) |
const |
|
inline |
◆ resize()
void SiPixelClusterShapeCache::resize |
( |
size_t |
size | ) |
|
|
inline |
◆ shrink_to_fit()
void SiPixelClusterShapeCache::shrink_to_fit |
( |
| ) |
|
|
inline |
◆ swap()
◆ data_
std::vector<Field> SiPixelClusterShapeCache::data_ |
|
private |
◆ productId_
◆ sizeData_
std::vector<std::pair<int, int> > SiPixelClusterShapeCache::sizeData_ |
|
private |