35 : theSlid(id), thePairs(pairs) {}
40 const std::vector<DTRecHit1DPair>& pairs)
47 std::vector<const TrackingRecHit*> pointersOfRecHits;
49 for (std::vector<DTRecHit1DPair>::const_iterator rechit =
thePairs.begin(); rechit !=
thePairs.end(); rechit++)
50 pointersOfRecHits.push_back(&(*rechit));
52 return pointersOfRecHits;
56 std::vector<TrackingRecHit*> pointersOfRecHits;
58 for (std::vector<DTRecHit1DPair>::iterator rechit =
thePairs.begin(); rechit !=
thePairs.end(); rechit++)
59 pointersOfRecHits.push_back(&(*rechit));
61 return pointersOfRecHits;
std::vector< DTRecHit1DPair > thePairs
LocalPoint localPosition() const override
Local position.
ostream & operator<<(ostream &os, const DTSLRecCluster &clus)
static const AlgebraicMatrix theProjectionMatrix
CLHEP::HepMatrix AlgebraicMatrix
static AlgebraicMatrix initMatrix()
std::vector< const TrackingRecHit * > recHits() const override
return the hits
LocalError localPositionError() const override
Error on the local position.