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.

35  : fitter(theFitter->clone()),
36  hitCloner(static_cast<TkTransientTrackingRecHitBuilder const *>(builder)->cloner()) {
37  fitter->setHitCloner(&hitCloner);
38  }

References fitter, and hitCloner.

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().

FitterCloner::hitCloner
TkClonerImpl hitCloner
Definition: TrackProducerAlgorithm.h:32
TrajectoryFitter::clone
virtual std::unique_ptr< TrajectoryFitter > clone() const =0
FitterCloner::fitter
std::unique_ptr< TrajectoryFitter > fitter
Definition: TrackProducerAlgorithm.h:31