CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
PixelFitter Class Reference

#include <PixelFitter.h>

Public Member Functions

 PixelFitter ()
 
 PixelFitter (std::unique_ptr< PixelFitterBase > fitter)
 
std::unique_ptr< reco::Trackrun (const std::vector< const TrackingRecHit * > &hits, const TrackingRegion &region) const
 
void swap (PixelFitter &o)
 

Private Attributes

std::unique_ptr< PixelFitterBasefitter_
 

Detailed Description

Definition at line 8 of file PixelFitter.h.

Constructor & Destructor Documentation

PixelFitter::PixelFitter ( )
inline

Definition at line 10 of file PixelFitter.h.

10 {}
PixelFitter::PixelFitter ( std::unique_ptr< PixelFitterBase fitter)
inlineexplicit

Definition at line 11 of file PixelFitter.h.

11 : fitter_(std::move(fitter)) {}
std::unique_ptr< PixelFitterBase > fitter_
Definition: PixelFitter.h:20
def move
Definition: eostools.py:510

Member Function Documentation

std::unique_ptr<reco::Track> PixelFitter::run ( const std::vector< const TrackingRecHit * > &  hits,
const TrackingRegion region 
) const
inline

Definition at line 15 of file PixelFitter.h.

References fitter_.

Referenced by PixelTracksProducer::produce().

15  {
16  return fitter_->run(hits, region);
17  }
std::unique_ptr< PixelFitterBase > fitter_
Definition: PixelFitter.h:20
void PixelFitter::swap ( PixelFitter o)
inline

Definition at line 13 of file PixelFitter.h.

References fitter_, and std::swap().

13 { std::swap(fitter_, o.fitter_); }
std::unique_ptr< PixelFitterBase > fitter_
Definition: PixelFitter.h:20
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)

Member Data Documentation

std::unique_ptr<PixelFitterBase> PixelFitter::fitter_
private

Definition at line 20 of file PixelFitter.h.

Referenced by run(), and swap().