CMS 3D CMS Logo

MkFitInputWrapper.cc
Go to the documentation of this file.
2 
3 // mkFit includes
4 #include "Hit.h"
5 #include "LayerNumberConverter.h"
6 #include "Track.h"
7 
9 
11  std::vector<mkfit::HitVec> hits,
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 
20 
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:231
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()