CMS 3D CMS Logo

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

RecHit2DLocalPos Class Reference

#include <RecHit2DLocalPos.h>

Inheritance diagram for RecHit2DLocalPos:
TrackingRecHit BaseSiTrackerRecHit2DLocalPos CSCRecHit2D GSSiTrackerRecHit2DLocalPos RPCRecHit SiStripLaserRecHit2D ProjectedSiStripRecHit2D SiPixelRecHit SiStripMatchedRecHit2D SiStripRecHit2D SiTrackerMultiRecHit SiTrackerGSMatchedRecHit2D SiTrackerGSRecHit2D

List of all members.

Public Types

typedef Surface::LocalPoint LocalPoint

Public Member Functions

virtual RecHit2DLocalPosclone () const =0
virtual int dimension () const
virtual LocalPoint localPosition () const =0
virtual LocalError localPositionError () const =0
virtual AlgebraicVector parameters () const
virtual AlgebraicSymMatrix parametersError () const
virtual AlgebraicMatrix projectionMatrix () const
 RecHit2DLocalPos (TrackingRecHit::id_type id=0)
 RecHit2DLocalPos (DetId id)
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 ~RecHit2DLocalPos ()

Private Member Functions

void initialize () const

Static Private Attributes

static bool isInitialized
static AlgebraicMatrix theProjectionMatrix

Detailed Description

Definition at line 8 of file RecHit2DLocalPos.h.


Member Typedef Documentation

Definition at line 11 of file RecHit2DLocalPos.h.


Constructor & Destructor Documentation

RecHit2DLocalPos::RecHit2DLocalPos ( DetId  id) [inline]

Definition at line 13 of file RecHit2DLocalPos.h.

: TrackingRecHit(id) {}
RecHit2DLocalPos::RecHit2DLocalPos ( TrackingRecHit::id_type  id = 0) [inline]

Definition at line 14 of file RecHit2DLocalPos.h.

: TrackingRecHit(id) {}
virtual RecHit2DLocalPos::~RecHit2DLocalPos ( ) [inline, virtual]

Definition at line 15 of file RecHit2DLocalPos.h.

{}

Member Function Documentation

virtual RecHit2DLocalPos* RecHit2DLocalPos::clone ( ) const [pure virtual]
virtual int RecHit2DLocalPos::dimension ( ) const [inline, virtual]
void RecHit2DLocalPos::initialize ( ) const [private]

Definition at line 3 of file RecHit2DLocalPos.cc.

References isInitialized, and theProjectionMatrix.

Referenced by projectionMatrix().

virtual LocalPoint RecHit2DLocalPos::localPosition ( ) const [pure virtual]
virtual LocalError RecHit2DLocalPos::localPositionError ( ) const [pure virtual]
AlgebraicVector RecHit2DLocalPos::parameters ( void  ) const [virtual]
AlgebraicSymMatrix RecHit2DLocalPos::parametersError ( ) const [virtual]

local Error + AlignmentPositionError if this is set for the DetUnit

Implements TrackingRecHit.

Definition at line 23 of file RecHit2DLocalPos.cc.

References asciidump::le, localPositionError(), m, LocalError::xx(), LocalError::xy(), and LocalError::yy().

Referenced by SiStripRecHitsValid::analyze().

                                                           {
  AlgebraicSymMatrix m(2);
  LocalError le( localPositionError());
  m[0][0] = le.xx();
  m[0][1] = le.xy();
  m[1][1] = le.yy();
  return m;
}
virtual AlgebraicMatrix RecHit2DLocalPos::projectionMatrix ( ) const [inline, virtual]
std::vector< TrackingRecHit * > RecHit2DLocalPos::recHits ( ) [virtual]

Non-const access to component RecHits (if any)

Implements TrackingRecHit.

Reimplemented in RPCRecHit, ProjectedSiStripRecHit2D, SiStripMatchedRecHit2D, and SiTrackerMultiRecHit.

Definition at line 36 of file RecHit2DLocalPos.cc.

                                                     {
  std::vector<TrackingRecHit*> nullvector;
  return nullvector; 
}
std::vector< const TrackingRecHit * > RecHit2DLocalPos::recHits ( ) const [virtual]

Access to component RecHits (if any)

Implements TrackingRecHit.

Reimplemented in RPCRecHit, ProjectedSiStripRecHit2D, SiStripMatchedRecHit2D, and SiTrackerMultiRecHit.

Definition at line 32 of file RecHit2DLocalPos.cc.

Referenced by TSiStripRecHit2DLocalPos::recHits(), and TSiPixelRecHit::recHits().

                                                                 {
  std::vector<const TrackingRecHit*> nullvector;
  return nullvector; 
}

Member Data Documentation

bool RecHit2DLocalPos::isInitialized [static, private]

Definition at line 40 of file RecHit2DLocalPos.h.

Referenced by initialize(), and projectionMatrix().

Definition at line 42 of file RecHit2DLocalPos.h.

Referenced by initialize(), and projectionMatrix().