#include <DTRecHit1D.h>
Public Member Functions | |
DTRecHit1D * | clone () const override |
float | digiTime () const |
Return the time (ns) of the digi used to build the rechit. More... | |
DTRecHit1D () | |
Default constructor. More... | |
DTRecHit1D (const DTWireId &wireId, DTEnums::DTCellSide lr, float digiTime) | |
Constructor from wireId and digi time only. 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... | |
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... | |
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... | |
std::vector< const TrackingRecHit * > | recHits () const override |
No components rechits: it returns a null vector. More... | |
std::vector< TrackingRecHit * > | recHits () override |
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... | |
~DTRecHit1D () override | |
Destructor. More... | |
Public Member Functions inherited from RecHit1D | |
int | dimension () const override |
Return the RecHit dimension. 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 |
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 | |
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, 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) |
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 25 of file DTRecHit1D.h.
DTRecHit1D::DTRecHit1D | ( | const DTWireId & | wireId, |
DTEnums::DTCellSide | lr, | ||
float | digiTime | ||
) |
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 29 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 43 of file DTRecHit1D.cc.
|
override |
|
overridevirtual |
|
inline |
Return the time (ns) of the digi used to build the rechit.
Definition at line 79 of file DTRecHit1D.h.
References theDigiTime.
Referenced by DTLinearDriftFromDBAlgo::compute(), DTLinearDriftAlgo::compute(), DTNoDriftAlgo::compute(), DTRecHit1DPair::digiTime(), DTTMax::InfoLayer::InfoLayer(), operator==(), and DTCombinatorialPatternReco4D::segmentSpecialZed().
|
inlineoverridevirtual |
Return the 3-dimensional local position.
Implements RecHit1D.
Definition at line 47 of file DTRecHit1D.h.
References theLocalPosition.
Referenced by FWDTRecHitProxyBuilder::buildViewType(), DTRecHitSegmentResidual::compute(), DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTParametrizedDriftAlgo::compute(), DTHitPairForFit::DTHitPairForFit(), DTTMax::InfoLayer::InfoLayer(), DTRecHit1DPair::localPosition(), DTRecHit1DPair::localPositionError(), and DTResidualCalibration::segmentToWireDistance().
|
inlineoverridevirtual |
Return the 3-dimensional error on the local position.
Implements RecHit1D.
Definition at line 50 of file DTRecHit1D.h.
References theLocalError.
Referenced by DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), and DTHitPairForFit::DTHitPairForFit().
|
inline |
The side of the cell.
Definition at line 61 of file DTRecHit1D.h.
References theLRSide.
Referenced by DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTParametrizedDriftAlgo::compute(), and DTCombinatorialPatternReco4D::segmentSpecialZed().
bool DTRecHit1D::operator== | ( | const DTRecHit1D & | hit | ) | const |
Comparison operator, based on the wireId and the digi time.
Definition at line 72 of file DTRecHit1D.cc.
References digiTime(), and wireId().
|
overridevirtual |
No components rechits: it returns a null vector.
Implements TrackingRecHit.
Definition at line 59 of file DTRecHit1D.cc.
|
overridevirtual |
No components rechits: it returns a null vector.
Implements TrackingRecHit.
Definition at line 66 of file DTRecHit1D.cc.
|
inline |
Set local position error.
Definition at line 67 of file DTRecHit1D.h.
References runTheMatrix::err, and theLocalError.
Referenced by DTRecHit1DPair::setPositionAndError().
|
inline |
Set local position.
Definition at line 64 of file DTRecHit1D.h.
References theLocalPosition.
Referenced by DTRecHit1DPair::setPosition(), and DTRecHit1DPair::setPositionAndError().
|
inline |
Set the local position and its error.
Definition at line 70 of file DTRecHit1D.h.
References runTheMatrix::err, theLocalError, and theLocalPosition.
Referenced by DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), and DTParametrizedDriftAlgo::compute().
|
inline |
Return the wireId.
Definition at line 76 of file DTRecHit1D.h.
References theWireId.
Referenced by DTRecHitSegmentResidual::compute(), DTLinearDriftFromDBAlgo::compute(), DTLinearDriftAlgo::compute(), DTNoDriftAlgo::compute(), DTCalibValidation::map1DRecHitsPerWire(), operator==(), DTCombinatorialPatternReco4D::segmentSpecialZed(), DTResidualCalibration::segmentToWireDistance(), and DTRecHit1DPair::wireId().
|
private |
Definition at line 92 of file DTRecHit1D.h.
Referenced by digiTime().
|
private |
Definition at line 96 of file DTRecHit1D.h.
Referenced by DTRecHit1D(), localPositionError(), setError(), and setPositionAndError().
|
private |
Definition at line 95 of file DTRecHit1D.h.
Referenced by localPosition(), setPosition(), and setPositionAndError().
|
private |
Definition at line 89 of file DTRecHit1D.h.
Referenced by lrSide().
|
private |
Definition at line 86 of file DTRecHit1D.h.
Referenced by wireId().