1 #ifndef PhysicsTools_PatUtils_interface_EventHypothesisTools_h
2 #define PhysicsTools_PatUtils_interface_EventHypothesisTools_h
4 #include "boost/ptr_container/ptr_vector.hpp"
8 namespace pat {
namespace eventhypothesis {
36 explicit ByPdgId(int32_t pdgCode,
bool alsoAntiparticle=
true) ;
virtual bool operator()(const CandRefType &cand, const std::string &role) const
ByPdgId(int32_t pdgCode, bool alsoAntiparticle=true)
AndFilter & operator&=(ParticleFilter *filter)
virtual bool operator()(const CandRefType &cand, const std::string &role) const
ByString(const std::string &cut)
virtual bool operator()(const CandRefType &cand, const std::string &role) const
boost::ptr_vector< ParticleFilter > filters_
OrFilter & operator&=(ParticleFilter *filter)
StringCutObjectSelector< reco::Candidate > sel_
virtual bool operator()(const CandRefType &cand, const std::string &role) const
boost::ptr_vector< ParticleFilter > filters_