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
MultiHitGenerator::clear
virtual void clear()
Definition:
MultiHitGenerator.cc:16
MultiHitGenerator::theHitSets
OrderedMultiHits theHitSets
Definition:
MultiHitGenerator.h:42
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrackingRegion
Definition:
TrackingRegion.h:40
MultiHitGenerator.h
OrderedMultiHits::size
virtual unsigned int size() const
Definition:
OrderedMultiHits.h:13
edm::RunningAverage::upper
int upper() const
Definition:
RunningAverage.h:29
edm::EventSetup
Definition:
EventSetup.h:44
OrderedMultiHits
Definition:
OrderedMultiHits.h:8
MultiHitGenerator::run
virtual 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:66
edm::RunningAverage::update
void update(unsigned int q)
Definition:
RunningAverage.h:31
Generated for CMSSW Reference Manual by
1.8.11