CMS 3D CMS Logo

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

TransientTrackingRecHitByValue< RecHit > Class Template Reference

#include <TransientTrackingRecHitByValue.h>

Inheritance diagram for TransientTrackingRecHitByValue< RecHit >:
TransientTrackingRecHit TrackingRecHit ReferenceCountedPoolAllocated BlockWipedPoolAllocated

List of all members.

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

Detailed Description

template<typename RecHit>
class TransientTrackingRecHitByValue< RecHit >

Definition at line 7 of file TransientTrackingRecHitByValue.h.


Member Typedef Documentation

template<typename RecHit>
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 GCC11_FINAL, and GCC11_FINAL.

Definition at line 9 of file TransientTrackingRecHitByValue.h.


Constructor & Destructor Documentation

template<typename RecHit>
virtual TransientTrackingRecHitByValue< RecHit >::~TransientTrackingRecHitByValue ( ) [inline, virtual]

Definition at line 11 of file TransientTrackingRecHitByValue.h.

{}
template<typename RecHit>
TransientTrackingRecHitByValue< RecHit >::TransientTrackingRecHitByValue ( const GeomDet geom,
const RecHit &  rh 
) [inline, protected]

Definition at line 40 of file TransientTrackingRecHitByValue.h.

template<typename RecHit>
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()) {
  }

Member Function Documentation

template<typename RecHit>
static RecHitPointer TransientTrackingRecHitByValue< RecHit >::build ( const GeomDet geom,
const RecHit *  rh 
) [inline, static]

Definition at line 33 of file TransientTrackingRecHitByValue.h.

template<typename RecHit>
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.

Reimplemented in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.

Definition at line 21 of file TransientTrackingRecHitByValue.h.

{return false;}
template<typename RecHit>
virtual TransientTrackingRecHitByValue<RecHit>* TransientTrackingRecHitByValue< RecHit >::clone ( void  ) const [inline, private, virtual]
template<typename RecHit>
virtual int TransientTrackingRecHitByValue< RecHit >::dimension ( ) const [inline, virtual]
template<typename RecHit>
virtual const RecHit* TransientTrackingRecHitByValue< RecHit >::hit ( void  ) const [inline, virtual]
template<typename RecHit>
virtual LocalPoint TransientTrackingRecHitByValue< RecHit >::localPosition ( ) const [inline, virtual]

Implements TrackingRecHit.

Reimplemented in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.

Definition at line 18 of file TransientTrackingRecHitByValue.h.

{return m_trackingRecHit.localPosition();}
template<typename RecHit>
virtual LocalError TransientTrackingRecHitByValue< RecHit >::localPositionError ( ) const [inline, virtual]

Implements TrackingRecHit.

Reimplemented in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.

Definition at line 19 of file TransientTrackingRecHitByValue.h.

{return m_trackingRecHit.localPositionError();}
template<typename RecHit>
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);
  }
template<typename RecHit>
virtual AlgebraicVector TransientTrackingRecHitByValue< RecHit >::parameters ( void  ) const [inline, virtual]

Implements TrackingRecHit.

Reimplemented in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.

Definition at line 13 of file TransientTrackingRecHitByValue.h.

{return m_trackingRecHit.parameters();}
template<typename RecHit>
virtual AlgebraicSymMatrix TransientTrackingRecHitByValue< RecHit >::parametersError ( ) const [inline, virtual]
template<typename RecHit>
virtual AlgebraicMatrix TransientTrackingRecHitByValue< RecHit >::projectionMatrix ( ) const [inline, virtual]

Implements TrackingRecHit.

Reimplemented in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.

Definition at line 15 of file TransientTrackingRecHitByValue.h.

{return m_trackingRecHit.projectionMatrix();}
template<typename RecHit>
virtual std::vector<TrackingRecHit*> TransientTrackingRecHitByValue< RecHit >::recHits ( ) [inline, virtual]

Non-const access to component RecHits (if any)

Implements TrackingRecHit.

Reimplemented in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.

Definition at line 29 of file TransientTrackingRecHitByValue.h.

                                               {
    return m_trackingRecHit.recHits();
  }
template<typename RecHit>
virtual std::vector<const TrackingRecHit*> TransientTrackingRecHitByValue< RecHit >::recHits ( ) const [inline, virtual]

Access to component RecHits (if any)

Implements TrackingRecHit.

Reimplemented in GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.

Definition at line 26 of file TransientTrackingRecHitByValue.h.

                                                           {
    return hit()->recHits();
  }

Member Data Documentation

template<typename RecHit>
RecHit TransientTrackingRecHitByValue< RecHit >::m_trackingRecHit [private]