#include <TransientTrackingRecHitByValue.h>
Public Types | |
typedef TrackingRecHit::Type | Type |
Public Member Functions | |
virtual bool | canImproveWithTrack () const |
virtual int | dimension () const |
virtual const RecHit * | 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 | ~TransientTrackingRecHitByValue () |
Static Public Member Functions | |
static RecHitPointer | build (const GeomDet *geom, const RecHit *rh) |
Protected Member Functions | |
TransientTrackingRecHitByValue (const GeomDet *geom, const RecHit &rh) | |
TransientTrackingRecHitByValue (const TransientTrackingRecHitByValue< RecHit > &other) | |
Private Member Functions | |
virtual TransientTrackingRecHitByValue < RecHit > * | clone () const |
TransientTrackingRecHitByValue < RecHit > & | operator= (const TransientTrackingRecHitByValue< RecHit > &t) |
Private Attributes | |
RecHit | m_trackingRecHit |
Definition at line 7 of file TransientTrackingRecHitByValue.h.
typedef TrackingRecHit::Type TransientTrackingRecHitByValue< RecHit >::Type |
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.
Reimplemented in InvalidTransientRecHit.
Definition at line 9 of file TransientTrackingRecHitByValue.h.
virtual TransientTrackingRecHitByValue< RecHit >::~TransientTrackingRecHitByValue | ( | ) | [inline, virtual] |
Definition at line 11 of file TransientTrackingRecHitByValue.h.
{}
TransientTrackingRecHitByValue< RecHit >::TransientTrackingRecHitByValue | ( | const GeomDet * | geom, |
const RecHit & | rh | ||
) | [inline, protected] |
Definition at line 40 of file TransientTrackingRecHitByValue.h.
: TransientTrackingRecHit(geom,rh), m_trackingRecHit(rh) { }
TransientTrackingRecHitByValue< RecHit >::TransientTrackingRecHitByValue | ( | const TransientTrackingRecHitByValue< RecHit > & | other | ) | [inline, protected] |
Definition at line 45 of file TransientTrackingRecHitByValue.h.
: TransientTrackingRecHit( other.det(),other), m_trackingRecHit(*other.hit()) { }
static RecHitPointer TransientTrackingRecHitByValue< RecHit >::build | ( | const GeomDet * | geom, |
const RecHit * | rh | ||
) | [inline, static] |
Definition at line 33 of file TransientTrackingRecHitByValue.h.
{ return RecHitPointer( new TransientTrackingRecHitByValue<RecHit>( geom, *rh)); }
virtual bool TransientTrackingRecHitByValue< RecHit >::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.
Definition at line 21 of file TransientTrackingRecHitByValue.h.
{return false;}
virtual TransientTrackingRecHitByValue<RecHit>* TransientTrackingRecHitByValue< RecHit >::clone | ( | void | ) | const [inline, private, virtual] |
Implements TransientTrackingRecHit.
Reimplemented in InvalidTransientRecHit.
Definition at line 61 of file TransientTrackingRecHitByValue.h.
{ return new TransientTrackingRecHitByValue<RecHit>(*this); }
virtual int TransientTrackingRecHitByValue< RecHit >::dimension | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 16 of file TransientTrackingRecHitByValue.h.
{return m_trackingRecHit.dimension();}
virtual const RecHit* TransientTrackingRecHitByValue< RecHit >::hit | ( | void | ) | const [inline, virtual] |
Implements TransientTrackingRecHit.
Definition at line 23 of file TransientTrackingRecHitByValue.h.
Referenced by TransientTrackingRecHitByValue< InvalidTrackingRecHit >::operator=(), and TransientTrackingRecHitByValue< InvalidTrackingRecHit >::recHits().
{return &m_trackingRecHit;};
virtual LocalPoint TransientTrackingRecHitByValue< RecHit >::localPosition | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 18 of file TransientTrackingRecHitByValue.h.
{return m_trackingRecHit.localPosition();}
virtual LocalError TransientTrackingRecHitByValue< RecHit >::localPositionError | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 19 of file TransientTrackingRecHitByValue.h.
{return m_trackingRecHit.localPositionError();}
TransientTrackingRecHitByValue<RecHit>& TransientTrackingRecHitByValue< RecHit >::operator= | ( | const TransientTrackingRecHitByValue< RecHit > & | t | ) | [inline, private] |
Definition at line 54 of file TransientTrackingRecHitByValue.h.
{ m_trackingRecHit = *t.hit(); return *(this); }
virtual AlgebraicVector TransientTrackingRecHitByValue< RecHit >::parameters | ( | void | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 13 of file TransientTrackingRecHitByValue.h.
{return m_trackingRecHit.parameters();}
virtual AlgebraicSymMatrix TransientTrackingRecHitByValue< RecHit >::parametersError | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 14 of file TransientTrackingRecHitByValue.h.
{return m_trackingRecHit.parametersError();}
virtual AlgebraicMatrix TransientTrackingRecHitByValue< RecHit >::projectionMatrix | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Definition at line 15 of file TransientTrackingRecHitByValue.h.
{return m_trackingRecHit.projectionMatrix();}
virtual std::vector<TrackingRecHit*> TransientTrackingRecHitByValue< RecHit >::recHits | ( | ) | [inline, virtual] |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 29 of file TransientTrackingRecHitByValue.h.
{ return m_trackingRecHit.recHits(); }
virtual std::vector<const TrackingRecHit*> TransientTrackingRecHitByValue< RecHit >::recHits | ( | ) | const [inline, virtual] |
Access to component RecHits (if any)
Implements TrackingRecHit.
Definition at line 26 of file TransientTrackingRecHitByValue.h.
{ return hit()->recHits(); }
RecHit TransientTrackingRecHitByValue< RecHit >::m_trackingRecHit [private] |
Definition at line 51 of file TransientTrackingRecHitByValue.h.
Referenced by TransientTrackingRecHitByValue< InvalidTrackingRecHit >::dimension(), TransientTrackingRecHitByValue< InvalidTrackingRecHit >::hit(), TransientTrackingRecHitByValue< InvalidTrackingRecHit >::localPosition(), TransientTrackingRecHitByValue< InvalidTrackingRecHit >::localPositionError(), TransientTrackingRecHitByValue< InvalidTrackingRecHit >::operator=(), TransientTrackingRecHitByValue< InvalidTrackingRecHit >::parameters(), TransientTrackingRecHitByValue< InvalidTrackingRecHit >::parametersError(), TransientTrackingRecHitByValue< InvalidTrackingRecHit >::projectionMatrix(), and TransientTrackingRecHitByValue< InvalidTrackingRecHit >::recHits().