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,
12  mkfit::TrackVec&& seeds,
13  mkfit::LayerNumberConverter&& lnc)
14  : hitIndexMap_{std::move(hitIndexMap)},
16  seeds_{std::make_unique<mkfit::TrackVec>(std::move(seeds))},
17  lnc_{std::make_unique<mkfit::LayerNumberConverter>(std::move(lnc))} {}
18 
20 
23 
24 unsigned int MkFitInputWrapper::nlayers() const { return lnc_->nLayers(); }
std::unique_ptr< mkfit::TrackVec > seeds_
unsigned int nlayers() const
std::vector< mkfit::HitVec > const & hits() const
mkfit::TrackVec const & seeds() const
MkFitHitIndexMap const & hitIndexMap() const
std::vector< Track > TrackVec
MkFitInputWrapper & operator=(MkFitInputWrapper const &)=delete
std::vector< mkfit::HitVec > hits_
def move(src, dest)
Definition: eostools.py:511
std::unique_ptr< mkfit::LayerNumberConverter > lnc_