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