CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MkFitInputWrapper Class Reference

#include <MkFitInputWrapper.h>

Public Member Functions

MkFitHitIndexMap const & hitIndexMap () const
 
std::vector< mkfit::HitVec > const & hits () const
 
mkfit::LayerNumberConverter const & layerNumberConverter () const
 
 MkFitInputWrapper ()
 
 MkFitInputWrapper (MkFitHitIndexMap hitIndexMap, std::vector< mkfit::HitVec > hits, mkfit::TrackVec seeds, mkfit::LayerNumberConverter const &lnc)
 
 MkFitInputWrapper (MkFitInputWrapper &&)
 
 MkFitInputWrapper (MkFitInputWrapper const &)=delete
 
unsigned int nlayers () const
 
MkFitInputWrapperoperator= (MkFitInputWrapper &&)
 
MkFitInputWrapperoperator= (MkFitInputWrapper const &)=delete
 
mkfit::TrackVec const & seeds () const
 
 ~MkFitInputWrapper ()
 

Private Attributes

MkFitHitIndexMap hitIndexMap_
 
std::vector< mkfit::HitVechits_
 
std::unique_ptr< mkfit::LayerNumberConverter > lnc_
 
std::unique_ptr< mkfit::TrackVecseeds_
 

Detailed Description

Definition at line 17 of file MkFitInputWrapper.h.

Constructor & Destructor Documentation

◆ MkFitInputWrapper() [1/4]

MkFitInputWrapper::MkFitInputWrapper ( )
default

◆ MkFitInputWrapper() [2/4]

MkFitInputWrapper::MkFitInputWrapper ( MkFitHitIndexMap  hitIndexMap,
std::vector< mkfit::HitVec hits,
mkfit::TrackVec  seeds,
mkfit::LayerNumberConverter const &  lnc 
)

Definition at line 10 of file MkFitInputWrapper.cc.

16  seeds_{std::make_unique<mkfit::TrackVec>(std::move(seeds))},
17  lnc_{std::make_unique<mkfit::LayerNumberConverter>(lnc)} {}

References hitIndexMap(), and eostools::move().

◆ ~MkFitInputWrapper()

MkFitInputWrapper::~MkFitInputWrapper ( )
default

◆ MkFitInputWrapper() [3/4]

MkFitInputWrapper::MkFitInputWrapper ( MkFitInputWrapper const &  )
delete

◆ MkFitInputWrapper() [4/4]

MkFitInputWrapper::MkFitInputWrapper ( MkFitInputWrapper &&  )
default

Member Function Documentation

◆ hitIndexMap()

MkFitHitIndexMap const& MkFitInputWrapper::hitIndexMap ( ) const
inline

Definition at line 31 of file MkFitInputWrapper.h.

31 { return hitIndexMap_; }

References hitIndexMap_.

Referenced by MkFitInputWrapper().

◆ hits()

std::vector<mkfit::HitVec> const& MkFitInputWrapper::hits ( void  ) const
inline

Definition at line 33 of file MkFitInputWrapper.h.

33 { return hits_; }

References hits_.

◆ layerNumberConverter()

mkfit::LayerNumberConverter const& MkFitInputWrapper::layerNumberConverter ( ) const
inline

Definition at line 34 of file MkFitInputWrapper.h.

34 { return *lnc_; }

References lnc_.

◆ nlayers()

unsigned int MkFitInputWrapper::nlayers ( ) const

Definition at line 24 of file MkFitInputWrapper.cc.

24 { return lnc_->nLayers(); }

References lnc_.

◆ operator=() [1/2]

MkFitInputWrapper & MkFitInputWrapper::operator= ( MkFitInputWrapper &&  )
default

◆ operator=() [2/2]

MkFitInputWrapper& MkFitInputWrapper::operator= ( MkFitInputWrapper const &  )
delete

◆ seeds()

mkfit::TrackVec const& MkFitInputWrapper::seeds ( ) const
inline

Definition at line 32 of file MkFitInputWrapper.h.

32 { return *seeds_; }

References seeds_.

Member Data Documentation

◆ hitIndexMap_

MkFitHitIndexMap MkFitInputWrapper::hitIndexMap_
private

Definition at line 38 of file MkFitInputWrapper.h.

Referenced by hitIndexMap().

◆ hits_

std::vector<mkfit::HitVec> MkFitInputWrapper::hits_
private

Definition at line 39 of file MkFitInputWrapper.h.

Referenced by hits().

◆ lnc_

std::unique_ptr<mkfit::LayerNumberConverter> MkFitInputWrapper::lnc_
private

Definition at line 41 of file MkFitInputWrapper.h.

Referenced by layerNumberConverter(), and nlayers().

◆ seeds_

std::unique_ptr<mkfit::TrackVec> MkFitInputWrapper::seeds_
private

Definition at line 40 of file MkFitInputWrapper.h.

Referenced by seeds().

MkFitInputWrapper::hits_
std::vector< mkfit::HitVec > hits_
Definition: MkFitInputWrapper.h:39
MkFitInputWrapper::seeds_
std::unique_ptr< mkfit::TrackVec > seeds_
Definition: MkFitInputWrapper.h:40
MkFitInputWrapper::hits
std::vector< mkfit::HitVec > const & hits() const
Definition: MkFitInputWrapper.h:33
MkFitInputWrapper::hitIndexMap_
MkFitHitIndexMap hitIndexMap_
Definition: MkFitInputWrapper.h:38
MkFitInputWrapper::seeds
mkfit::TrackVec const & seeds() const
Definition: MkFitInputWrapper.h:32
eostools.move
def move(src, dest)
Definition: eostools.py:511
MkFitInputWrapper::hitIndexMap
MkFitHitIndexMap const & hitIndexMap() const
Definition: MkFitInputWrapper.h:31
MkFitInputWrapper::lnc_
std::unique_ptr< mkfit::LayerNumberConverter > lnc_
Definition: MkFitInputWrapper.h:41