RecoPixelVertexing
PixelTriplets
src
HitTripletGeneratorFromPairAndLayers.cc
Go to the documentation of this file.
1
#include "
RecoPixelVertexing/PixelTriplets/interface/HitTripletGeneratorFromPairAndLayers.h
"
2
#include "
RecoTracker/TkHitPairs/interface/HitPairGeneratorFromLayerPair.h
"
3
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
4
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
5
6
HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers
(
unsigned
int
maxElement
)
7
: theLayerCache(nullptr), theMaxElement(
maxElement
) {}
8
9
HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers
(
const
edm::ParameterSet
&
pset
)
10
:
HitTripletGeneratorFromPairAndLayers
(
pset
.getParameter<unsigned
int
>(
"maxElement"
)) {}
11
12
HitTripletGeneratorFromPairAndLayers::~HitTripletGeneratorFromPairAndLayers
() {}
13
14
void
HitTripletGeneratorFromPairAndLayers::fillDescriptions
(
edm::ParameterSetDescription
& desc) {
15
desc.
add
<
unsigned
int
>(
"maxElement"
, 1000000);
16
}
17
18
void
HitTripletGeneratorFromPairAndLayers::init
(std::unique_ptr<HitPairGeneratorFromLayerPair>&& pairGenerator,
19
LayerCacheType
* layerCache) {
20
thePairGenerator
=
std::move
(
pairGenerator
);
21
theLayerCache
= layerCache;
22
}
HitTripletGeneratorFromPairAndLayers::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition:
HitTripletGeneratorFromPairAndLayers.cc:14
HitTripletGeneratorFromPairAndLayers::init
void init(std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairs, LayerCacheType *layerCache)
Definition:
HitTripletGeneratorFromPairAndLayers.cc:18
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition:
ParameterSetDescription.h:95
HitTripletGeneratorFromPairAndLayers.h
HitTripletGeneratorFromPairAndLayers::pairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
Definition:
HitTripletGeneratorFromPairAndLayers.h:37
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
LayerHitMapCache
Definition:
LayerHitMapCache.h:14
HitTripletGeneratorFromPairAndLayers::thePairGenerator
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
Definition:
HitTripletGeneratorFromPairAndLayers.h:55
HitTripletGeneratorFromPairAndLayers::~HitTripletGeneratorFromPairAndLayers
virtual ~HitTripletGeneratorFromPairAndLayers()
Definition:
HitTripletGeneratorFromPairAndLayers.cc:12
HitTripletGeneratorFromPairAndLayers
Definition:
HitTripletGeneratorFromPairAndLayers.h:25
ParameterSetDescription.h
edm::ParameterSet
Definition:
ParameterSet.h:36
HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers
HitTripletGeneratorFromPairAndLayers(unsigned int maxElement=0)
Definition:
HitTripletGeneratorFromPairAndLayers.cc:6
createfilelist.int
int
Definition:
createfilelist.py:10
HitTripletGeneratorFromPairAndLayers::theLayerCache
LayerCacheType * theLayerCache
Definition:
HitTripletGeneratorFromPairAndLayers.h:56
eostools.move
def move(src, dest)
Definition:
eostools.py:511
HitPairGeneratorFromLayerPair.h
HLT_2018_cff.maxElement
maxElement
Definition:
HLT_2018_cff.py:8533
ParameterSet.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16