CMS 3D CMS Logo

SiStripApproximateClusterCollection.cc
Go to the documentation of this file.
2 
3 void SiStripApproximateClusterCollection::reserve(std::size_t dets, std::size_t clusters) {
4  detIds_.reserve(dets);
5  beginIndices_.reserve(dets);
6  clusters_.reserve(clusters);
7 }
8 
10  detIds_.push_back(detId);
11  beginIndices_.push_back(clusters_.size());
12  return Filler(clusters_);
13 }
void reserve(std::size_t dets, std::size_t clusters)
std::vector< SiStripApproximateCluster > clusters_