CMS 3D CMS Logo

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

GenericTransientTrackingRecHit Class Reference

#include <GenericTransientTrackingRecHit.h>

Inheritance diagram for GenericTransientTrackingRecHit:
TransientTrackingRecHit TrackingRecHit ReferenceCountedPoolAllocated BlockWipedPoolAllocated GCC11_FINAL GCC11_FINAL MuonTransientTrackingRecHit

List of all members.

Public Types

typedef TrackingRecHit::Type Type

Public Member Functions

virtual bool canImproveWithTrack () const
virtual int dimension () const
virtual const TrackingRecHithit () 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)
 GenericTransientTrackingRecHit (const GenericTransientTrackingRecHit &other)
 GenericTransientTrackingRecHit (const GeomDet *geom, TrackingRecHit *rh)
 for derived classes convenience, does not clone!

Protected Attributes

TrackingRecHittrackingRecHit_

Private Member Functions

virtual
GenericTransientTrackingRecHit
clone () const
GenericTransientTrackingRecHitoperator= (const GenericTransientTrackingRecHit &t)

Detailed Description

Definition at line 7 of file GenericTransientTrackingRecHit.h.


Member Typedef Documentation

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 GenericTransientTrackingRecHit.h.


Constructor & Destructor Documentation

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 
) [inline, protected]

Definition at line 44 of file GenericTransientTrackingRecHit.h.

References TrackingRecHit::clone(), and trackingRecHit_.

Referenced by build(), and clone().

GenericTransientTrackingRecHit::GenericTransientTrackingRecHit ( const GeomDet geom,
TrackingRecHit rh 
) [inline, protected]

for derived classes convenience, does not clone!

Definition at line 50 of file GenericTransientTrackingRecHit.h.

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) {
    trackingRecHit_ = other.hit()->clone();
  }

Member Function Documentation

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().

                                                                               {
    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 GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.

Definition at line 25 of file GenericTransientTrackingRecHit.h.

{return false;}
virtual GenericTransientTrackingRecHit* GenericTransientTrackingRecHit::clone ( void  ) const [inline, private, virtual]
virtual int GenericTransientTrackingRecHit::dimension ( ) const [inline, virtual]
virtual const TrackingRecHit* GenericTransientTrackingRecHit::hit ( void  ) const [inline, virtual]
virtual LocalPoint GenericTransientTrackingRecHit::localPosition ( ) const [inline, virtual]
virtual LocalError GenericTransientTrackingRecHit::localPositionError ( ) const [inline, virtual]
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]
virtual AlgebraicSymMatrix GenericTransientTrackingRecHit::parametersError ( ) const [inline, virtual]
virtual AlgebraicMatrix GenericTransientTrackingRecHit::projectionMatrix ( ) const [inline, virtual]
virtual std::vector<TrackingRecHit*> GenericTransientTrackingRecHit::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 33 of file GenericTransientTrackingRecHit.h.

References TrackingRecHit::recHits(), and trackingRecHit_.

                                               {
    return trackingRecHit_->recHits();
  }
virtual std::vector<const TrackingRecHit*> GenericTransientTrackingRecHit::recHits ( ) const [inline, virtual]

Member Data Documentation