CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
PixelClusterParameterEstimator
pixelClusterParameterEstimator () const
 
const SiStripRecHitMatchersiStripRecHitMatcher () const
 
const
StripClusterParameterEstimator
stripClusterParameterEstimator () 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
PixelClusterParameterEstimator
pixelCPE
 
const
StripClusterParameterEstimator
stripCPE
 
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::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) {}
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.

33  : tGeometry_(trackingGeometry),
34  pixelCPE(pCPE),
35  stripCPE(nullptr),
36  theMatcher(nullptr),
38  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.

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

Definition at line 37 of file TkTransientTrackingRecHitBuilder.h.

References phase2OTCPE, pixelCPE, stripCPE, and theMatcher.

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

37  {
38  if (phase2OTCPE == nullptr)
40  else
42  }
const PixelClusterParameterEstimator * pixelCPE
const StripClusterParameterEstimator * stripCPE
const ClusterParameterEstimator< Phase2TrackerCluster1D > * phase2OTCPE
const TrackingGeometry* TkTransientTrackingRecHitBuilder::geometry ( ) const
inline

Definition at line 34 of file TkTransientTrackingRecHitBuilder.h.

References tGeometry_.

34 { return tGeometry_; }
const ClusterParameterEstimator<Phase2TrackerCluster1D>* TkTransientTrackingRecHitBuilder::phase2TrackerClusterParameterEstimator ( ) const
inline

Definition at line 30 of file TkTransientTrackingRecHitBuilder.h.

References phase2OTCPE.

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

Definition at line 28 of file TkTransientTrackingRecHitBuilder.h.

References pixelCPE.

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

Definition at line 33 of file TkTransientTrackingRecHitBuilder.h.

References theMatcher.

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

Definition at line 29 of file TkTransientTrackingRecHitBuilder.h.

References stripCPE.

29 { return stripCPE; }
const StripClusterParameterEstimator * stripCPE

Member Data Documentation

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

Definition at line 47 of file TkTransientTrackingRecHitBuilder.h.

Referenced by cloner(), and pixelClusterParameterEstimator().

const StripClusterParameterEstimator* TkTransientTrackingRecHitBuilder::stripCPE
private

Definition at line 48 of file TkTransientTrackingRecHitBuilder.h.

Referenced by cloner(), and stripClusterParameterEstimator().

const TrackingGeometry* TkTransientTrackingRecHitBuilder::tGeometry_
private

Definition at line 46 of file TkTransientTrackingRecHitBuilder.h.

Referenced by geometry().

bool TkTransientTrackingRecHitBuilder::theComputeCoarseLocalPosition
private

Definition at line 50 of file TkTransientTrackingRecHitBuilder.h.

const SiStripRecHitMatcher* TkTransientTrackingRecHitBuilder::theMatcher
private

Definition at line 49 of file TkTransientTrackingRecHitBuilder.h.

Referenced by cloner(), and siStripRecHitMatcher().