Main Page
Namespaces
Classes
Package Documentation
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
),
8
theMaxElement(maxElement)
9
{}
10
11
HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers
(
const
edm::ParameterSet
&
pset
):
12
HitTripletGeneratorFromPairAndLayers
(pset.getParameter<unsigned
int
>(
"maxElement"
))
13
{}
14
15
HitTripletGeneratorFromPairAndLayers::~HitTripletGeneratorFromPairAndLayers
() {}
16
17
void
HitTripletGeneratorFromPairAndLayers::fillDescriptions
(
edm::ParameterSetDescription
& desc) {
18
desc.
add
<
unsigned
int
>(
"maxElement"
, 1000000);
19
}
20
21
void
HitTripletGeneratorFromPairAndLayers::init
(std::unique_ptr<HitPairGeneratorFromLayerPair>&&
pairGenerator
,
LayerCacheType
*layerCache) {
22
thePairGenerator
=
std::move
(
pairGenerator
);
23
theLayerCache
= layerCache;
24
}
nullptr
#define nullptr
Definition:
GCC11Compatibility.h:37
HitTripletGeneratorFromPairAndLayers.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
HitTripletGeneratorFromPairAndLayers::HitTripletGeneratorFromPairAndLayers
HitTripletGeneratorFromPairAndLayers(unsigned int maxElement=0)
Definition:
HitTripletGeneratorFromPairAndLayers.cc:6
LayerHitMapCache
Definition:
LayerHitMapCache.h:14
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ParameterSet.h
createfilelist.int
int
Definition:
createfilelist.py:10
ParameterSetDescription.h
HitTripletGeneratorFromPairAndLayers::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition:
HitTripletGeneratorFromPairAndLayers.cc:17
HitTripletGeneratorFromPairAndLayers::init
void init(std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairs, LayerCacheType *layerCache)
Definition:
HitTripletGeneratorFromPairAndLayers.cc:21
HitTripletGeneratorFromPairAndLayers::theLayerCache
LayerCacheType * theLayerCache
Definition:
HitTripletGeneratorFromPairAndLayers.h:50
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition:
ParameterSetDescription.h:95
HitTripletGeneratorFromPairAndLayers::~HitTripletGeneratorFromPairAndLayers
virtual ~HitTripletGeneratorFromPairAndLayers()
Definition:
HitTripletGeneratorFromPairAndLayers.cc:15
HitTripletGeneratorFromPairAndLayers::thePairGenerator
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
Definition:
HitTripletGeneratorFromPairAndLayers.h:49
HitTripletGeneratorFromPairAndLayers
Definition:
HitTripletGeneratorFromPairAndLayers.h:19
HitPairGeneratorFromLayerPair.h
edm::ParameterSet
Definition:
ParameterSet.h:36
HitTripletGeneratorFromPairAndLayers::pairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
Definition:
HitTripletGeneratorFromPairAndLayers.h:32
hiDetachedQuadStep_cff.maxElement
maxElement
Definition:
hiDetachedQuadStep_cff.py:60
eostools.move
def move(src, dest)
Definition:
eostools.py:511
Generated for CMSSW Reference Manual by
1.8.11