RecoTracker
TkSeedGenerator
src
MultiHitGenerator.cc
Go to the documentation of this file.
1
#include "
RecoTracker/TkSeedGenerator/interface/MultiHitGenerator.h
"
2
#include <iostream>
3
#include <typeinfo>
4
5
const
OrderedMultiHits
&
MultiHitGenerator::run
(
const
TrackingRegion
&
region
,
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();
12
localRA
.
update
(
theHitSets
.
size
());
13
return
theHitSets
;
14
}
15
16
void
MultiHitGenerator::clear
() {
17
theHitSets
.clear();
18
theHitSets
.shrink_to_fit();
19
}
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
OrderedMultiHits::size
unsigned int size() const override
Definition:
OrderedMultiHits.h:12
edm::RunningAverage::upper
int upper() const
Definition:
RunningAverage.h:30
MultiHitGenerator::hitSets
virtual void hitSets(const TrackingRegion ®, OrderedMultiHits &prs, const edm::EventSetup &es)
Definition:
MultiHitGenerator.h:32
MultiHitGenerator::theHitSets
OrderedMultiHits theHitSets
Definition:
MultiHitGenerator.h:42
TrackingRegion
Definition:
TrackingRegion.h:40
MultiHitGenerator.h
MultiHitGenerator::clear
void clear() override
Definition:
MultiHitGenerator.cc:16
edm::EventSetup
Definition:
EventSetup.h:59
OrderedMultiHits
Definition:
OrderedMultiHits.h:8
HLT_2022v14_cff.region
region
Definition:
HLT_2022v14_cff.py:62879
MultiHitGenerator::run
const OrderedMultiHits & run(const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es) final
Definition:
MultiHitGenerator.cc:5
MultiHitGenerator::localRA
edm::RunningAverage localRA
Definition:
MultiHitGenerator.h:45
edm::Event
Definition:
Event.h:73
edm::RunningAverage::update
void update(unsigned int q)
Definition:
RunningAverage.h:35
Generated for CMSSW Reference Manual by
1.8.14