18 theDigiTime(digiTime),
36 theDigiTime(digiTime),
37 theLocalPosition(
pos) {
38 float cellResolution = 0.02;
48 theDigiTime(digiTime),
49 theLocalPosition(
pos),
60 vector<const TrackingRecHit*> nullvector;
67 vector<TrackingRecHit*> nullvector;
78 os <<
"pos: " <<
hit.localPosition().
x();
79 os <<
" +/- " <<
sqrt(
hit.localPositionError().xx());
ostream & operator<<(ostream &os, const DTRecHit1D &hit)
DTCellSide
Which side of the DT cell.
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.
DTWireId wireId() const
Return the wireId.
bool operator==(const DTRecHit1D &hit) const
Comparison operator, based on the wireId and the digi time.
~DTRecHit1D() override
Destructor.