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 }
virtual void hitSets(const TrackingRegion &reg, OrderedMultiHits &prs, const edm::EventSetup &es)
unsigned int size() const override
OrderedMultiHits theHitSets
bool ev
int upper() const
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)