6 #ifndef HEPMC_SEARCH_FINDPARTICLES_H 7 #define HEPMC_SEARCH_FINDPARTICLES_H 18 #include "HepMC/Search/FilterList.h" 19 #include "HepMC/Data/SmartPointer.h" 93 return FindParticles(evt, filter_type, filter_list).results();
List of filters for the search engine.
bool passed_all_filters(const GenParticlePtr &p, FilterList &filter_list)
Check if particle passed all filters.
Smart pointer for HepMC objects.
FindParticles(const GenEvent &evt, FilterEvent filter_type, FilterList filter_list=FilterList())
GenEvent-based constructor.
const vector< GenParticlePtr > & results() const
Get results.
void narrow_down(FilterList filter_list)
Narrow down the results applying additional filters.
Stores event-related information.
vector< GenVertexPtr > m_checked_vertices
List of already checked vertices.
Search engine for GenEvent class.
FilterType
List of methods of searching through all particles in the event.
void recursive_check_descendants(const GenVertexPtr &v, FilterList &filter_list)
Check if all descendants passed the filter.
vector< GenParticlePtr > findParticles(const GenEvent &evt, FilterEvent filter_type, FilterList filter_list=FilterList())
Find from GenEvent.
void recursive_check_ancestors(const GenVertexPtr &v, FilterList &filter_list)
Check if all ancestors passed the filter.
Definition of template class SmartPointer.
vector< GenParticlePtr > m_results
List of results.
Relationship
List of methods of searching starting from a particle or vertex.