00001 #ifndef TRACKINGTOOLS_TRANSIENTRECHITBUILDER_H 00002 #define TRACKINGTOOLS_TRANSIENTRECHITBUILDER_H 00003 00004 #include "TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h" 00005 00006 class TransientTrackingRecHitBuilder { 00007 public: 00008 00009 typedef TransientTrackingRecHit::RecHitPointer RecHitPointer; 00010 typedef TransientTrackingRecHit::RecHitContainer RecHitContainer; 00011 00013 virtual RecHitPointer build ( const TrackingRecHit * p) const = 0 ; 00014 00016 virtual RecHitPointer build ( const TrackingRecHit * p, const TrajectoryStateOnSurface & state) const { return build(p); } ; 00017 }; 00018 00019 00020 #endif