1 #ifndef TSiTrackerMultiRecHit_h
2 #define TSiTrackerMultiRecHit_h
29 virtual int dimension()
const {
return theHitData.dimension();}
37 virtual bool isValid()
const{
return theHitData.isValid();}
39 virtual std::vector<const TrackingRecHit*>
recHits()
const {
40 return theHitData.recHits();
42 virtual std::vector<TrackingRecHit*>
recHits() {
43 return theHitData.recHits();
54 std::vector<float>
const &
weights()
const {
return theHitData.weights();}
55 std::vector<float> &
weights() {
return theHitData.weights();}
58 float weight(
unsigned int i)
const {
return theHitData.weight(i);}
59 float &
weight(
unsigned int i) {
return theHitData.weight(i);}
72 return RecHitPointer(
new TSiTrackerMultiRecHit( geom, rh, components, annealing));
87 virtual TSiTrackerMultiRecHit*
clone()
const {
88 return new TSiTrackerMultiRecHit(*
this);
virtual ConstRecHitContainer transientHits() const
Composite interface: returns the component hits, if any.
virtual LocalError localPositionError() const
virtual void getKfComponents(KfComponentsHolder &holder) const
virtual DetId geographicalId() const
virtual AlgebraicSymMatrix parametersError() const
TSiTrackerMultiRecHit(const GeomDet *geom, const SiTrackerMultiRecHit *rh, const ConstRecHitContainer &components, float annealing)
void setAnnealingFactor(float annealing)
static void getKfComponents(KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
virtual const GeomDet * det() const GCC11_FINAL
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
float getAnnealingFactor() const
virtual bool canImproveWithTrack() const
virtual std::vector< TrackingRecHit * > recHits()
Non-const access to component RecHits (if any)
virtual TSiTrackerMultiRecHit * clone() const
ReferenceCountingPointer< TransientTrackingRecHit > RecHitPointer
virtual AlgebraicMatrix projectionMatrix() const
float weight(unsigned int i) const
float & weight(unsigned int i)
virtual ~TSiTrackerMultiRecHit()
CLHEP::HepMatrix AlgebraicMatrix
virtual const TrackingRecHit * hit() const
virtual AlgebraicVector parameters() const
std::vector< ConstRecHitPointer > ConstRecHitContainer
virtual LocalPoint localPosition() const
CLHEP::HepVector AlgebraicVector
virtual bool isValid() const
static RecHitPointer build(const GeomDet *geom, const SiTrackerMultiRecHit *rh, const ConstRecHitContainer &components, float annealing=1.)
virtual TValidTrackingRecHit * clone() const =0
std::vector< float > & weights()
const SiTrackerMultiRecHit * specificHit() const
SiTrackerMultiRecHit theHitData
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual const GeomDetUnit * detUnit() const
virtual int dimension() const
std::vector< float > const & weights() const
ConstRecHitContainer theComponents
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
static AlgebraicSymMatrix parError(const LocalError &le, const GeomDet &det)
Unlimited (trivial) bounds.