CMS 3D CMS Logo

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 edm::EventSetup &setup) 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:22
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

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

Definition at line 15 of file PixelFitter.h.

References fitter_.

Referenced by PixelTracksProducer::produce().

17  {
18  return fitter_->run(hits, region, setup);
19  }
std::unique_ptr< PixelFitterBase > fitter_
Definition: PixelFitter.h:22
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:22
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)

Member Data Documentation

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

Definition at line 22 of file PixelFitter.h.

Referenced by run(), and swap().