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