RecoTracker
MkFit
src
MkFitInputWrapper.cc
Go to the documentation of this file.
1
#include "
RecoTracker/MkFit/interface/MkFitInputWrapper.h
"
2
3
// mkFit includes
4
#include "Hit.h"
5
#include "LayerNumberConverter.h"
6
#include "Track.h"
7
8
MkFitInputWrapper::MkFitInputWrapper
() =
default
;
9
10
MkFitInputWrapper::MkFitInputWrapper
(
MkFitHitIndexMap
hitIndexMap,
11
std::vector<mkfit::HitVec>
hits
,
12
mkfit::TrackVec
seeds
,
13
mkfit::LayerNumberConverter
const
& lnc)
14
: hitIndexMap_{
std::move
(
hitIndexMap
)},
15
hits_{
std::move
(
hits
)},
16
seeds_{std::make_unique<mkfit::TrackVec>(
std::move
(
seeds
))},
17
lnc_{std::make_unique<mkfit::LayerNumberConverter>(lnc)} {}
18
19
MkFitInputWrapper::~MkFitInputWrapper
() =
default
;
20
21
MkFitInputWrapper::MkFitInputWrapper
(
MkFitInputWrapper
&&) =
default
;
22
MkFitInputWrapper
&
MkFitInputWrapper::operator=
(
MkFitInputWrapper
&&) =
default
;
23
24
unsigned
int
MkFitInputWrapper::nlayers
()
const
{
return
lnc_
->nLayers(); }
MkFitInputWrapper
Definition:
MkFitInputWrapper.h:17
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
MkFitInputWrapper::~MkFitInputWrapper
~MkFitInputWrapper()
InitialStep_cff.seeds
seeds
Definition:
InitialStep_cff.py:230
mkfit::TrackVec
std::vector< Track > TrackVec
Definition:
MkFitInputWrapper.h:14
MkFitInputWrapper.h
MkFitInputWrapper::nlayers
unsigned int nlayers() const
Definition:
MkFitInputWrapper.cc:24
MkFitInputWrapper::operator=
MkFitInputWrapper & operator=(MkFitInputWrapper const &)=delete
eostools.move
def move(src, dest)
Definition:
eostools.py:511
MkFitHitIndexMap
Definition:
MkFitHitIndexMap.h:15
MkFitInputWrapper::hitIndexMap
MkFitHitIndexMap const & hitIndexMap() const
Definition:
MkFitInputWrapper.h:31
MkFitInputWrapper::lnc_
std::unique_ptr< mkfit::LayerNumberConverter > lnc_
Definition:
MkFitInputWrapper.h:41
MkFitInputWrapper::MkFitInputWrapper
MkFitInputWrapper()
Generated for CMSSW Reference Manual by
1.8.16