CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
FitterCloner Struct Reference

#include <TrackProducerAlgorithm.h>

Public Member Functions

 FitterCloner (const TrajectoryFitter *theFitter, const TransientTrackingRecHitBuilder *builder)
 

Public Attributes

std::unique_ptr< TrajectoryFitterfitter
 
TkClonerImpl hitCloner
 

Detailed Description

Definition at line 30 of file TrackProducerAlgorithm.h.

Constructor & Destructor Documentation

◆ FitterCloner()

FitterCloner::FitterCloner ( const TrajectoryFitter theFitter,
const TransientTrackingRecHitBuilder builder 
)
inline

Definition at line 34 of file TrackProducerAlgorithm.h.

References fitter, and hitCloner.

35  : fitter(theFitter->clone()),
36  hitCloner(static_cast<TkTransientTrackingRecHitBuilder const *>(builder)->cloner()) {
37  fitter->setHitCloner(&hitCloner);
38  }
std::unique_ptr< TrajectoryFitter > fitter
TkClonerImpl hitCloner
virtual std::unique_ptr< TrajectoryFitter > clone() const =0

Member Data Documentation

◆ fitter

std::unique_ptr<TrajectoryFitter> FitterCloner::fitter

Definition at line 31 of file TrackProducerAlgorithm.h.

Referenced by FitterCloner().

◆ hitCloner

TkClonerImpl FitterCloner::hitCloner

Definition at line 32 of file TrackProducerAlgorithm.h.

Referenced by FitterCloner().