#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 (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... | |
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 (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, 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 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.
|
override |
|
overridevirtual |
Implements TrackingRecHit.
Definition at line 74 of file DTRecHit1D.cc.
References DTRecHit1D().
Referenced by localPositionError().
|
inline |
Return the time (ns) of the digi used to build the rechit.
Definition at line 113 of file DTRecHit1D.h.
References operator==(), and theDigiTime.
Referenced by DTHitAssociator::associateDTHitId(), DTLinearDriftFromDBAlgo::compute(), DTLinearDriftAlgo::compute(), DTNoDriftAlgo::compute(), DTRecHit1DPair::digiTime(), DTTMax::InfoLayer::InfoLayer(), operator==(), DTCombinatorialPatternReco4D::segmentSpecialZed(), and DTParametrizedDriftAlgo::setES().
|
inlineoverridevirtual |
Return the 3-dimensional local position.
Implements RecHit1D.
Definition at line 60 of file DTRecHit1D.h.
References theLocalPosition.
Referenced by FWDTRecHitProxyBuilder::buildViewType(), DTRecHitSegmentResidual::compute(), DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTHitPairForFit::DTHitPairForFit(), DTTMax::InfoLayer::InfoLayer(), DTRecHit1DPair::localPosition(), DTRecHit1DPair::localPositionError(), operator<<(), DTRecHit1DPair::operator==(), DTCalibValidationFromMuons::recHitDistFromWire(), DTCalibValidation::recHitDistFromWire(), DTRecHitQuality::recHitDistFromWire(), GlobalRecHitsAnalyzer::recHitDistFromWire(), GlobalRecHitsProducer::recHitDistFromWire(), DTCalibValidationFromMuons::recHitPosition(), DTCalibValidation::recHitPosition(), DTResidualCalibration::segmentToWireDistance(), and DTParametrizedDriftAlgo::setES().
|
inlineoverridevirtual |
Return the 3-dimensional error on the local position.
Implements RecHit1D.
Definition at line 66 of file DTRecHit1D.h.
References clone(), recHits(), and theLocalError.
Referenced by DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTHitPairForFit::DTHitPairForFit(), operator<<(), DTRecHit1DPair::operator==(), and DTRecHitQuality::recHitPositionError().
|
inline |
The side of the cell.
Definition at line 82 of file DTRecHit1D.h.
References theLRSide.
Referenced by DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTCombinatorialPatternReco4D::segmentSpecialZed(), and DTParametrizedDriftAlgo::setES().
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().
Referenced by digiTime().
|
overridevirtual |
No components rechits: it returns a null vector.
Implements TrackingRecHit.
Definition at line 81 of file DTRecHit1D.cc.
Referenced by localPositionError().
|
overridevirtual |
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.
Referenced by DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), and DTParametrizedDriftAlgo::setES().
|
inline |
Return the wireId.
Definition at line 107 of file DTRecHit1D.h.
References theWireId.
Referenced by DTHitAssociator::associateDTHitId(), DTHitAssociator::associateHit(), DTRecHitSegmentResidual::compute(), DTLinearDriftFromDBAlgo::compute(), DTLinearDriftAlgo::compute(), DTNoDriftAlgo::compute(), MuonAssociatorByHitsHelper::getMatchedIds(), DTCalibValidation::map1DRecHitsPerWire(), operator==(), DTCalibValidationFromMuons::recHitDistFromWire(), DTCalibValidation::recHitDistFromWire(), DTRecHitQuality::recHitDistFromWire(), GlobalRecHitsAnalyzer::recHitDistFromWire(), GlobalRecHitsProducer::recHitDistFromWire(), DTCombinatorialPatternReco4D::segmentSpecialZed(), DTResidualCalibration::segmentToWireDistance(), DTParametrizedDriftAlgo::setES(), 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().