#include <DTRecHit1D.h>
Public Member Functions | |
virtual DTRecHit1D * | clone () const |
float | digiTime () const |
Return the time (ns) of the digi used to build the rechit. More... | |
DTRecHit1D (const DTWireId &wireId, DTEnums::DTCellSide lr, float digiTime) | |
Constructor from wireId and digi time only. More... | |
DTRecHit1D () | |
Default constructor. More... | |
DTRecHit1D (const DTWireId &wireId, DTEnums::DTCellSide lr, float digiTime, const LocalPoint &pos) | |
DTRecHit1D (const DTWireId &wireId, DTEnums::DTCellSide lr, float digiTime, const LocalPoint &pos, const LocalError &err) | |
Constructor from a local position and error, wireId and digi time. More... | |
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... | |
DTEnums::DTCellSide | lrSide () const |
The side of the cell. More... | |
bool | operator== (const DTRecHit1D &hit) const |
Comparison operator, based on the wireId and the digi time. More... | |
virtual std::vector< const TrackingRecHit * > | recHits () const |
No components rechits: it returns a null vector. More... | |
virtual std::vector < TrackingRecHit * > | recHits () |
No components rechits: it returns a null vector. More... | |
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... | |
DTWireId | wireId () const |
Return the wireId. More... | |
virtual | ~DTRecHit1D () |
Destructor. More... | |
Public Member Functions inherited from RecHit1D | |
virtual int | dimension () const |
Return the RecHit dimension. More... | |
virtual AlgebraicVector | parameters () const |
Return just the x. More... | |
virtual AlgebraicSymMatrix | parametersError () const |
Return just "(sigma_x)^2". More... | |
virtual AlgebraicMatrix | projectionMatrix () const |
Return the projection matrix. More... | |
RecHit1D (DetId id) | |
RecHit1D (TrackingRecHit::id_type id=0) | |
virtual | ~RecHit1D () |
Destructor. More... | |
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 | |
float | theDigiTime |
LocalError | theLocalError |
LocalPoint | theLocalPosition |
DTEnums::DTCellSide | theLRSide |
DTWireId | theWireId |
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 } |
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) |
1D RecHit for Muon Barrel DT The main feature of muon Barrel RecHits is that they are created in pair, due to left/right ambiguity (the pair is described by
Definition at line 26 of file DTRecHit1D.h.
DTRecHit1D::DTRecHit1D | ( | const DTWireId & | wireId, |
DTEnums::DTCellSide | lr, | ||
float | digiTime | ||
) |
Constructor from wireId and digi time only.
Definition at line 15 of file DTRecHit1D.cc.
DTRecHit1D::DTRecHit1D | ( | ) |
DTRecHit1D::DTRecHit1D | ( | const DTWireId & | wireId, |
DTEnums::DTCellSide | lr, | ||
float | digiTime, | ||
const LocalPoint & | pos | ||
) |
Constructor from a local position, wireId and digi time. 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 37 of file DTRecHit1D.cc.
References theLocalError.
DTRecHit1D::DTRecHit1D | ( | const DTWireId & | wireId, |
DTEnums::DTCellSide | lr, | ||
float | digiTime, | ||
const LocalPoint & | pos, | ||
const LocalError & | err | ||
) |
Constructor from a local position and error, wireId and digi time.
Definition at line 54 of file DTRecHit1D.cc.
|
virtual |
|
virtual |
|
inline |
Return the time (ns) of the digi used to build the rechit.
Definition at line 113 of file DTRecHit1D.h.
References theDigiTime.
Referenced by DTRecHit1DPair::digiTime(), and operator==().
|
inlinevirtual |
Return the 3-dimensional local position.
Implements RecHit1D.
Definition at line 60 of file DTRecHit1D.h.
References theLocalPosition.
Referenced by FWDTRecHitProxyBuilder::buildViewType(), DTRecHitSegmentResidual::compute(), DTHitPairForFit::DTHitPairForFit(), DTRecHit1DPair::localPosition(), DTRecHit1DPair::localPositionError(), and operator<<().
|
inlinevirtual |
Return the 3-dimensional error on the local position.
Implements RecHit1D.
Definition at line 66 of file DTRecHit1D.h.
References theLocalError.
Referenced by DTHitPairForFit::DTHitPairForFit(), and operator<<().
|
inline |
bool DTRecHit1D::operator== | ( | const DTRecHit1D & | hit | ) | const |
Comparison operator, based on the wireId and the digi time.
Definition at line 97 of file DTRecHit1D.cc.
References digiTime(), and wireId().
|
virtual |
No components rechits: it returns a null vector.
Implements TrackingRecHit.
Definition at line 81 of file DTRecHit1D.cc.
|
virtual |
No components rechits: it returns a null vector.
Implements TrackingRecHit.
Definition at line 90 of file DTRecHit1D.cc.
|
inline |
Set local position error.
Definition at line 94 of file DTRecHit1D.h.
References theLocalError.
Referenced by DTRecHit1DPair::setPositionAndError().
|
inline |
Set local position.
Definition at line 88 of file DTRecHit1D.h.
References theLocalPosition.
Referenced by DTRecHit1DPair::setPosition(), and DTRecHit1DPair::setPositionAndError().
|
inline |
Set the local position and its error.
Definition at line 100 of file DTRecHit1D.h.
References theLocalError, and theLocalPosition.
|
inline |
Return the wireId.
Definition at line 107 of file DTRecHit1D.h.
References theWireId.
Referenced by DTRecHitSegmentResidual::compute(), operator==(), and DTRecHit1DPair::wireId().
|
private |
Definition at line 129 of file DTRecHit1D.h.
Referenced by digiTime().
|
private |
Definition at line 133 of file DTRecHit1D.h.
Referenced by DTRecHit1D(), localPositionError(), setError(), and setPositionAndError().
|
private |
Definition at line 132 of file DTRecHit1D.h.
Referenced by localPosition(), setPosition(), and setPositionAndError().
|
private |
Definition at line 126 of file DTRecHit1D.h.
Referenced by lrSide().
|
private |
Definition at line 123 of file DTRecHit1D.h.
Referenced by wireId().