Main Page
Namespaces
Classes
Package Documentation
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
(
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();
12
localRA
.
update
(
theHitSets
.
size
());
13
return
theHitSets
;
14
}
15
16
void
MultiHitGenerator::clear
()
17
{
18
theHitSets
.clear();
theHitSets
.shrink_to_fit();
19
}
20
MultiHitGenerator::hitSets
virtual void hitSets(const TrackingRegion ®, OrderedMultiHits &prs, const edm::EventSetup &es)
Definition:
MultiHitGenerator.h:33
OrderedMultiHits::size
unsigned int size() const override
Definition:
OrderedMultiHits.h:13
MultiHitGenerator::theHitSets
OrderedMultiHits theHitSets
Definition:
MultiHitGenerator.h:42
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrackingRegion
Definition:
TrackingRegion.h:39
MultiHitGenerator.h
edm::RunningAverage::upper
int upper() const
Definition:
RunningAverage.h:30
MultiHitGenerator::clear
void clear() override
Definition:
MultiHitGenerator.cc:16
edm::EventSetup
Definition:
EventSetup.h:57
OrderedMultiHits
Definition:
OrderedMultiHits.h:8
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:71
edm::RunningAverage::update
void update(unsigned int q)
Definition:
RunningAverage.h:35
Generated for CMSSW Reference Manual by
1.8.11