CMS 3D CMS Logo

HitTripletGenerator.cc
Go to the documentation of this file.
2 
3 HitTripletGenerator::HitTripletGenerator(unsigned int nSize) : localRA(nSize) {}
4 
6  const edm::Event& ev,
7  const edm::EventSetup& es) {
8  assert(theTriplets.empty());
9  assert(theTriplets.capacity() == 0);
10  theTriplets.reserve(localRA.upper());
13  theTriplets.shrink_to_fit();
14  return theTriplets;
15 }
16 
18  theTriplets.clear();
19  theTriplets.shrink_to_fit();
20 }
OrderedHitTriplets theTriplets
assert(be >=bs)
HitTripletGenerator(unsigned int size=500)
edm::RunningAverage localRA
virtual void hitTriplets(const TrackingRegion &reg, OrderedHitTriplets &prs, const edm::EventSetup &es)
unsigned int size() const override
void update(unsigned int q)
const OrderedHitTriplets & run(const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) final