11 static_cast<
const SiStripRecHit2D*>(originalTransientHit.
hit()) ) )
13 const TSiStripRecHit2DLocalPos* specificOriginalTransientHit =
static_cast<const TSiStripRecHit2DLocalPos*
>(&originalTransientHit);
14 theCPE = specificOriginalTransientHit->cpe();
15 theOriginalDet = originalDet;
18 ProjectedRecHit2D::RecHitPointer
23 if(!originalHit().cluster().isNull()){
29 theCPE->localParameters( clust, *gdu, ts);
31 RecHitPointer updatedOriginalHit =
33 originalHit().cluster(), theCPE);
35 RecHitPointer
hit = proj.
project( *updatedOriginalHit, *det(), ts);
43 theCPE->localParameters( clust, *gdu, ts);
45 RecHitPointer updatedOriginalHit =
47 originalHit().cluster_regional(), theCPE);
49 RecHitPointer hit = proj.
project( *updatedOriginalHit, *det(), ts);
60 ProjectedRecHit2D::transientHits ()
const {
67 ProjectedRecHit2D::ProjectedRecHit2D(
const GeomDet *
geom,
const GeomDet* originaldet,
70 bool computeCoarseLocalPosition) :
72 if (computeCoarseLocalPosition){
75 if(!originalHit().cluster().isNull()){
79 theCPE->localParameters( clust, *detUnit());
81 RecHitPointer updatedOriginalHit =
83 originalHit().cluster(), theCPE);
85 RecHitPointer hit = proj.
project( *updatedOriginalHit, *det());
86 trackingRecHit_ = hit->hit()->clone();
91 theCPE->localParameters( clust, *detUnit());
93 RecHitPointer updatedOriginalHit =
95 originalHit().cluster_regional(), theCPE);
97 RecHitPointer hit = proj.
project( *updatedOriginalHit, *det());
98 trackingRecHit_ = hit->hit()->clone();
std::pair< LocalPoint, LocalError > LocalValues
RecHitPointer project(const TransientTrackingRecHit &hit, const GeomDet &det, const TrajectoryStateOnSurface &ts) const
std::vector< ConstRecHitPointer > ConstRecHitContainer
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer