CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HitQuadrupletGenerator.cc
Go to the documentation of this file.
2 
3 HitQuadrupletGenerator::HitQuadrupletGenerator(unsigned int nSize): localRA(nSize) {}
4 
6  const TrackingRegion& region, const edm::Event & ev, const edm::EventSetup& es)
7 {
8  assert(theQuadruplets.size()==0);assert(theQuadruplets.capacity()==0);
9  theQuadruplets.reserve(localRA.upper());
10  hitQuadruplets(region, theQuadruplets, ev, es);
12  theQuadruplets.shrink_to_fit();
13  return theQuadruplets;
14 }
15 
17 {
18  theQuadruplets.clear(); theQuadruplets.shrink_to_fit();
19 }
20 
edm::RunningAverage localRA
assert(m_qm.get())
bool ev
virtual unsigned int size() const
virtual void clear() final
int upper() const
HitQuadrupletGenerator(unsigned int size=500)
virtual void hitQuadruplets(const TrackingRegion &reg, OrderedHitSeeds &prs, const edm::Event &ev, const edm::EventSetup &es)=0
virtual const OrderedHitSeeds & run(const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) final
void update(unsigned int q)