CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Private Attributes
RecHit2DLocalPos Class Referenceabstract

#include <RecHit2DLocalPos.h>

Inheritance diagram for RecHit2DLocalPos:
TrackingRecHit BaseSiTrackerRecHit2DLocalPos GCC11_FINAL< T, TOPO > GEMRecHit GSSiTrackerRecHit2DLocalPos RPCRecHit SiStripLaserRecHit2D SiTrackerGSMatchedRecHit2D SiTrackerGSRecHit2D

Public Types

typedef GloballyPositioned
< float >::LocalPoint 
LocalPoint
 
- Public Types inherited from TrackingRecHit
typedef unsigned int id_type
 
enum  SharedInputType { all, some }
 definition of equality via shared input More...
 
enum  Type { valid = 0, missing = 1, inactive = 2, bad = 3 }
 

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 (DetId id)
 
 RecHit2DLocalPos (TrackingRecHit::id_type id=0)
 
virtual std::vector< const
TrackingRecHit * > 
recHits () const
 Access to component RecHits (if any) More...
 
virtual std::vector
< TrackingRecHit * > 
recHits ()
 Non-const access to component RecHits (if any) More...
 
virtual ~RecHit2DLocalPos ()
 
- Public Member Functions inherited from TrackingRecHit
DetId geographicalId () const
 
virtual void getKfComponents (KfComponentsHolder &holder) const
 
unsigned int getRTTI () const
 
Type getType () const
 
virtual bool hasPositionAndError () const
 to be redefined by daughter class More...
 
bool isValid () const
 
id_type rawId () const
 
virtual void recHitsV (std::vector< const TrackingRecHit * > &) const
 
virtual void recHitsV (std::vector< TrackingRecHit * > &)
 
virtual bool sharesInput (const TrackingRecHit *other, SharedInputType what) const
 
 TrackingRecHit (DetId id, Type type=valid)
 
 TrackingRecHit (id_type id=0, Type type=valid)
 
 TrackingRecHit (DetId id, unsigned int rt, Type type=valid)
 
Type type () const
 
virtual float weight () const
 
virtual ~TrackingRecHit ()
 

Static Private Attributes

static const AlgebraicMatrix theProjectionMatrix {initializeMatrix()}
 

Additional Inherited Members

- Static Public Attributes inherited from TrackingRecHit
static const int rttiShift = 24
 
static const int typeMask = 0xf
 
- Protected Member Functions inherited from TrackingRecHit
void setId (id_type iid)
 
void setRTTI (unsigned int rt)
 
void setType (Type ttype)
 

Detailed Description

Definition at line 9 of file RecHit2DLocalPos.h.

Member Typedef Documentation

Definition at line 12 of file RecHit2DLocalPos.h.

Constructor & Destructor Documentation

RecHit2DLocalPos::RecHit2DLocalPos ( DetId  id)
inline

Definition at line 14 of file RecHit2DLocalPos.h.

14 : TrackingRecHit(id) {}
TrackingRecHit(DetId id, Type type=valid)
RecHit2DLocalPos::RecHit2DLocalPos ( TrackingRecHit::id_type  id = 0)
inline

Definition at line 15 of file RecHit2DLocalPos.h.

15 : TrackingRecHit(id) {}
TrackingRecHit(DetId id, Type type=valid)
virtual RecHit2DLocalPos::~RecHit2DLocalPos ( )
inlinevirtual

Definition at line 16 of file RecHit2DLocalPos.h.

16 {}

Member Function Documentation

virtual RecHit2DLocalPos* RecHit2DLocalPos::clone ( ) const
pure virtual

Implements TrackingRecHit.

Implemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GEMRecHit, RPCRecHit, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, SiTrackerGSMatchedRecHit2D, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, SiTrackerGSRecHit2D, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, SiStripLaserRecHit2D, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.

Referenced by FastTSGFromPropagation::trackerSeeds().

virtual int RecHit2DLocalPos::dimension ( ) const
inlinevirtual
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.

Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.

Definition at line 14 of file RecHit2DLocalPos.cc.

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

14  {
17  m[0][0] = le.xx();
18  m[0][1] = le.xy();
19  m[1][1] = le.yy();
20  return m;
21 }
CLHEP::HepSymMatrix AlgebraicSymMatrix
virtual LocalError localPositionError() const =0
virtual AlgebraicMatrix RecHit2DLocalPos::projectionMatrix ( ) const
inlinevirtual
std::vector< const TrackingRecHit * > RecHit2DLocalPos::recHits ( ) const
virtual

Access to component RecHits (if any)

Implements TrackingRecHit.

Reimplemented in GEMRecHit, RPCRecHit, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.

Definition at line 23 of file RecHit2DLocalPos.cc.

23  {
24  std::vector<const TrackingRecHit*> nullvector;
25  return nullvector;
26 }
std::vector< TrackingRecHit * > RecHit2DLocalPos::recHits ( )
virtual

Non-const access to component RecHits (if any)

Implements TrackingRecHit.

Reimplemented in GEMRecHit, RPCRecHit, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.

Definition at line 27 of file RecHit2DLocalPos.cc.

27  {
28  std::vector<TrackingRecHit*> nullvector;
29  return nullvector;
30 }

Member Data Documentation

const AlgebraicMatrix RecHit2DLocalPos::theProjectionMatrix {initializeMatrix()}
staticprivate

Definition at line 40 of file RecHit2DLocalPos.h.

Referenced by projectionMatrix().