#include <SiPixelClusterShapeCache.h>
Definition at line 43 of file SiPixelClusterShapeCache.h.
SiPixelClusterShapeCache::SiPixelClusterShapeCache |
( |
| ) |
|
|
inline |
SiPixelClusterShapeCache::SiPixelClusterShapeCache |
( |
const edm::HandleBase & |
handle | ) |
|
|
inlineexplicit |
SiPixelClusterShapeCache::SiPixelClusterShapeCache |
( |
const edm::ProductID & |
id | ) |
|
|
inlineexplicit |
SiPixelClusterShapeCache::~SiPixelClusterShapeCache |
( |
| ) |
|
void SiPixelClusterShapeCache::checkRef |
( |
const ClusterRef & |
cluster | ) |
const |
|
private |
Definition at line 8 of file SiPixelClusterShapeCache.cc.
References edm::Ref< C, T, F >::id(), and edm::Ref< C, T, F >::index().
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_
Definition at line 97 of file SiPixelClusterShapeCache.h.
References edm::helpers::checkRef(), SiPixelClusterShapeCache::Field::complete, end, f, SiPixelClusterShapeCache::Field::filled, SiPixelClusterShapeCache::Field::has, SiPixelClusterShapeCache::Field::offset, SiPixelClusterShapeData::SiPixelClusterShapeData(), SiPixelClusterShapeCache::Field::size, and SiPixelClusterShapeCache::Field::straight.
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(), ClusterShapeHitFilter::getSizes(), 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(), util.rrapi.RRApi::templates(), 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_
template<typename T >
void SiPixelClusterShapeCache::insert |
( |
const ClusterRef & |
cluster, |
|
|
const T & |
data |
|
) |
| |
|
inline |
bool SiPixelClusterShapeCache::isFilled |
( |
const ClusterRef & |
cluster | ) |
const |
|
inline |
void SiPixelClusterShapeCache::resize |
( |
size_t |
size | ) |
|
|
inline |
void SiPixelClusterShapeCache::shrink_to_fit |
( |
| ) |
|
|
inline |
std::vector<Field> SiPixelClusterShapeCache::data_ |
|
private |
std::vector<std::pair<int, int> > SiPixelClusterShapeCache::sizeData_ |
|
private |