4 std::vector<int>::iterator vecIter = vec.begin();
7 vecIter = vec.insert(vecIter, -3);
14 unsigned int nIgnoredPartons = 0;
17 vec.erase(vec.begin() + (i - nIgnoredPartons));
void prune(std::vector< const reco::Candidate * > &vec)
erase partons from vector if they where chosen to be ignored
std::vector< bool > ignorePartons_
flag partons that were chosen not to be used
void expand(std::vector< int > &vec)
insert dummy index -3 for all partons that were chosen to be ignored