13 if (!(*it)(
cand, role))
26 if ((*it)(
cand, role))
33 : pdgCode_(alsoAntiparticle ?
std::
abs(pdgCode) : pdgCode), antiparticle_(alsoAntiparticle) {}
ByPdgId(int32_t pdgCode, bool alsoAntiparticle=true)
std::vector< std::unique_ptr< ParticleFilter > > filters_
ByString(const std::string &cut)
bool operator()(const CandRefType &cand, const std::string &role) const override
bool operator()(const CandRefType &cand, const std::string &role) const override
Abs< T >::type abs(const T &t)
StringCutObjectSelector< reco::Candidate > sel_
bool operator()(const CandRefType &cand, const std::string &role) const override
std::vector< std::unique_ptr< ParticleFilter > > filters_
bool operator()(const CandRefType &cand, const std::string &role) const override