CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
TkTransientTrackingRecHitBuilder Class Referencefinal

#include <TkTransientTrackingRecHitBuilder.h>

Inheritance diagram for TkTransientTrackingRecHitBuilder:
TransientTrackingRecHitBuilder

Public Member Functions

TransientTrackingRecHit::RecHitPointer build (const TrackingRecHit *p) const override
 build a tracking rechit from an existing rechit More...
 
TkClonerImpl cloner () const
 
const TrackingGeometrygeometry () const
 
const ClusterParameterEstimator< Phase2TrackerCluster1D > * phase2TrackerClusterParameterEstimator () const
 
const PixelClusterParameterEstimatorpixelClusterParameterEstimator () const
 
const SiStripRecHitMatchersiStripRecHitMatcher () const
 
const StripClusterParameterEstimatorstripClusterParameterEstimator () const
 
 TkTransientTrackingRecHitBuilder (const TrackingGeometry *trackingGeometry, const PixelClusterParameterEstimator *, const ClusterParameterEstimator< Phase2TrackerCluster1D > *)
 
 TkTransientTrackingRecHitBuilder (const TrackingGeometry *trackingGeometry, const PixelClusterParameterEstimator *, const StripClusterParameterEstimator *, const SiStripRecHitMatcher *, bool computeCoarseLocalPositionFromDisk)
 
- Public Member Functions inherited from TransientTrackingRecHitBuilder
virtual RecHitPointer build (const TrackingRecHit *p, const TrajectoryStateOnSurface &state) const
 build a tracking rechit refiting the rechit position and error according to the state estimate More...
 
virtual ~TransientTrackingRecHitBuilder ()=default
 

Private Attributes

const ClusterParameterEstimator< Phase2TrackerCluster1D > * phase2OTCPE
 
const PixelClusterParameterEstimatorpixelCPE
 
const StripClusterParameterEstimatorstripCPE
 
const TrackingGeometrytGeometry_
 
bool theComputeCoarseLocalPosition
 
const SiStripRecHitMatchertheMatcher
 

Additional Inherited Members

- Public Types inherited from TransientTrackingRecHitBuilder
typedef TransientTrackingRecHit::RecHitContainer RecHitContainer
 
typedef TransientTrackingRecHit::RecHitPointer RecHitPointer
 

Detailed Description

Definition at line 15 of file TkTransientTrackingRecHitBuilder.h.

Constructor & Destructor Documentation

◆ TkTransientTrackingRecHitBuilder() [1/2]

TkTransientTrackingRecHitBuilder::TkTransientTrackingRecHitBuilder ( const TrackingGeometry trackingGeometry,
const PixelClusterParameterEstimator pCPE,
const StripClusterParameterEstimator sCPE,
const SiStripRecHitMatcher matcher,
bool  computeCoarseLocalPositionFromDisk 
)

Definition at line 17 of file TkTransientTrackingRecHitBuilder.cc.

22  : tGeometry_(trackingGeometry),
23  pixelCPE(pCPE),
24  stripCPE(sCPE),
25  theMatcher(matcher),
26  theComputeCoarseLocalPosition(computeCoarseLocalPositionFromDisk),
27  phase2OTCPE(nullptr) {}

◆ TkTransientTrackingRecHitBuilder() [2/2]

TkTransientTrackingRecHitBuilder::TkTransientTrackingRecHitBuilder ( const TrackingGeometry trackingGeometry,
const PixelClusterParameterEstimator pCPE,
const ClusterParameterEstimator< Phase2TrackerCluster1D > *  ph2StripCPE 
)

Definition at line 29 of file TkTransientTrackingRecHitBuilder.cc.

33  : tGeometry_(trackingGeometry),
34  pixelCPE(pCPE),
35  stripCPE(nullptr),
36  theMatcher(nullptr),
38  phase2OTCPE(ph2StripCPE) {}

Member Function Documentation

◆ build()

TransientTrackingRecHit::RecHitPointer TkTransientTrackingRecHitBuilder::build ( const TrackingRecHit p) const
overridevirtual

build a tracking rechit from an existing rechit

Implements TransientTrackingRecHitBuilder.

Definition at line 40 of file TkTransientTrackingRecHitBuilder.cc.

40  {
41  // assert("TkTransientTrackingRecHitBuilder::build"==nullptr);
42 
43  return (*p).cloneSH();
44 }

◆ cloner()

TkClonerImpl TkTransientTrackingRecHitBuilder::cloner ( ) const
inline

