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
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
5
6
MultiHitGeneratorFromPairAndLayers::MultiHitGeneratorFromPairAndLayers
(
const
edm::ParameterSet
&
pset
)
7
: theLayerCache(nullptr), theMaxElement(
pset
.getParameter<unsigned
int
>(
"maxElement"
)) {}
8
9
MultiHitGeneratorFromPairAndLayers::~MultiHitGeneratorFromPairAndLayers
() {}
10
11
void
MultiHitGeneratorFromPairAndLayers::fillDescriptions
(
edm::ParameterSetDescription
& desc) {
12
desc.
add
<
unsigned
int
>(
"maxElement"
, 1000000);
13
}
14
15
void
MultiHitGeneratorFromPairAndLayers::init
(std::unique_ptr<HitPairGeneratorFromLayerPair>&& pairGenerator,
16
LayerCacheType
* layerCache) {
17
thePairGenerator
=
std::move
(
pairGenerator
);
18
theLayerCache
= layerCache;
19
}
20
21
void
MultiHitGeneratorFromPairAndLayers::clear
() {
cache
.clear(); }
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition:
ParameterSetDescription.h:95
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
LayerHitMapCache
Definition:
LayerHitMapCache.h:14
MultiHitGeneratorFromPairAndLayers::MultiHitGeneratorFromPairAndLayers
MultiHitGeneratorFromPairAndLayers(const edm::ParameterSet &pset)
Definition:
MultiHitGeneratorFromPairAndLayers.cc:6
MultiHitGeneratorFromPairAndLayers::init
void init(std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairGenerator, LayerCacheType *layerCache)
Definition:
MultiHitGeneratorFromPairAndLayers.cc:15
MultiHitGeneratorFromPairAndLayers::pairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
Definition:
MultiHitGeneratorFromPairAndLayers.h:52
ParameterSetDescription.h
MultiHitGeneratorFromPairAndLayers.h
edm::ParameterSet
Definition:
ParameterSet.h:36
createfilelist.int
int
Definition:
createfilelist.py:10
MultiHitGeneratorFromPairAndLayers::~MultiHitGeneratorFromPairAndLayers
virtual ~MultiHitGeneratorFromPairAndLayers()
Definition:
MultiHitGeneratorFromPairAndLayers.cc:9
eostools.move
def move(src, dest)
Definition:
eostools.py:511
HitPairGeneratorFromLayerPair.h
MultiHitGeneratorFromPairAndLayers::cache
cacheHits cache
Definition:
MultiHitGeneratorFromPairAndLayers.h:59
ParameterSet.h
MultiHitGeneratorFromPairAndLayers::theLayerCache
LayerCacheType * theLayerCache
Definition:
MultiHitGeneratorFromPairAndLayers.h:62
MultiHitGeneratorFromPairAndLayers::clear
void clear()
Definition:
MultiHitGeneratorFromPairAndLayers.cc:21
MultiHitGeneratorFromPairAndLayers::thePairGenerator
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
Definition:
MultiHitGeneratorFromPairAndLayers.h:61
MultiHitGeneratorFromPairAndLayers::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition:
MultiHitGeneratorFromPairAndLayers.cc:11
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16