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
}
HLT_2022v15_cff.maxElement
maxElement
Definition:
HLT_2022v15_cff.py:12408
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:14
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
HitTripletGeneratorFromPairAndLayers::init
void init(std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairs, LayerCacheType *layerCache)
Definition:
HitTripletGeneratorFromPairAndLayers.cc:18
HitTripletGeneratorFromPairAndLayers::theLayerCache
LayerCacheType * theLayerCache
Definition:
HitTripletGeneratorFromPairAndLayers.h:56
HitTripletGeneratorFromPairAndLayers::~HitTripletGeneratorFromPairAndLayers
virtual ~HitTripletGeneratorFromPairAndLayers()
Definition:
HitTripletGeneratorFromPairAndLayers.cc:12
HitTripletGeneratorFromPairAndLayers::pairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
Definition:
HitTripletGeneratorFromPairAndLayers.h:37
HitTripletGeneratorFromPairAndLayers::thePairGenerator
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
Definition:
HitTripletGeneratorFromPairAndLayers.h:55
HitTripletGeneratorFromPairAndLayers
Definition:
HitTripletGeneratorFromPairAndLayers.h:25
HitPairGeneratorFromLayerPair.h
edm::ParameterSet
Definition:
ParameterSet.h:47
eostools.move
def move(src, dest)
Definition:
eostools.py:511
Generated for CMSSW Reference Manual by
1.8.14