Definition at line 37 of file TkTransientTrackingRecHitBuilder.h.

37  {
38  if (phase2OTCPE == nullptr)
40  else
42  }

References phase2OTCPE, pixelCPE, stripCPE, and theMatcher.

Referenced by ctfseeding::HitExtractorSTRP::skipThis().

◆ geometry()

const TrackingGeometry* TkTransientTrackingRecHitBuilder::geometry ( ) const
inline

Definition at line 34 of file TkTransientTrackingRecHitBuilder.h.

34 { return tGeometry_; }

References tGeometry_.

◆ phase2TrackerClusterParameterEstimator()

const ClusterParameterEstimator<Phase2TrackerCluster1D>* TkTransientTrackingRecHitBuilder::phase2TrackerClusterParameterEstimator ( ) const
inline

Definition at line 30 of file TkTransientTrackingRecHitBuilder.h.

30  {
31  return phase2OTCPE;
32  }

References phase2OTCPE.

◆ pixelClusterParameterEstimator()

const PixelClusterParameterEstimator* TkTransientTrackingRecHitBuilder::pixelClusterParameterEstimator ( ) const
inline

Definition at line 28 of file TkTransientTrackingRecHitBuilder.h.

28 { return pixelCPE; }

References pixelCPE.

◆ siStripRecHitMatcher()

const SiStripRecHitMatcher* TkTransientTrackingRecHitBuilder::siStripRecHitMatcher ( ) const
inline

Definition at line 33 of file TkTransientTrackingRecHitBuilder.h.

33 { return theMatcher; }

References theMatcher.

◆ stripClusterParameterEstimator()

const StripClusterParameterEstimator* TkTransientTrackingRecHitBuilder::stripClusterParameterEstimator ( ) const
inline

Definition at line 29 of file TkTransientTrackingRecHitBuilder.h.

29 { return stripCPE; }

References stripCPE.

Member Data Documentation

◆ phase2OTCPE

const ClusterParameterEstimator<Phase2TrackerCluster1D>* TkTransientTrackingRecHitBuilder::phase2OTCPE
private

◆ pixelCPE

const PixelClusterParameterEstimator* TkTransientTrackingRecHitBuilder::pixelCPE
private

Definition at line 47 of file TkTransientTrackingRecHitBuilder.h.

Referenced by cloner(), and pixelClusterParameterEstimator().

◆ stripCPE

const StripClusterParameterEstimator* TkTransientTrackingRecHitBuilder::stripCPE
private

Definition at line 48 of file TkTransientTrackingRecHitBuilder.h.

Referenced by cloner(), and stripClusterParameterEstimator().

◆ tGeometry_

const TrackingGeometry* TkTransientTrackingRecHitBuilder::tGeometry_
private

Definition at line 46 of file TkTransientTrackingRecHitBuilder.h.

Referenced by geometry().

◆ theComputeCoarseLocalPosition

bool TkTransientTrackingRecHitBuilder::theComputeCoarseLocalPosition
private

Definition at line 50 of file TkTransientTrackingRecHitBuilder.h.

◆ theMatcher

const SiStripRecHitMatcher* TkTransientTrackingRecHitBuilder::theMatcher
private

Definition at line 49 of file TkTransientTrackingRecHitBuilder.h.

Referenced by cloner(), and siStripRecHitMatcher().

TkTransientTrackingRecHitBuilder::theComputeCoarseLocalPosition
bool theComputeCoarseLocalPosition
Definition: TkTransientTrackingRecHitBuilder.h:50
TkTransientTrackingRecHitBuilder::pixelCPE
const PixelClusterParameterEstimator * pixelCPE
Definition: TkTransientTrackingRecHitBuilder.h:47
TkTransientTrackingRecHitBuilder::stripCPE
const StripClusterParameterEstimator * stripCPE
Definition: TkTransientTrackingRecHitBuilder.h:48
TkTransientTrackingRecHitBuilder::theMatcher
const SiStripRecHitMatcher * theMatcher
Definition: TkTransientTrackingRecHitBuilder.h:49
TkClonerImpl
Definition: TkClonerImpl.h:12
TkTransientTrackingRecHitBuilder::tGeometry_
const TrackingGeometry * tGeometry_
Definition: TkTransientTrackingRecHitBuilder.h:46
TkTransientTrackingRecHitBuilder::phase2OTCPE
const ClusterParameterEstimator< Phase2TrackerCluster1D > * phase2OTCPE
Definition: TkTransientTrackingRecHitBuilder.h:51