CMS 3D CMS Logo

MultiHitGenerator.cc
Go to the documentation of this file.
2 #include <iostream>
3 #include <typeinfo>
4 
6  const edm::Event& ev,
7  const edm::EventSetup& es) {
8  theHitSets.clear(); // called multiple time for the same seed collection
9  theHitSets.reserve(localRA.upper());
10  hitSets(region, theHitSets, ev, es);
11  theHitSets.shrink_to_fit();
13  return theHitSets;
14 }
15 
17  theHitSets.clear();
18  theHitSets.shrink_to_fit();
19 }
unsigned int size() const override
virtual void hitSets(const TrackingRegion &reg, OrderedMultiHits &prs, const edm::EventSetup &es)
OrderedMultiHits theHitSets
void clear() override
const OrderedMultiHits & run(const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) final
edm::RunningAverage localRA
void update(unsigned int q)