9 const std::vector<std::pair<const TrackingRecHit*, float> >& aHitMap,
12 for (
std::vector<std::pair<const TrackingRecHit*, float> >::const_iterator ihit = aHitMap.begin();
13 ihit != aHitMap.end();
24 vector<const TrackingRecHit*> otherhits =
other->recHits();
28 for (vector<const TrackingRecHit*>::iterator otherhit = otherhits.begin(); otherhit != otherhits.end();
32 if ((
hit)->sharesInput(*otherhit,
all)) {
44 if (!otherhits.empty()) {
45 for (vector<const TrackingRecHit*>::iterator otherhit = otherhits.begin(); otherhit != otherhits.end();
47 if ((
hit)->sharesInput(*otherhit,
some))
60 vector<const TrackingRecHit*> myhits;
62 myhits.push_back(&*ihit);
71 int randomComponent = 0;
SharedInputType
definition of equality via shared input
BaseTrackerRecHit const * hit() const final
base const & data() const
edm::OwnVector< TrackingRecHit > theHits
std::vector< float > theWeights
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override
DetId geographicalId() const
void getKfComponents(KfComponentsHolder &holder) const override
void getKfComponents1D(KfComponentsHolder &holder) const
void getKfComponents2D(KfComponentsHolder &holder) const
int dimension() const override
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)