1 #ifndef ProjectedSiStripRecHit2D_H
2 #define ProjectedSiStripRecHit2D_H
22 SiStripRecHit2D
const & originalHit) :
24 isMono(idet,*originalHit.det()) ? trackerHitRTTI::
projMono: trackerHitRTTI::
projStereo,
25 originalHit.omniCluster()),
26 theOriginalDet(originalHit.det()) {
28 assert(originalId()==originalHit.rawId());
31 template<
typename CluRef>
38 theOriginalDet(&originalDet) {
45 virtual ProjectedSiStripRecHit2D*
clone()
const {
return new ProjectedSiStripRecHit2D( *
this); }
54 return static_cast<const GeomDetUnit*
>(theOriginalDet);
62 virtual std::vector<const TrackingRecHit*>
recHits()
const{
63 std::vector<const TrackingRecHit*>
rechits;
66 virtual std::vector<TrackingRecHit*>
recHits() {
67 std::vector<TrackingRecHit*>
rechits;
75 return cloner(*
this,tsos);
79 return cloner.makeShared(*
this,tsos);
ClusterStripRef cluster_strip() const
virtual void getKfComponents(KfComponentsHolder &holder) const
virtual RecHitPointer cloneSH() const
virtual ProjectedSiStripRecHit2D * clone() const
virtual bool canImproveWithTrack() const
virtual std::vector< TrackingRecHit * > recHits()
Non-const access to component RecHits (if any)
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
unsigned int projId(TrackingRecHit const &hit)
virtual ProjectedSiStripRecHit2D * clone(TkCloner const &cloner, TrajectoryStateOnSurface const &tsos) const
void getKfComponents2D(KfComponentsHolder &holder) const
unsigned int originalId() const
DetId geographicalId() const
The label of this GeomDet.
OmniClusterRef::ClusterStripRef ClusterRef
const GeomDetUnit * originalDet() const
ProjectedSiStripRecHit2D()
ProjectedSiStripRecHit2D(const LocalPoint &pos, const LocalError &err, GeomDet const &idet, SiStripRecHit2D const &originalHit)
OmniClusterRef const & omniClusterRef() const
ClusterRef cluster() const
static bool isMono(GeomDet const &gdet, GeomDet const &sdet)
ProjectedSiStripRecHit2D(const LocalPoint &pos, const LocalError &err, GeomDet const &idet, GeomDet const &originalDet, CluRef const &clus)
const GeomDet * theOriginalDet
SiStripRecHit2D originalHit() const
virtual int dimension() const
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
Unlimited (trivial) bounds.