#include <GenericTransientTrackingRecHit.h>
Public Types | |
typedef TrackingRecHit::Type | Type |
Public Member Functions | |
virtual bool | canImproveWithTrack () const |
virtual int | dimension () const |
virtual const TrackingRecHit * | hit () const |
virtual LocalPoint | localPosition () const |
virtual LocalError | localPositionError () const |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicSymMatrix | parametersError () const |
virtual AlgebraicMatrix | projectionMatrix () const |
virtual std::vector< const TrackingRecHit * > | recHits () const |
Access to component RecHits (if any) | |
virtual std::vector < TrackingRecHit * > | recHits () |
Non-const access to component RecHits (if any) | |
virtual | ~GenericTransientTrackingRecHit () |
Static Public Member Functions | |
static RecHitPointer | build (const GeomDet *geom, const TrackingRecHit *rh) |
Protected Member Functions | |
GenericTransientTrackingRecHit (const GeomDet *geom, const TrackingRecHit &rh, float weight=1., float annealing=1.) | |
GenericTransientTrackingRecHit (const GenericTransientTrackingRecHit &other) | |
GenericTransientTrackingRecHit (const GeomDet *geom, TrackingRecHit *rh, float weight=1., float annealing=1.) | |
for derived classes convenience, does not clone! | |
Protected Attributes | |
TrackingRecHit * | trackingRecHit_ |
Private Member Functions | |
virtual GenericTransientTrackingRecHit * | clone () const |
GenericTransientTrackingRecHit & | operator= (const GenericTransientTrackingRecHit &t) |
Definition at line 7 of file GenericTransientTrackingRecHit.h.
Type of hits: valid = valid hit missing = detector is good, but no rec hit found inactive = detector is off, so there was no hope bad = there were many bad strips within the ellipse (in Tracker) = hit is compatible with the trajectory, but chi2 is too large (in Muon System)
Reimplemented from TrackingRecHit.
Definition at line 9 of file GenericTransientTrackingRecHit.h.
virtual GenericTransientTrackingRecHit::~GenericTransientTrackingRecHit | ( | ) | [inline, virtual] |
Definition at line 11 of file GenericTransientTrackingRecHit.h.
References trackingRecHit_.
{delete trackingRecHit_;}
GenericTransientTrackingRecHit::GenericTransientTrackingRecHit | ( | const GeomDet * | geom, |
const TrackingRecHit & | rh, | ||
float | weight = 1. , |
||
float | annealing = 1. |
||
) | [inline, protected] |
Definition at line 44 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::clone(), and trackingRecHit_.
Referenced by build(), and clone().
: TransientTrackingRecHit(geom,rh,weight,annealing) { trackingRecHit_ = rh.clone(); }
GenericTransientTrackingRecHit::GenericTransientTrackingRecHit | ( | const GeomDet * | geom, |
TrackingRecHit * | rh, | ||
float | weight = 1. , |
||
float | annealing = 1. |
||
) | [inline, protected] |
for derived classes convenience, does not clone!
Definition at line 50 of file GenericTransientTrackingRecHit.h.
: TransientTrackingRecHit(geom,*rh,weight,annealing), trackingRecHit_(rh) {}
GenericTransientTrackingRecHit::GenericTransientTrackingRecHit | ( | const GenericTransientTrackingRecHit & | other | ) | [inline, protected] |
Definition at line 53 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::clone(), hit(), and trackingRecHit_.
: TransientTrackingRecHit( other.det(),other,other.weight(),other.getAnnealingFactor()) { trackingRecHit_ = other.hit()->clone(); }
static RecHitPointer GenericTransientTrackingRecHit::build | ( | const GeomDet * | geom, |
const TrackingRecHit * | rh | ||
) | [inline, static] |
Reimplemented in MuonTransientTrackingRecHit.
Definition at line 37 of file GenericTransientTrackingRecHit.h.
References GenericTransientTrackingRecHit().
Referenced by TkTransientTrackingRecHitBuilder::build(), and TkTransientTrackingRecHitBuilder::oldbuild().
{ return RecHitPointer( new GenericTransientTrackingRecHit( geom, *rh)); }
virtual bool GenericTransientTrackingRecHit::canImproveWithTrack | ( | ) | const [inline, virtual] |
Returns true if the clone( const TrajectoryStateOnSurface&) method returns an improved hit, false if it returns an identical copy. In order to avoid redundent copies one should call canImproveWithTrack() before calling clone( const TrajectoryStateOnSurface&).
Reimplemented from TransientTrackingRecHit.
Reimplemented in TSiStripMatchedRecHit.
Definition at line 25 of file GenericTransientTrackingRecHit.h.
{return false;}
virtual GenericTransientTrackingRecHit* GenericTransientTrackingRecHit::clone | ( | void | ) | const [inline, private, virtual] |
Implements TransientTrackingRecHit.
Reimplemented in MuonTransientTrackingRecHit, ProjectedRecHit2D, and TSiStripMatchedRecHit.
Definition at line 70 of file GenericTransientTrackingRecHit.h.
References GenericTransientTrackingRecHit().
{ return new GenericTransientTrackingRecHit(*this); }
virtual int GenericTransientTrackingRecHit::dimension | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 16 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::dimension(), and trackingRecHit_.
Referenced by MuonTransientTrackingRecHit::transientHits().
{return trackingRecHit_->dimension();}
virtual const TrackingRecHit* GenericTransientTrackingRecHit::hit | ( | void | ) | const [inline, virtual] |
Implements TransientTrackingRecHit.
Definition at line 27 of file GenericTransientTrackingRecHit.h.
References trackingRecHit_.
Referenced by MuonTransientTrackingRecHit::chi2(), TSiStripMatchedRecHit::clone(), ProjectedRecHit2D::clone(), MuonTransientTrackingRecHit::degreesOfFreedom(), GenericTransientTrackingRecHit(), TSiStripMatchedRecHit::getKfComponents(), ProjectedRecHit2D::getKfComponents(), MuonTransientTrackingRecHit::localDirection(), MuonTransientTrackingRecHit::localDirectionError(), operator=(), ProjectedRecHit2D::originalHit(), and TSiStripMatchedRecHit::transientHits().
{return trackingRecHit_;};
virtual LocalPoint GenericTransientTrackingRecHit::localPosition | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 22 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::localPosition(), and trackingRecHit_.
{return trackingRecHit_->localPosition();}
virtual LocalError GenericTransientTrackingRecHit::localPositionError | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 23 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::localPositionError(), and trackingRecHit_.
Referenced by TSiStripMatchedRecHit::parametersError(), and ProjectedRecHit2D::parametersError().
{return trackingRecHit_->localPositionError();}
GenericTransientTrackingRecHit& GenericTransientTrackingRecHit::operator= | ( | const GenericTransientTrackingRecHit & | t | ) | [inline, private] |
Definition at line 63 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::clone(), hit(), and trackingRecHit_.
{ trackingRecHit_ = t.hit()->clone(); return *(this); }
virtual AlgebraicVector GenericTransientTrackingRecHit::parameters | ( | void | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 13 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::parameters(), and trackingRecHit_.
{return trackingRecHit_->parameters();}
virtual AlgebraicSymMatrix GenericTransientTrackingRecHit::parametersError | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Reimplemented in MuonTransientTrackingRecHit, ProjectedRecHit2D, and TSiStripMatchedRecHit.
Definition at line 14 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::parametersError(), and trackingRecHit_.
{return trackingRecHit_->parametersError();}
virtual AlgebraicMatrix GenericTransientTrackingRecHit::projectionMatrix | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 15 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::projectionMatrix(), and trackingRecHit_.
Referenced by MuonTransientTrackingRecHit::parametersError().
{return trackingRecHit_->projectionMatrix();}
virtual std::vector<TrackingRecHit*> GenericTransientTrackingRecHit::recHits | ( | ) | [inline, virtual] |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 33 of file GenericTransientTrackingRecHit.h.
References TrackingRecHit::recHits(), and trackingRecHit_.
{ return trackingRecHit_->recHits(); }
virtual std::vector<const TrackingRecHit*> GenericTransientTrackingRecHit::recHits | ( | ) | const [inline, virtual] |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 30 of file GenericTransientTrackingRecHit.h.
References trackingRecHit_.
Referenced by MuonSeedCleaner::NRecHitsFromSegment(), and MuonTransientTrackingRecHit::transientHits().
{ return ((const TrackingRecHit *)(trackingRecHit_))->recHits(); }
Definition at line 58 of file GenericTransientTrackingRecHit.h.
Referenced by TSiStripMatchedRecHit::clearPersistentHit(), TSiStripMatchedRecHit::clonePersistentHit(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), dimension(), GenericTransientTrackingRecHit(), hit(), MuonTransientTrackingRecHit::invalidateHit(), localPosition(), localPositionError(), operator=(), parameters(), parametersError(), ProjectedRecHit2D::ProjectedRecHit2D(), projectionMatrix(), recHits(), and ~GenericTransientTrackingRecHit().