#include <ME0RecHit.h>
Public Member Functions | |
ME0RecHit * | clone () const override |
LocalPoint | localPosition () const override |
Return the 3-dimensional local position. More... | |
LocalError | localPositionError () const override |
Return the 3-dimensional error on the local position. More... | |
ME0DetId | me0Id () const |
Return the gemId. More... | |
ME0RecHit () | |
Default constructor. More... | |
ME0RecHit (const ME0DetId &me0Id, float tof) | |
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... | |
std::vector< const TrackingRecHit * > | recHits () const override |
std::vector< TrackingRecHit * > | recHits () override |
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 |
~ME0RecHit () override | |
Destructor. More... | |
Public Member Functions inherited from RecHit2DLocalPos | |
int | dimension () const override |
AlgebraicVector | parameters () const override |
AlgebraicSymMatrix | parametersError () const override |
AlgebraicMatrix | projectionMatrix () const override |
RecHit2DLocalPos (DetId id) | |
RecHit2DLocalPos (TrackingRecHit::id_type id=0) | |
std::vector< const TrackingRecHit * > | recHits () const override |
Access to component RecHits (if any) More... | |
std::vector< TrackingRecHit * > | recHits () override |
Non-const access to component RecHits (if any) More... | |
~RecHit2DLocalPos () override | |
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 (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 () |
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, 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) |
ME0RecHit::ME0RecHit | ( | const ME0DetId & | me0Id, |
float | tof | ||
) |
Definition at line 11 of file ME0RecHit.cc.
ME0RecHit::ME0RecHit | ( | ) |
ME0RecHit::ME0RecHit | ( | const ME0DetId & | me0Id, |
float | tof, | ||
const LocalPoint & | pos | ||
) |
Constructor from a local position, ME0Id and digi time.
Definition at line 16 of file ME0RecHit.cc.
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 20 of file ME0RecHit.cc.
|
override |
|
overridevirtual |
Implements RecHit2DLocalPos.
Definition at line 26 of file ME0RecHit.cc.
References ME0RecHit().
Referenced by ME0SegmentAlgorithm::buildSegments(), and ME0SegAlgoRU::makeFit().
|
inlineoverridevirtual |
Return the 3-dimensional local position.
Implements RecHit2DLocalPos.
Definition at line 36 of file ME0RecHit.h.
References theLocalPosition.
Referenced by FWME0RecHitProxyBuilder::buildViewType().
|
inlineoverridevirtual |
Return the 3-dimensional error on the local position.
Implements RecHit2DLocalPos.
Definition at line 39 of file ME0RecHit.h.
References theLocalError.
Referenced by FWME0RecHitProxyBuilder::buildViewType().
|
inline |
Return the gemId.
Definition at line 64 of file ME0RecHit.h.
References theME0Id.
Referenced by FWME0RecHitProxyBuilder::buildViewType(), and ME0TriggerPseudoBuilder::dumpAllME0Segments().
bool ME0RecHit::operator== | ( | const ME0RecHit & | hit | ) | const |
Comparison operator, based on the gemId and the digi time.
Definition at line 42 of file ME0RecHit.cc.
References TrackingRecHit::geographicalId().
|
overridevirtual |
Access to component RecHits. No components rechits: it returns a null vector
Implements TrackingRecHit.
Definition at line 30 of file ME0RecHit.cc.
|
overridevirtual |
Non-const access to component RecHits. No components rechits: it returns a null vector
Implements TrackingRecHit.
Definition at line 36 of file ME0RecHit.cc.
|
inline |
Set local position error.
Definition at line 55 of file ME0RecHit.h.
References runTheMatrix::err, and theLocalError.
|
inline |
Set local position.
Definition at line 52 of file ME0RecHit.h.
References theLocalPosition.
Referenced by ME0SegmentAlgorithm::buildSegments(), and ME0SegAlgoRU::makeFit().
|
inline |
Set the local position and its error.
Definition at line 58 of file ME0RecHit.h.
References runTheMatrix::err, theLocalError, and theLocalPosition.
|
inline |
Definition at line 66 of file ME0RecHit.h.
References theTOF.
Referenced by ME0SegAlgoRU::compareProtoSegment().
|
private |
Definition at line 76 of file ME0RecHit.h.
Referenced by localPositionError(), setError(), and setPositionAndError().
|
private |
Definition at line 75 of file ME0RecHit.h.
Referenced by localPosition(), setPosition(), and setPositionAndError().
|
private |
Definition at line 72 of file ME0RecHit.h.
Referenced by me0Id().
|
private |
Definition at line 73 of file ME0RecHit.h.
Referenced by tof().