Classes | |
class | less_z |
class | greater_z |
class | closestToZ |
class | closestToPlane |
class | orderByZ |
class | increasingByZ |
class | decreasingByZ |
class | HasKey |
Functions | |
template<class T> | |
void | deleteFromList (std::vector< T * > &List, T *value) |
template<class T> | |
unsigned int | nMeasurements (const Track &track, T &pred) |
Eduardo Rodrigues (adaptations)
|
Definition at line 156 of file TrackFunctor.h. 00157 { 00158 typename std::vector<T*>::iterator it; 00159 it = std::remove(List.begin(), List.end(), value ); 00160 delete *it; 00161 List.erase( it, List.end() ); 00162 }
|
|
Definition at line 165 of file TrackFunctor.h. Referenced by TrueTracksCreator::execute(), TrFitTrack2TrackCnv::execute(), and Track2TrFitTrackCnv::execute(). 00166 { 00167 const std::vector<LHCbID>& ids = track.lhcbIDs(); 00168 return std::count_if(ids.begin(),ids.end(),pred); 00169 }
|