Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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
#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
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:591
LayerHitMapCache
Definition:
LayerHitMapCache.h:14
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ParameterSet.h
ParameterSetDescription.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
eostools.move
def move
Definition:
eostools.py:511
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
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition:
ParameterSetDescription.h:95
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:47
MultiHitGeneratorFromPairAndLayers.h
MultiHitGeneratorFromPairAndLayers::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition:
MultiHitGeneratorFromPairAndLayers.cc:11
MultiHitGeneratorFromPairAndLayers::clear
void clear()
Definition:
MultiHitGeneratorFromPairAndLayers.cc:21
MultiHitGeneratorFromPairAndLayers::~MultiHitGeneratorFromPairAndLayers
virtual ~MultiHitGeneratorFromPairAndLayers()
Definition:
MultiHitGeneratorFromPairAndLayers.cc:9
Generated for CMSSW Reference Manual by
1.8.5