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 StripClusterParameterEstimator *, const SiStripRecHitMatcher *, bool computeCoarseLocalPositionFromDisk)
 
 TkTransientTrackingRecHitBuilder (const TrackingGeometry *trackingGeometry, const PixelClusterParameterEstimator *, const ClusterParameterEstimator< Phase2TrackerCluster1D > *)
 
- 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 18 of file TkTransientTrackingRecHitBuilder.h.

Constructor & Destructor Documentation

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

Definition at line 17 of file TkTransientTrackingRecHitBuilder.cc.

21  :
22  tGeometry_(trackingGeometry),
23  pixelCPE(pCPE),
24  stripCPE(sCPE),
25  theMatcher(matcher),
26  theComputeCoarseLocalPosition(computeCoarseLocalPositionFromDisk),
27  phase2OTCPE(nullptr){}
const PixelClusterParameterEstimator * pixelCPE
const StripClusterParameterEstimator * stripCPE
const ClusterParameterEstimator< Phase2TrackerCluster1D > * phase2OTCPE
TkTransientTrackingRecHitBuilder::TkTransientTrackingRecHitBuilder ( const TrackingGeometry trackingGeometry,
const PixelClusterParameterEstimator pCPE,
const ClusterParameterEstimator< Phase2TrackerCluster1D > *  ph2StripCPE 
)

Definition at line 29 of file TkTransientTrackingRecHitBuilder.cc.

31  :
32  tGeometry_(trackingGeometry),
33  pixelCPE(pCPE),
34  stripCPE(nullptr),
35  theMatcher(nullptr),
37  phase2OTCPE(ph2StripCPE){}
const PixelClusterParameterEstimator * pixelCPE
const StripClusterParameterEstimator * stripCPE
const ClusterParameterEstimator< Phase2TrackerCluster1D > * phase2OTCPE

Member Function Documentation

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.

41 {
42 // assert("TkTransientTrackingRecHitBuilder::build"==nullptr);
43 
44  return (*p).cloneSH();
45 }
TkClonerImpl TkTransientTrackingRecHitBuilder::cloner ( ) const
inline

Definition at line 40 of file TkTransientTrackingRecHitBuilder.h.

References phase2OTCPE, pixelCPE, stripCPE, and theMatcher.

Referenced by GlobalTrajectoryBuilderBase::getTransientRecHits(), and ctfseeding::HitExtractorSTRP::skipThis().

40  {
41  if(phase2OTCPE == nullptr)
43  else
45  }
const PixelClusterParameterEstimator * pixelCPE
const StripClusterParameterEstimator * stripCPE
const ClusterParameterEstimator< Phase2TrackerCluster1D > * phase2OTCPE
const TrackingGeometry* TkTransientTrackingRecHitBuilder::geometry ( ) const
inline
const ClusterParameterEstimator<Phase2TrackerCluster1D>* TkTransientTrackingRecHitBuilder::phase2TrackerClusterParameterEstimator ( ) const
inline

Definition at line 35 of file TkTransientTrackingRecHitBuilder.h.

References phase2OTCPE.

35 {return phase2OTCPE;}
const ClusterParameterEstimator< Phase2TrackerCluster1D > * phase2OTCPE
const PixelClusterParameterEstimator* TkTransientTrackingRecHitBuilder::pixelClusterParameterEstimator ( ) const
inline

Definition at line 33 of file TkTransientTrackingRecHitBuilder.h.

References pixelCPE.

33 {return pixelCPE;}
const PixelClusterParameterEstimator * pixelCPE
const SiStripRecHitMatcher* TkTransientTrackingRecHitBuilder::siStripRecHitMatcher ( ) const
inline

Definition at line 36 of file TkTransientTrackingRecHitBuilder.h.

References theMatcher.

36 {return theMatcher;}
const StripClusterParameterEstimator* TkTransientTrackingRecHitBuilder::stripClusterParameterEstimator ( ) const
inline

Definition at line 34 of file TkTransientTrackingRecHitBuilder.h.

References stripCPE.

34 {return stripCPE;}
const StripClusterParameterEstimator * stripCPE

Member Data Documentation

const ClusterParameterEstimator<Phase2TrackerCluster1D>* TkTransientTrackingRecHitBuilder::phase2OTCPE
private
const PixelClusterParameterEstimator* TkTransientTrackingRecHitBuilder::pixelCPE
private

Definition at line 52 of file TkTransientTrackingRecHitBuilder.h.

Referenced by cloner(), and pixelClusterParameterEstimator().

const StripClusterParameterEstimator* TkTransientTrackingRecHitBuilder::stripCPE
private

Definition at line 53 of file TkTransientTrackingRecHitBuilder.h.

Referenced by cloner(), and stripClusterParameterEstimator().

const TrackingGeometry* TkTransientTrackingRecHitBuilder::tGeometry_
private

Definition at line 51 of file TkTransientTrackingRecHitBuilder.h.

Referenced by geometry().

bool TkTransientTrackingRecHitBuilder::theComputeCoarseLocalPosition
private

Definition at line 55 of file TkTransientTrackingRecHitBuilder.h.

const SiStripRecHitMatcher* TkTransientTrackingRecHitBuilder::theMatcher
private

Definition at line 54 of file TkTransientTrackingRecHitBuilder.h.

Referenced by cloner(), and siStripRecHitMatcher().