HepMC event record
|
Search engine for GenEvent class.
Definition at line 37 of file build/outputs/include/HepMC/Search/FindParticles.h.
#include <FindParticles.h>
Public Member Functions | |
FindParticles (const GenEvent &evt, FilterEvent filter_type, FilterList filter_list=FilterList()) | |
GenEvent-based constructor. More... | |
FindParticles (const GenParticlePtr &p, Relationship filter_type, FilterList filter_list=FilterList()) | |
GenParticle-based constructor. More... | |
FindParticles (const GenVertexPtr &v, Relationship filter_type, FilterList filter_list=FilterList()) | |
GenVertex-based constructor. More... | |
void | narrow_down (FilterList filter_list) |
Narrow down the results applying additional filters. More... | |
const vector< GenParticlePtr > & | results () const |
Get results. More... | |
FindParticles (const GenEvent &evt, FilterEvent filter_type, FilterList filter_list=FilterList()) | |
GenEvent-based constructor. More... | |
FindParticles (const GenParticlePtr &p, Relationship filter_type, FilterList filter_list=FilterList()) | |
GenParticle-based constructor. More... | |
FindParticles (const GenVertexPtr &v, Relationship filter_type, FilterList filter_list=FilterList()) | |
GenVertex-based constructor. More... | |
void | narrow_down (FilterList filter_list) |
Narrow down the results applying additional filters. More... | |
const vector< GenParticlePtr > & | results () const |
Get results. More... | |
Private Member Functions | |
bool | passed_all_filters (const GenParticlePtr &p, FilterList &filter_list) |
Check if particle passed all filters. More... | |
void | recursive_check_ancestors (const GenVertexPtr &v, FilterList &filter_list) |
Check if all ancestors passed the filter. More... | |
void | recursive_check_descendants (const GenVertexPtr &v, FilterList &filter_list) |
Check if all descendants passed the filter. More... | |
bool | passed_all_filters (const GenParticlePtr &p, FilterList &filter_list) |
Check if particle passed all filters. More... | |
void | recursive_check_ancestors (const GenVertexPtr &v, FilterList &filter_list) |
Check if all ancestors passed the filter. More... | |
void | recursive_check_descendants (const GenVertexPtr &v, FilterList &filter_list) |
Check if all descendants passed the filter. More... | |
Private Attributes | |
vector< GenParticlePtr > | m_results |
List of results. More... | |
vector< GenVertexPtr > | m_checked_vertices |
List of already checked vertices. More... | |
FindParticles | ( | const GenEvent & | evt, |
FilterEvent | filter_type, | ||
FilterList | filter_list = FilterList() |
||
) |
GenEvent-based constructor.
Definition at line 22 of file FindParticles.cc.
References FindParticles::m_results, GenEvent::particles(), and FindParticles::passed_all_filters().
FindParticles | ( | const GenParticlePtr & | p, |
Relationship | filter_type, | ||
FilterList | filter_list = FilterList() |
||
) |
GenParticle-based constructor.
Definition at line 37 of file FindParticles.cc.
References FindParticles::m_results, FindParticles::passed_all_filters(), FindParticles::recursive_check_ancestors(), and FindParticles::recursive_check_descendants().
FindParticles | ( | const GenVertexPtr & | v, |
Relationship | filter_type, | ||
FilterList | filter_list = FilterList() |
||
) |
GenVertex-based constructor.
Definition at line 84 of file FindParticles.cc.
References FindParticles::m_results, FindParticles::passed_all_filters(), FindParticles::recursive_check_ancestors(), and FindParticles::recursive_check_descendants().
FindParticles | ( | const GenEvent & | evt, |
FilterEvent | filter_type, | ||
FilterList | filter_list = FilterList() |
||
) |
GenEvent-based constructor.
FindParticles | ( | const GenParticlePtr & | p, |
Relationship | filter_type, | ||
FilterList | filter_list = FilterList() |
||
) |
GenParticle-based constructor.
FindParticles | ( | const GenVertexPtr & | v, |
Relationship | filter_type, | ||
FilterList | filter_list = FilterList() |
||
) |
GenVertex-based constructor.
void narrow_down | ( | FilterList | filter_list | ) |
Narrow down the results applying additional filters.
Definition at line 114 of file FindParticles.cc.
References FindParticles::m_results, and FindParticles::passed_all_filters().
void narrow_down | ( | FilterList | filter_list | ) |
Narrow down the results applying additional filters.
|
private |
Check if particle passed all filters.
Definition at line 136 of file FindParticles.cc.
References FilterList::filters(), and Filter::passed_filter().
|
private |
Check if particle passed all filters.
|
private |
Check if all ancestors passed the filter.
Recursively check all particles and production vertices of these particles
|
private |
Check if all ancestors passed the filter.
Recursively check all particles and production vertices of these particles
Definition at line 147 of file FindParticles.cc.
References FindParticles::m_checked_vertices, FindParticles::m_results, and FindParticles::passed_all_filters().
|
private |
Check if all descendants passed the filter.
Recursively check all particles and end vertices of these particles
|
private |
Check if all descendants passed the filter.
Recursively check all particles and end vertices of these particles
Definition at line 166 of file FindParticles.cc.
References FindParticles::m_checked_vertices, FindParticles::m_results, and FindParticles::passed_all_filters().
|
inline |
Get results.
Definition at line 77 of file include/HepMC/Search/FindParticles.h.
References FindParticles::m_results.
|
inline |
Get results.
Definition at line 77 of file build/outputs/include/HepMC/Search/FindParticles.h.
References FindParticles::m_results.
|
private |
List of already checked vertices.
Definition at line 84 of file build/outputs/include/HepMC/Search/FindParticles.h.
|
private |
List of results.
Definition at line 83 of file build/outputs/include/HepMC/Search/FindParticles.h.