Main Page
Namespaces
Classes
Package Documentation
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&& 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>(
std::move
(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::seeds_
std::unique_ptr< mkfit::TrackVec > seeds_
Definition:
MkFitInputWrapper.h:40
MkFitInputWrapper::~MkFitInputWrapper
~MkFitInputWrapper()
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
MkFitInputWrapper::nlayers
unsigned int nlayers() const
Definition:
MkFitInputWrapper.cc:24
MkFitInputWrapper::hits
std::vector< mkfit::HitVec > const & hits() const
Definition:
MkFitInputWrapper.h:33
MkFitInputWrapper
Definition:
MkFitInputWrapper.h:17
MkFitInputWrapper::seeds
mkfit::TrackVec const & seeds() const
Definition:
MkFitInputWrapper.h:32
MkFitHitIndexMap
Definition:
MkFitHitIndexMap.h:15
MkFitInputWrapper::hitIndexMap
MkFitHitIndexMap const & hitIndexMap() const
Definition:
MkFitInputWrapper.h:31
mkfit::TrackVec
std::vector< Track > TrackVec
Definition:
MkFitInputWrapper.h:14
MkFitInputWrapper::MkFitInputWrapper
MkFitInputWrapper()
MkFitInputWrapper::operator=
MkFitInputWrapper & operator=(MkFitInputWrapper const &)=delete
MkFitInputWrapper.h
Track.h
MkFitInputWrapper::hits_
std::vector< mkfit::HitVec > hits_
Definition:
MkFitInputWrapper.h:39
eostools.move
def move(src, dest)
Definition:
eostools.py:511
MkFitInputWrapper::lnc_
std::unique_ptr< mkfit::LayerNumberConverter > lnc_
Definition:
MkFitInputWrapper.h:41
Generated for CMSSW Reference Manual by
1.8.11