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