#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.
References data_, edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::index(), and productId_.
Referenced by get(), insert(), and isFilled().
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();
std::vector< Field > data_
edm::ProductID productId_
◆ get()
Definition at line 97 of file SiPixelClusterShapeCache.h.
References cms::cuda::assert(), checkRef(), data_, mps_fire::end, f, 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().
99 Field
f =
data_[cluster.index()];
103 auto end = beg +
f.size;
std::vector< std::pair< int, int > > sizeData_
void checkRef(const ClusterRef &cluster) const
std::vector< Field > data_
◆ insert()
template<typename T >
void SiPixelClusterShapeCache::insert |
( |
const ClusterRef & |
cluster, |
|
|
const T & |
data |
|
) |
| |
|
inline |
Definition at line 83 of file SiPixelClusterShapeCache.h.
References gpuVertexFinder::capacity(), checkRef(), filterCSVwithJSON::copy, data, data_, edm::Ref< C, T, F >::index(), and sizeData_.
Referenced by SequenceTypes.Schedule::_replaceIfHeldDirectly().
84 static_assert(
T::ArrayType::capacity() <= 15,
"T::ArrayType::capacity() more than 15, bit field too narrow");
87 data_[cluster.index()] =
std::vector< std::pair< int, int > > sizeData_
void checkRef(const ClusterRef &cluster) const
std::vector< Field > data_
char data[epos_bytes_allocation]
size d for d tracks hist hist capacity()
◆ 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 |