test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiHitGenerator.cc
Go to the documentation of this file.
2 #include<iostream>
3 #include<typeinfo>
4 
6  const TrackingRegion& region, const edm::Event & ev, const edm::EventSetup& es)
7 {
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 {
18  theHitSets.clear(); theHitSets.shrink_to_fit();
19 }
20 
virtual void hitSets(const TrackingRegion &reg, OrderedMultiHits &prs, const edm::EventSetup &es)
virtual void clear()
OrderedMultiHits theHitSets
bool ev
virtual unsigned int size() const
int upper() const
virtual const OrderedMultiHits & run(const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) final
edm::RunningAverage localRA
void update(unsigned int q)