7 SharedInputType what)
const
11 if (!sameDetModule(*other))
return false;
14 const SiStripMatchedRecHit2D* otherMatched =
static_cast<const SiStripMatchedRecHit2D*
>(other);
18 if (what==
all)
return false;
20 auto const & otherClus =
reinterpret_cast<const BaseTrackerRecHit *
>(other)->firstClusterRef();
21 return (otherClus==stereoClusterRef()) || (otherClus==monoClusterRef());
33 std::vector<const TrackingRecHit*>
34 SiStripMatchedRecHit2D::recHits()
const {
35 std::vector<const TrackingRecHit*>
rechits;
39 std::vector<TrackingRecHit*>
40 SiStripMatchedRecHit2D::recHits() {
41 std::vector<TrackingRecHit*>
rechits;
bool isMatched(TrackingRecHit const &hit)
bool sameCluster(OmniClusterRef const &oh) const
DetId geographicalId() const
bool sharesClusters(SiStripMatchedRecHit2D const &h1, SiStripMatchedRecHit2D const &h2, TrackingRecHit::SharedInputType what)