10 for(std::vector<std::pair<const TrackingRecHit*, float> >::const_iterator ihit = aHitMap.begin(); ihit != aHitMap.end(); ihit++){
18 edm::LogError(
"SiTrackerMultiRecHit") <<
"You are requesting a the weight for a hit out of range, returning 0";
27 vector<const TrackingRecHit*> otherhits=other->
recHits();
30 for(vector<const TrackingRecHit*>::iterator otherhit=otherhits.begin();otherhit!=otherhits.end();++otherhit){
33 if((
hit)->sharesInput(*otherhit,
all)){
46 if(otherhits.size()!=0){
47 for(vector<const TrackingRecHit*>::iterator otherhit=otherhits.begin();otherhit!=otherhits.end();++otherhit){
48 if((
hit)->sharesInput(*otherhit,
some))
return true;
52 if((
hit)->sharesInput(other,
some))
return true;
61 vector<const TrackingRecHit*> myhits;
63 myhits.push_back(&*ihit);
SharedInputType
definition of equality via shared input
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const
virtual float weight() 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