#include <ME0RecHit.h>
Public Member Functions | |
virtual ME0RecHit * | clone () const |
virtual LocalPoint | localPosition () const |
Return the 3-dimensional local position. More... | |
virtual LocalError | localPositionError () const |
Return the 3-dimensional error on the local position. More... | |
ME0DetId | me0Id () const |
Return the gemId. More... | |
ME0RecHit (const ME0DetId &me0Id, float tof) | |
ME0RecHit () | |
Default constructor. More... | |
ME0RecHit (const ME0DetId &me0Id, float tof, const LocalPoint &pos) | |
Constructor from a local position, ME0Id and digi time. More... | |
ME0RecHit (const ME0DetId &me0Id, float tof, const LocalPoint &pos, const LocalError &err) | |
bool | operator== (const ME0RecHit &hit) const |
Comparison operator, based on the gemId and the digi time. More... | |
virtual std::vector< const TrackingRecHit * > | recHits () const |
virtual std::vector< TrackingRecHit * > | recHits () |
void | setError (LocalError err) |
Set local position error. More... | |
void | setPosition (LocalPoint pos) |
Set local position. More... | |
void | setPositionAndError (LocalPoint pos, LocalError err) |
Set the local position and its error. More... | |
float | tof () const |
virtual | ~ME0RecHit () |
Destructor. More... | |
Public Member Functions inherited from RecHit2DLocalPos | |
virtual int | dimension () const |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicSymMatrix | parametersError () const |
virtual AlgebraicMatrix | projectionMatrix () const |
RecHit2DLocalPos (DetId id) | |
RecHit2DLocalPos (TrackingRecHit::id_type id=0) | |
virtual | ~RecHit2DLocalPos () |
Public Member Functions inherited from TrackingRecHit | |
virtual bool | canImproveWithTrack () const |
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 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 (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
TrackingRecHit (DetId id, unsigned int rt, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, unsigned int rt, Type type=valid) | |
TrackingRecHit (const GeomDet &idet, TrackingRecHit const &rh) | |
virtual ConstRecHitContainer | transientHits () const |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Private Attributes | |
LocalError | theLocalError |
LocalPoint | theLocalPosition |
ME0DetId | theME0Id |
float | theTOF |
Additional Inherited Members | |
Public Types inherited from RecHit2DLocalPos | |
typedef GloballyPositioned< float >::LocalPoint | LocalPoint |
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 } |
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) |
ME0RecHit::ME0RecHit | ( | const ME0DetId & | me0Id, |
float | tof | ||
) |
Definition at line 13 of file ME0RecHit.cc.
ME0RecHit::ME0RecHit | ( | ) |
ME0RecHit::ME0RecHit | ( | const ME0DetId & | me0Id, |
float | tof, | ||
const LocalPoint & | pos | ||
) |
ME0RecHit::ME0RecHit | ( | const ME0DetId & | me0Id, |
float | tof, | ||
const LocalPoint & | pos, | ||
const LocalError & | err | ||
) |
Constructor from a local position and error, ME0Id and tof. The 3-dimensional local error is defined as resolution (the cell resolution) for the coordinate being measured and 0 for the two other coordinates
Definition at line 32 of file ME0RecHit.cc.
|
virtual |
|
virtual |
Implements RecHit2DLocalPos.
Definition at line 47 of file ME0RecHit.cc.
References ME0RecHit().
Referenced by ME0SegmentAlgorithm::buildSegments(), and localPositionError().
|
inlinevirtual |
Return the 3-dimensional local position.
Implements RecHit2DLocalPos.
Definition at line 47 of file ME0RecHit.h.
References theLocalPosition.
Referenced by FWME0RecHitProxyBuilder::buildViewType(), and operator<<().
|
inlinevirtual |
Return the 3-dimensional error on the local position.
Implements RecHit2DLocalPos.
Definition at line 53 of file ME0RecHit.h.
References clone(), recHits(), and theLocalError.
Referenced by FWME0RecHitProxyBuilder::buildViewType(), and operator<<().
|
inline |
Return the gemId.
Definition at line 91 of file ME0RecHit.h.
References theME0Id.
Referenced by FWME0RecHitProxyBuilder::buildViewType().
bool ME0RecHit::operator== | ( | const ME0RecHit & | hit | ) | const |
Comparison operator, based on the gemId and the digi time.
Definition at line 66 of file ME0RecHit.cc.
References TrackingRecHit::geographicalId().
Referenced by tof().
|
virtual |
Access to component RecHits. No components rechits: it returns a null vector
Reimplemented from RecHit2DLocalPos.
Definition at line 54 of file ME0RecHit.cc.
Referenced by localPositionError().
|
virtual |
Non-const access to component RecHits. No components rechits: it returns a null vector
Reimplemented from RecHit2DLocalPos.
Definition at line 60 of file ME0RecHit.cc.
|
inline |
|
inline |
Set local position.
Definition at line 72 of file ME0RecHit.h.
References theLocalPosition.
Referenced by ME0SegmentAlgorithm::buildSegments().
|
inline |
Set the local position and its error.
Definition at line 84 of file ME0RecHit.h.
References theLocalError, and theLocalPosition.
|
inline |
Definition at line 95 of file ME0RecHit.h.
References operator==(), and theTOF.
|
private |
Definition at line 107 of file ME0RecHit.h.
Referenced by localPositionError(), setError(), and setPositionAndError().
|
private |
Definition at line 106 of file ME0RecHit.h.
Referenced by localPosition(), setPosition(), and setPositionAndError().
|
private |
Definition at line 103 of file ME0RecHit.h.
Referenced by me0Id().
|
private |
Definition at line 104 of file ME0RecHit.h.
Referenced by tof().