CMS 3D CMS Logo

FTLTrackingRecHit.cc
Go to the documentation of this file.
2 
3 template<>
4 bool FTLTrackingRecHit<FTLRecHitRef>::sharesInput( const TrackingRecHit* other, SharedInputType what) const
5 {
6  if (typeid(*other) == typeid(FTLTrackingRecHit<FTLRecHitRef>)) {
7  return objRef() == (static_cast<const FTLTrackingRecHit<FTLRecHitRef> *>(other))->objRef();
8  } else {
9  return false;
10  }
11 }
const ObjRef & objRef() const
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override