CMS 3D CMS Logo

GenericProjectedRecHit2D.cc
Go to the documentation of this file.
7 
9  const GeomDet* det, const GeomDet* originalDet,
12  TrackingRecHit( *det ) //, originalHit->weight(), originalHit->getAnnealingFactor())
13 {
16  theOriginalTransientHit = originalHit;
17  theLp = pos;
18  theLe = err;
19  theProjectionMatrix = originalHit->projectionMatrix();
20  theDimension = originalHit->dimension();
21  //theOriginalHit = originalTransientHit.hit()->clone();
22 }
23 
26  result[0] = theLp.x();
27  result[1] = theLp.y();
28  return result;
29 }
30 
33 {
35 }
36 
TransientTrackingRecHit::ConstRecHitPointer theOriginalTransientHit
virtual AlgebraicVector parameters() const
const TrackingRecHitPropagator * thePropagator
T y() const
Definition: PV3DBase.h:63
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
const GeomDet * det() const
virtual GenericProjectedRecHit2D * clone() const
std::shared_ptr< TrackingRecHit const > RecHitPointer
const TrackingRecHitPropagator * propagator() const
CLHEP::HepVector AlgebraicVector
const GeomDet * originalDet() const
TrackingRecHit::RecHitPointer project(const TrackingRecHit::ConstRecHitPointer hit, const GeomDet &det, const TrajectoryStateOnSurface ts, const TransientTrackingRecHitBuilder *builder) const
T x() const
Definition: PV3DBase.h:62
GenericProjectedRecHit2D(const LocalPoint &pos, const LocalError &err, const GeomDet *det, const GeomDet *originaldet, const TransientTrackingRecHit::ConstRecHitPointer originalHit, const TrackingRecHitPropagator *propagator)