src
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(); }
MultiHitGeneratorFromPairAndLayers::theLayerCache
LayerCacheType * theLayerCache
Definition:
MultiHitGeneratorFromPairAndLayers.h:61
MultiHitGeneratorFromPairAndLayers::pairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
Definition:
MultiHitGeneratorFromPairAndLayers.h:51
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
LayerHitMapCache
Definition:
LayerHitMapCache.h:14
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ParameterSet.h
createfilelist.int
int
Definition:
createfilelist.py:10
ParameterSetDescription.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:263
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::cache
cacheHits cache
Definition:
MultiHitGeneratorFromPairAndLayers.h:58
HitPairGeneratorFromLayerPair.h
MultiHitGeneratorFromPairAndLayers::thePairGenerator
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
Definition:
MultiHitGeneratorFromPairAndLayers.h:60
edm::ParameterSet
Definition:
ParameterSet.h:48
MultiHitGeneratorFromPairAndLayers.h
MultiHitGeneratorFromPairAndLayers::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition:
MultiHitGeneratorFromPairAndLayers.cc:11
MultiHitGeneratorFromPairAndLayers::clear
void clear()
Definition:
MultiHitGeneratorFromPairAndLayers.cc:21
eostools.move
def move(src, dest)
Definition:
eostools.py:511
MultiHitGeneratorFromPairAndLayers::~MultiHitGeneratorFromPairAndLayers
virtual ~MultiHitGeneratorFromPairAndLayers()
Definition:
MultiHitGeneratorFromPairAndLayers.cc:9
Generated for CMSSW Reference Manual by
1.8.14