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 32 of file TrackProducerAlgorithm.h.

Constructor & Destructor Documentation

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

Definition at line 36 of file TrackProducerAlgorithm.h.

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

Member Data Documentation

std::unique_ptr<TrajectoryFitter> FitterCloner::fitter

Definition at line 33 of file TrackProducerAlgorithm.h.

TkClonerImpl FitterCloner::hitCloner

Definition at line 34 of file TrackProducerAlgorithm.h.