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);
ReferenceCountingPointer< TransientTrackingRecHit > RecHitPointer
virtual bool isValid() const
virtual TSiTrackerMultiRecHit * clone() const
virtual TransientTrackingRecHit * clone() const =0
static void getKfComponents(KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
virtual DetId geographicalId() const
void setAnnealingFactor(float annealing)
std::vector< float > & weights()
ConstRecHitContainer theComponents
TSiTrackerMultiRecHit(const GeomDet *geom, const SiTrackerMultiRecHit *rh, const ConstRecHitContainer &components, float annealing)
CLHEP::HepMatrix AlgebraicMatrix
std::vector< float > const & weights() const
virtual const TrackingRecHit * hit() const
virtual LocalPoint localPosition() const
virtual void getKfComponents(KfComponentsHolder &holder) const
std::vector< ConstRecHitPointer > ConstRecHitContainer
virtual int dimension() const
float getAnnealingFactor() const
CLHEP::HepVector AlgebraicVector
virtual LocalError localPositionError() const
virtual AlgebraicMatrix projectionMatrix() const
const SiTrackerMultiRecHit * specificHit() const
SiTrackerMultiRecHit theHitData
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
float & weight(unsigned int i)
float weight(unsigned int i) const
virtual ConstRecHitContainer transientHits() const
Composite interface: returns the component hits, if any.
virtual ~TSiTrackerMultiRecHit()
const GeomDet * det() const
The GomeDet* can be zero for InvalidTransientRecHits and for TConstraintRecHit2Ds.
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual std::vector< TrackingRecHit * > recHits()
Non-const access to component RecHits (if any)
virtual const GeomDetUnit * detUnit() const
static RecHitPointer build(const GeomDet *geom, const SiTrackerMultiRecHit *rh, const ConstRecHitContainer &components, float annealing=1.)
virtual bool canImproveWithTrack() const
virtual AlgebraicVector parameters() const
virtual AlgebraicSymMatrix parametersError() const
static AlgebraicSymMatrix parError(const LocalError &le, const GeomDet &det)