1 #ifndef PhysicsTools_PatUtils_interface_EventHypothesisTools_h 2 #define PhysicsTools_PatUtils_interface_EventHypothesisTools_h 11 namespace eventhypothesis {
26 std::vector<std::unique_ptr<ParticleFilter>>
filters_;
42 std::vector<std::unique_ptr<ParticleFilter>>
filters_;
47 explicit ByPdgId(int32_t pdgCode,
bool alsoAntiparticle =
true);
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
OrFilter & operator &=(ParticleFilter *filter)
bool operator()(const CandRefType &cand, const std::string &role) const override
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
AndFilter & operator &=(ParticleFilter *filter)