1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "DataFormats/SiStripCluster/interface/SiStripApproximateClusterCollection.h"
void SiStripApproximateClusterCollection::reserve(std::size_t dets, std::size_t clusters) {
detIds_.reserve(dets);
beginIndices_.reserve(dets);
clusters_.reserve(clusters);
}
SiStripApproximateClusterCollection::Filler SiStripApproximateClusterCollection::beginDet(unsigned int detId) {
detIds_.push_back(detId);
beginIndices_.push_back(clusters_.size());
return Filler(clusters_);
}
|