#include <RecHit2DLocalPos.h>
Public Types | |
typedef Surface::LocalPoint | LocalPoint |
Public Member Functions | |
virtual RecHit2DLocalPos * | clone () 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 |
Definition at line 8 of file RecHit2DLocalPos.h.
Definition at line 11 of file RecHit2DLocalPos.h.
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.
{}
virtual RecHit2DLocalPos* RecHit2DLocalPos::clone | ( | ) | const [pure virtual] |
Implements TrackingRecHit.
Implemented in SiStripLaserRecHit2D, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, RPCRecHit, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, SiTrackerGSMatchedRecHit2D, SiTrackerGSRecHit2D, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, and GCC11_FINAL< T >.
Referenced by FastTSGFromPropagation::trackerSeeds().
virtual int RecHit2DLocalPos::dimension | ( | ) | const [inline, virtual] |
Implements TrackingRecHit.
Reimplemented in GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, and GCC11_FINAL< T >.
Definition at line 28 of file RecHit2DLocalPos.h.
{ return 2;}
void RecHit2DLocalPos::initialize | ( | ) | const [private] |
Definition at line 3 of file RecHit2DLocalPos.cc.
References isInitialized, and theProjectionMatrix.
Referenced by projectionMatrix().
{ theProjectionMatrix = AlgebraicMatrix( 2, 5, 0); theProjectionMatrix[0][3] = 1; theProjectionMatrix[1][4] = 1; isInitialized = true; }
virtual LocalPoint RecHit2DLocalPos::localPosition | ( | ) | const [pure virtual] |
Implements TrackingRecHit.
Implemented in SiStripLaserRecHit2D, GCC11_FINAL< T >, GCC11_FINAL< T >, RPCRecHit, BaseSiTrackerRecHit2DLocalPos, GSSiTrackerRecHit2DLocalPos, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, and GCC11_FINAL< T >.
Referenced by parameters().
virtual LocalError RecHit2DLocalPos::localPositionError | ( | ) | const [pure virtual] |
Implements TrackingRecHit.
Implemented in SiStripLaserRecHit2D, GCC11_FINAL< T >, GCC11_FINAL< T >, RPCRecHit, BaseSiTrackerRecHit2DLocalPos, GSSiTrackerRecHit2DLocalPos, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, and GCC11_FINAL< T >.
Referenced by parametersError().
AlgebraicVector RecHit2DLocalPos::parameters | ( | void | ) | const [virtual] |
Implements TrackingRecHit.
Reimplemented in GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, and GCC11_FINAL< T >.
Definition at line 12 of file RecHit2DLocalPos.cc.
References localPosition(), query::result, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
{ AlgebraicVector result(2); LocalPoint lp = localPosition(); result[0] = lp.x(); result[1] = lp.y(); return result; }
AlgebraicSymMatrix RecHit2DLocalPos::parametersError | ( | ) | const [virtual] |
local Error + AlignmentPositionError if this is set for the DetUnit
Implements TrackingRecHit.
Reimplemented in GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, and GCC11_FINAL< T >.
Definition at line 23 of file RecHit2DLocalPos.cc.
References asciidump::le, localPositionError(), m, LocalError::xx(), LocalError::xy(), and LocalError::yy().
{ 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] |
Implements TrackingRecHit.
Reimplemented in GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, and GCC11_FINAL< T >.
Definition at line 23 of file RecHit2DLocalPos.h.
References initialize(), isInitialized, and theProjectionMatrix.
{ if ( !isInitialized) initialize(); return theProjectionMatrix; }
std::vector< TrackingRecHit * > RecHit2DLocalPos::recHits | ( | ) | [virtual] |
Non-const access to component RecHits (if any)
Implements TrackingRecHit.
Reimplemented in GCC11_FINAL< T >, RPCRecHit, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, and GCC11_FINAL< T >.
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 GCC11_FINAL< T >, RPCRecHit, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, GCC11_FINAL< T >, and GCC11_FINAL< T >.
Definition at line 32 of file RecHit2DLocalPos.cc.
{
std::vector<const TrackingRecHit*> nullvector;
return nullvector;
}
bool RecHit2DLocalPos::isInitialized [static, private] |
Definition at line 40 of file RecHit2DLocalPos.h.
Referenced by initialize(), and projectionMatrix().
AlgebraicMatrix RecHit2DLocalPos::theProjectionMatrix [static, private] |
Definition at line 42 of file RecHit2DLocalPos.h.
Referenced by initialize(), and projectionMatrix().