Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoTracker
TkSeedGenerator
src
MultiHitGeneratorFromPairAndLayers.cc
Go to the documentation of this file.
1
#include "
RecoTracker/TkSeedGenerator/interface/MultiHitGeneratorFromPairAndLayers.h
"
2
#include "
RecoTracker/TkHitPairs/interface/HitPairGeneratorFromLayerPair.h
"
3
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
4
5
MultiHitGeneratorFromPairAndLayers::MultiHitGeneratorFromPairAndLayers
(
const
edm::ParameterSet
& pset):
6
theLayerCache(
nullptr
),
7
theMaxElement(pset.getParameter<unsigned int>(
"maxElement"
))
8
{}
9
10
MultiHitGeneratorFromPairAndLayers::~MultiHitGeneratorFromPairAndLayers
() {}
11
12
void
MultiHitGeneratorFromPairAndLayers::init
(std::unique_ptr<HitPairGeneratorFromLayerPair>&& pairGenerator,
LayerCacheType
*layerCache) {
13
thePairGenerator
= std::move(
pairGenerator
);
14
theLayerCache
= layerCache;
15
}
16
17
void
MultiHitGeneratorFromPairAndLayers::clear
() {
18
cache
.clear();
19
}
MultiHitGeneratorFromPairAndLayers::theLayerCache
LayerCacheType * theLayerCache
Definition:
MultiHitGeneratorFromPairAndLayers.h:46
MultiHitGeneratorFromPairAndLayers::pairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
Definition:
MultiHitGeneratorFromPairAndLayers.h:36
nullptr
#define nullptr
LayerHitMapCache
Definition:
LayerHitMapCache.h:14
ParameterSet.h
MultiHitGeneratorFromPairAndLayers::MultiHitGeneratorFromPairAndLayers
MultiHitGeneratorFromPairAndLayers(const edm::ParameterSet &pset)
Definition:
MultiHitGeneratorFromPairAndLayers.cc:5
MultiHitGeneratorFromPairAndLayers::init
void init(std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairGenerator, LayerCacheType *layerCache)
Definition:
MultiHitGeneratorFromPairAndLayers.cc:12
MultiHitGeneratorFromPairAndLayers::cache
cacheHits cache
Definition:
MultiHitGeneratorFromPairAndLayers.h:43
HitPairGeneratorFromLayerPair.h
MultiHitGeneratorFromPairAndLayers::thePairGenerator
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
Definition:
MultiHitGeneratorFromPairAndLayers.h:45
edm::ParameterSet
Definition:
ParameterSet.h:36
MultiHitGeneratorFromPairAndLayers.h
MultiHitGeneratorFromPairAndLayers::clear
void clear()
Definition:
MultiHitGeneratorFromPairAndLayers.cc:17
MultiHitGeneratorFromPairAndLayers::~MultiHitGeneratorFromPairAndLayers
virtual ~MultiHitGeneratorFromPairAndLayers()
Definition:
MultiHitGeneratorFromPairAndLayers.cc:10
Generated for CMSSW Reference Manual by
1.8.5