#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 | |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
Type | getType () const |
bool | isValid () const |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
virtual bool | sharesInput (const TrackingRecHit *other, SharedInputType what) const |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
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 unsigned int | id_type |
enum | SharedInputType { all, some } |
definition of equality via shared input More... | |
enum | Type { valid = 0, missing = 1, inactive = 2, bad = 3 } |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
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 28 of file DTRecHit1D.h.
DTRecHit1D::DTRecHit1D | ( | const DTWireId & | wireId, |
DTEnums::DTCellSide | lr, | ||
float | digiTime | ||
) |
Constructor from wireId and digi time only.
Definition at line 17 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 39 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 56 of file DTRecHit1D.cc.
|
virtual |
|
virtual |
|
inline |
Return the time (ns) of the digi used to build the rechit.
Definition at line 115 of file DTRecHit1D.h.
References theDigiTime.
Referenced by DTHitAssociator::associateDTHitId(), DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTRecHit1DPair::digiTime(), DTTMax::InfoLayer::InfoLayer(), operator==(), and DTCombinatorialPatternReco4D::segmentSpecialZed().
|
inlinevirtual |
Return the 3-dimensional local position.
Implements RecHit1D.
Definition at line 62 of file DTRecHit1D.h.
References theLocalPosition.
Referenced by FWDTRecHitProxyBuilder::buildViewType(), DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTHitPairForFit::DTHitPairForFit(), DTTMax::InfoLayer::InfoLayer(), DTRecHit1DPair::localPosition(), DTRecHit1DPair::localPositionError(), operator<<(), DTCalibValidation::recHitDistFromWire(), DTRecHitQuality::recHitDistFromWire(), GlobalRecHitsAnalyzer::recHitDistFromWire(), GlobalRecHitsProducer::recHitDistFromWire(), and DTCalibValidation::recHitPosition().
|
inlinevirtual |
Return the 3-dimensional error on the local position.
Implements RecHit1D.
Definition at line 68 of file DTRecHit1D.h.
References theLocalError.
Referenced by DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTHitPairForFit::DTHitPairForFit(), operator<<(), and DTRecHitQuality::recHitPositionError().
|
inline |
The side of the cell.
Definition at line 84 of file DTRecHit1D.h.
References theLRSide.
Referenced by DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), and DTCombinatorialPatternReco4D::segmentSpecialZed().
bool DTRecHit1D::operator== | ( | const DTRecHit1D & | hit | ) | const |
Comparison operator, based on the wireId and the digi time.
Definition at line 99 of file DTRecHit1D.cc.
References digiTime(), and wireId().
|
virtual |
No components rechits: it returns a null vector.
Implements TrackingRecHit.
Definition at line 83 of file DTRecHit1D.cc.
|
virtual |
No components rechits: it returns a null vector.
Implements TrackingRecHit.
Definition at line 92 of file DTRecHit1D.cc.
|
inline |
Set local position error.
Definition at line 96 of file DTRecHit1D.h.
References theLocalError.
Referenced by DTRecHit1DPair::setPositionAndError().
|
inline |
Set local position.
Definition at line 90 of file DTRecHit1D.h.
References pos, and theLocalPosition.
Referenced by DTRecHit1DPair::setPosition(), and DTRecHit1DPair::setPositionAndError().
|
inline |
Set the local position and its error.
Definition at line 102 of file DTRecHit1D.h.
References pos, theLocalError, and theLocalPosition.
Referenced by DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), and DTNoDriftAlgo::compute().
|
inline |
Return the wireId.
Definition at line 109 of file DTRecHit1D.h.
References theWireId.
Referenced by DTHitAssociator::associateDTHitId(), DTHitAssociator::associateHit(), DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), MuonAssociatorByHits::getMatchedIds(), DTRecHitQuality::map1DRecHitsPerWire(), DTCalibValidation::map1DRecHitsPerWire(), operator==(), DTCalibValidation::recHitDistFromWire(), DTRecHitQuality::recHitDistFromWire(), GlobalRecHitsAnalyzer::recHitDistFromWire(), GlobalRecHitsProducer::recHitDistFromWire(), DTCombinatorialPatternReco4D::segmentSpecialZed(), and DTRecHit1DPair::wireId().
|
private |
Definition at line 131 of file DTRecHit1D.h.
Referenced by digiTime().
|
private |
Definition at line 135 of file DTRecHit1D.h.
Referenced by DTRecHit1D(), localPositionError(), setError(), and setPositionAndError().
|
private |
Definition at line 134 of file DTRecHit1D.h.
Referenced by localPosition(), setPosition(), and setPositionAndError().
|
private |
Definition at line 128 of file DTRecHit1D.h.
Referenced by lrSide().
|
private |
Definition at line 125 of file DTRecHit1D.h.
Referenced by wireId().