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 }
OrderedMultiHits
Definition: OrderedMultiHits.h:8
MultiHitGenerator::clear
void clear() override
Definition: MultiHitGenerator.cc:16
MultiHitGenerator.h
edm::RunningAverage::update
void update(unsigned int q)
Definition: RunningAverage.h:35
MultiHitGenerator::localRA
edm::RunningAverage localRA
Definition: MultiHitGenerator.h:45
OrderedMultiHits::size
unsigned int size() const override
Definition: OrderedMultiHits.h:12
edm::EventSetup
Definition: EventSetup.h:57
edm::RunningAverage::upper
int upper() const
Definition: RunningAverage.h:30
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
HLT_2018_cff.region
region
Definition: HLT_2018_cff.py:81479
TrackingRegion
Definition: TrackingRegion.h:40
MultiHitGenerator::hitSets
virtual void hitSets(const TrackingRegion &reg, OrderedMultiHits &prs, const edm::EventSetup &es)
Definition: MultiHitGenerator.h:32
edm::Event
Definition: Event.h:73
MultiHitGenerator::run
const OrderedMultiHits & run(const TrackingRegion &region, const edm::Event &ev, const edm::EventSetup &es) final
Definition: MultiHitGenerator.cc:5
MultiHitGenerator::theHitSets
OrderedMultiHits theHitSets
Definition: MultiHitGenerator.h:42