12 for (boost::ptr_vector<ParticleFilter>::const_iterator it =
filters_.begin(); it !=
filters_.end(); ++it) {
13 if (! (*it)(cand, role) )
return false;
25 for (boost::ptr_vector<ParticleFilter>::const_iterator it =
filters_.begin(); it !=
filters_.end(); ++it) {
26 if ( (*it)(cand, role) )
return true;
32 pdgCode_(alsoAntiparticle ?
std::
abs(pdgCode) : pdgCode),
33 antiparticle_(alsoAntiparticle)
ByPdgId(int32_t pdgCode, bool alsoAntiparticle=true)
ByString(const std::string &cut)
bool operator()(const CandRefType &cand, const std::string &role) const override
boost::ptr_vector< ParticleFilter > filters_
Abs< T >::type abs(const T &t)
StringCutObjectSelector< reco::Candidate > sel_
bool operator()(const CandRefType &cand, const std::string &role) const override
boost::ptr_vector< ParticleFilter > filters_
bool operator()(const CandRefType &cand, const std::string &role) const override
bool operator()(const CandRefType &cand, const std::string &role) const override