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() [1/2]

PixelFitter::PixelFitter ( )
inline

Definition at line 10 of file PixelFitter.h.

10 {}

◆ PixelFitter() [2/2]

PixelFitter::PixelFitter ( std::unique_ptr< PixelFitterBase fitter)
inlineexplicit

Definition at line 11 of file PixelFitter.h.

11 : fitter_(std::move(fitter)) {}

Member Function Documentation

◆ run()

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.

17  {
18  return fitter_->run(hits, region, setup);
19  }

References fitter_, hfClusterShapes_cfi::hits, HLT_FULL_cff::region, and singleTopDQM_cfi::setup.

Referenced by PixelTracksProducer::produce().

◆ swap()

void PixelFitter::swap ( PixelFitter o)
inline

Definition at line 13 of file PixelFitter.h.

13 { std::swap(fitter_, o.fitter_); }

References fitter_, EcalTangentSkim_cfg::o, and std::swap().

Member Data Documentation

◆ fitter_

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

Definition at line 22 of file PixelFitter.h.

Referenced by run(), and swap().

hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
std::swap
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Definition: DataFrameContainer.h:209
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88272
eostools.move
def move(src, dest)
Definition: eostools.py:511
PixelFitter::fitter_
std::unique_ptr< PixelFitterBase > fitter_
Definition: PixelFitter.h:22