#include <RecHit1D.h>
Public Member Functions | |
int | dimension () const override |
Return the RecHit dimension. More... | |
LocalPoint | localPosition () const override=0 |
Local position. More... | |
LocalError | localPositionError () const override=0 |
Error on the local position. More... | |
AlgebraicVector | parameters () const override |
Return just the x. More... | |
AlgebraicSymMatrix | parametersError () const override |
Return just "(sigma_x)^2". More... | |
AlgebraicMatrix | projectionMatrix () const override |
Return the projection matrix. More... | |
RecHit1D (DetId id) | |
RecHit1D (TrackingRecHit::id_type id=0) | |
~RecHit1D () override | |
Destructor. More... | |
Public Member Functions inherited from TrackingRecHit | |
virtual bool | canImproveWithTrack () const |
virtual TrackingRecHit * | clone () const =0 |
RecHitPointer | cloneForFit (const GeomDet &idet) const |
virtual TrackingRecHit * | cloneHit () const |
virtual RecHitPointer | cloneSH () const |
const GeomDet * | det () const |
virtual const GeomDetUnit * | detUnit () const |
virtual float | errorGlobalR () const |
virtual float | errorGlobalRPhi () const |
virtual float | errorGlobalZ () const |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
unsigned int | getRTTI () const |
Type | getType () const |
virtual GlobalPoint | globalPosition () const |
virtual GlobalError | globalPositionError () const |
virtual bool | hasPositionAndError () const |
to be redefined by daughter class More... | |
virtual TrackingRecHit const * | hit () const |
bool | isValid () const |
id_type | rawId () const |
virtual std::vector< const TrackingRecHit * > | recHits () const =0 |
Access to component RecHits (if any) More... | |
virtual std::vector< TrackingRecHit * > | recHits ()=0 |
Non-const access to component RecHits (if any) More... | |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
virtual void | setDet (const GeomDet &idet) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
virtual const Surface * | surface () const |
TrackingRecHit (const GeomDet &idet, TrackingRecHit const &rh) | |
TrackingRecHit (const GeomDet &idet, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, unsigned int rt, Type type=valid) | |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (DetId id, unsigned int rt, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
virtual ConstRecHitContainer | transientHits () const |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Static Private Attributes | |
static const AlgebraicMatrix | theProjectionMatrix |
Additional Inherited Members | |
Public Types inherited from TrackingRecHit | |
typedef std::vector< ConstRecHitPointer > | ConstRecHitContainer |
using | ConstRecHitPointer = std::shared_ptr< TrackingRecHit const > |
typedef unsigned int | id_type |
typedef std::vector< ConstRecHitPointer > | RecHitContainer |
using | RecHitPointer = std::shared_ptr< TrackingRecHit const > |
enum | SharedInputType { all, some } |
definition of equality via shared input More... | |
enum | Type { valid = 0, missing = 1, inactive = 2, bad = 3, missing_inner = 4, missing_outer = 5, inactive_inner = 6, inactive_outer = 7 } |
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) |
Base class for 1-dimensional recHits
To be used as base class for all 1D positional TrackingRecHits. The coordinate measured is assumend to be the local "x"
Definition at line 19 of file RecHit1D.h.
|
inline |
Definition at line 21 of file RecHit1D.h.
|
inline |
Definition at line 22 of file RecHit1D.h.
|
inlineoverride |
|
inlineoverridevirtual |
|
overridepure virtual |
Local position.
Implements TrackingRecHit.
Implemented in DTSLRecCluster, DTRecHit1D, and DTRecHit1DPair.
Referenced by parameters().
|
overridepure virtual |
Error on the local position.
Implements TrackingRecHit.
Implemented in DTSLRecCluster, DTRecHit1D, and DTRecHit1DPair.
Referenced by parametersError().
|
overridevirtual |
Return just the x.
Implements TrackingRecHit.
Definition at line 13 of file RecHit1D.cc.
References localPosition(), mps_fire::result, and PV3DBase< T, PVType, FrameType >::x().
|
overridevirtual |
Return just "(sigma_x)^2".
Implements TrackingRecHit.
Definition at line 20 of file RecHit1D.cc.
References localPositionError(), visualization-live-secondInstance_cfg::m, and LocalError::xx().
|
inlineoverridevirtual |
Return the projection matrix.
Implements TrackingRecHit.
Definition at line 34 of file RecHit1D.h.
References theProjectionMatrix.
|
staticprivate |
Definition at line 46 of file RecHit1D.h.
Referenced by projectionMatrix().