#include <NPtFilter.h>
Public Member Functions | |
NPtFilter (const std::string name="NPtFilter") | |
Default constructor. More... | |
~NPtFilter () | |
Default destructor. More... | |
IDArray_t | Filter (const QClusterArray_t &) |
Implementation of virtualfunction. More... | |
void | SetMinNumPoints (size_t n) |
set minimum number of point in TPC track More... | |
Protected Member Functions | |
void | _Configure_ (const Config_t &pset) |
Private Attributes | |
size_t | _min_num_pt |
mininum number of QPoint_t to pass the filter More... | |
Implementation of flashana::BaseTPCFilter abstract algorithm class.
It applies a very simple filtering: excludes TPC objects (flashana::QCluster_t)
that contains less than specified number of points.
Definition at line 27 of file arxiv/NPtFilter.h.
flashana::NPtFilter::NPtFilter | ( | const std::string | name = "NPtFilter" | ) |
Default constructor.
Definition at line 10 of file arxiv/NPtFilter.cxx.
|
inline |
|
protected |
Definition at line 14 of file arxiv/NPtFilter.cxx.
IDArray_t flashana::NPtFilter::Filter | ( | const QClusterArray_t & | tpc_obj_v | ) |
Implementation of virtualfunction.
Definition at line 19 of file arxiv/NPtFilter.cxx.
|
inline |
set minimum number of point in TPC track
Definition at line 41 of file arxiv/NPtFilter.h.
|
private |
mininum number of QPoint_t to pass the filter
Definition at line 49 of file arxiv/NPtFilter.h.