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))
51 if ((
hit)->sharesInput(other,
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
edm::OwnVector< TrackingRecHit > theHits
void getKfComponents2D(KfComponentsHolder &holder) const
virtual std::vector< const TrackingRecHit * > recHits() const =0
Access to component RecHits (if any)
std::vector< float > theWeights
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override
void getKfComponents(KfComponentsHolder &holder) const override
void getKfComponents1D(KfComponentsHolder &holder) const
base const & data() const
DetId geographicalId() const
int dimension() const override
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)