8 const std::vector< std::pair<const TrackingRecHit*, float> >& aHitMap):
11 for(std::vector<std::pair<const TrackingRecHit*, float> >::const_iterator ihit = aHitMap.begin(); ihit != aHitMap.end(); ihit++){
22 vector<const TrackingRecHit*> otherhits=other->
recHits();
25 for(vector<const TrackingRecHit*>::iterator otherhit=otherhits.begin();otherhit!=otherhits.end();++otherhit){
28 if((
hit)->sharesInput(*otherhit,
all)){
41 if(otherhits.size()!=0){
42 for(vector<const TrackingRecHit*>::iterator otherhit=otherhits.begin();otherhit!=otherhits.end();++otherhit){
43 if((
hit)->sharesInput(*otherhit,
some))
return true;
47 if((
hit)->sharesInput(other,
some))
return true;
56 vector<const TrackingRecHit*> myhits;
58 myhits.push_back(&*ihit);
SharedInputType
definition of equality via shared input
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const
BaseTrackerRecHit const * hit() const
edm::OwnVector< TrackingRecHit > theHits
virtual std::vector< const TrackingRecHit * > recHits() const
Access to component RecHits (if any)
virtual std::vector< const TrackingRecHit * > recHits() const =0
Access to component RecHits (if any)
std::vector< float > theWeights
base const & data() const
DetId geographicalId() const