35 : theSlid(
id), thePairs(pairs) {}
40 const std::vector<DTRecHit1DPair>& pairs)
41 : theSlid(
id), thePos(
pos), thePosError(
err), thePairs(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;