9 if(ref.
id() != productId_)
10 throw cms::Exception(
"InvalidReference") <<
"Phase2ITPixelClusterShapeCache caches values for Phase2ITPixelClusters with ProductID " << productId_ <<
", got Phase2ITPixelClusterRef with ID " << ref.
id();
11 if(ref.
index() >= data_.size())
12 throw cms::Exception(
"InvalidReference") <<
"Phase2ITPixelClusterShapeCache caches values for Phase2ITPixelClusters with ProductID " << productId_ <<
" that has " << data_.size() <<
" clusters, got Phase2ITPixelClusterRef with index " << ref.
index();
ProductID id() const
Accessor for product ID.
void checkRef(const ClusterRef &cluster) const
~Phase2ITPixelClusterShapeData()
~Phase2ITPixelClusterShapeCache()