1 #ifndef InvalidTransientRecHit_H
2 #define InvalidTransientRecHit_H
19 ~InvalidTransientRecHit();
32 virtual InvalidTrackingRecHit *
cloneHit()
const {
return new InvalidTrackingRecHit(
rawId(),
type());}
43 virtual std::vector<const TrackingRecHit*>
recHits()
const;
44 virtual std::vector<TrackingRecHit*>
recHits();
50 void throwError()
const;
57 InvalidTrackingRecHit
me;
63 surface_(geom ? &(det()->surface()) : ( layer ? &(layer->surface()) :
nullptr)),
64 me( geom ==
nullptr ?
DetId(0) : geom->geographicalId(), type)
69 virtual InvalidTransientRecHit*
clone()
const {
return new InvalidTransientRecHit(*
this);}
ReferenceCountingPointer< TransientTrackingRecHit > RecHitPointer
virtual InvalidTransientRecHit * clone() const
virtual int dimension() const =0
static RecHitPointer build(const GeomDet *geom, Type type=TrackingRecHit::missing, const DetLayer *layer=nullptr)
virtual float errorGlobalR() const =0
virtual bool sharesInput(const TrackingRecHit *, SharedInputType) const
InvalidTransientRecHit(const GeomDet *geom, const DetLayer *layer, Type type)
invalid RecHit - has only GeomDet and Type
virtual float errorGlobalRPhi() const =0
virtual float errorGlobalZ() const =0
const Surface * surface() const
The surface of the GeometricSearchDet.
virtual AlgebraicVector parameters() const =0
virtual GlobalPoint globalPosition() const =0
CLHEP::HepMatrix AlgebraicMatrix
virtual const TrackingRecHit * hit() const
TrackingRecHit::Type Type
virtual InvalidTrackingRecHit * cloneHit() const
virtual GlobalError globalPositionError() const =0
virtual std::vector< const TrackingRecHit * > recHits() const =0
Access to component RecHits (if any)
CLHEP::HepVector AlgebraicVector
const GeomDet * det() const
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
virtual LocalError localPositionError() const =0
virtual AlgebraicMatrix projectionMatrix() const =0
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual LocalPoint localPosition() const =0
TransientTrackingRecHit Base
virtual AlgebraicSymMatrix parametersError() const =0
Unlimited (trivial) bounds.