#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_, mps_fire::end, f, edm::Ref< C, T, F >::index(), and sizeData_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), 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 |
Definition at line 83 of file SiPixelClusterShapeCache.h.
84 static_assert(
T::ArrayType::capacity() <= 15,
"T::ArrayType::capacity() more than 15, bit field too narrow");
87 data_[cluster.index()] =
References gpuVertexFinder::capacity(), checkRef(), filterCSVwithJSON::copy, data, data_, edm::Ref< C, T, F >::index(), and sizeData_.
Referenced by BeautifulSoup.PageElement::append().
◆ 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 |