Go to the documentation of this file. 1 #ifndef DTRecHit_DTRecHit1D_H
2 #define DTRecHit_DTRecHit1D_H
55 std::vector<const TrackingRecHit*>
recHits()
const override;
58 std::vector<TrackingRecHit*>
recHits()
override;
DTRecHit1D * clone() const override
bool operator==(const DTRecHit1D &hit) const
Comparison operator, based on the wireId and the digi time.
DTEnums::DTCellSide lrSide() const
The side of the cell.
DTEnums::DTCellSide theLRSide
LocalError localPositionError() const override
Return the 3-dimensional error on the local position.
LocalPoint theLocalPosition
void setPositionAndError(LocalPoint pos, LocalError err)
Set the local position and its error.
DTWireId wireId() const
Return the wireId.
~DTRecHit1D() override
Destructor.
LocalPoint localPosition() const override
Return the 3-dimensional local position.
float digiTime() const
Return the time (ns) of the digi used to build the rechit.
DTCellSide
Which side of the DT cell.
std::vector< const TrackingRecHit * > recHits() const override
No components rechits: it returns a null vector.
void setPosition(LocalPoint pos)
Set local position.
DTRecHit1D()
Default constructor.
std::ostream & operator<<(std::ostream &os, const DTRecHit1D &hit)
The ostream operator.
void setError(LocalError err)
Set local position error.