CMS 3D CMS Logo

TransientTrackingRecHitBuilder.h
Go to the documentation of this file.
1 #ifndef TRACKINGTOOLS_TRANSIENTRECHITBUILDER_H
2 #define TRACKINGTOOLS_TRANSIENTRECHITBUILDER_H
3 
5 
7 public:
8 
11  virtual ~TransientTrackingRecHitBuilder() = default;
13  virtual RecHitPointer build ( const TrackingRecHit * p) const = 0 ;
14 
16  virtual RecHitPointer build ( const TrackingRecHit * p, const TrajectoryStateOnSurface & state) const { return build(p); } ;
17 };
18 
19 
20 #endif
TransientTrackingRecHit::RecHitContainer RecHitContainer
std::vector< ConstRecHitPointer > RecHitContainer
TransientTrackingRecHit::RecHitPointer RecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
virtual ~TransientTrackingRecHitBuilder()=default
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 ...