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
 
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)) {}
std::unique_ptr< PixelFitterBase > fitter_
Definition: PixelFitter.h:20
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

◆ run()

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_, hfClusterShapes_cfi::hits, and HLT_2022v11_cff::region.

Referenced by PixelTracksProducer::produce().

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

◆ swap()

void PixelFitter::swap ( PixelFitter o)
inline

Definition at line 13 of file PixelFitter.h.

References fitter_, EcalTangentSkim_cfg::o, 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

◆ fitter_

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

Definition at line 20 of file PixelFitter.h.

Referenced by run(), and swap().