#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... | |
Public Member Functions inherited from flashmatch::BaseTPCFilter | |
BaseTPCFilter (const std::string name="noname") | |
Default constructor. More... | |
virtual | ~BaseTPCFilter () |
Default destructor. More... | |
Public Member Functions inherited from flashmatch::BaseAlgorithm | |
BaseAlgorithm (const Algorithm_t type, const std::string name) | |
Default constructor. More... | |
~BaseAlgorithm () | |
Default destructor. More... | |
void | Configure (const Config_t &pset) |
Function to accept configuration. More... | |
Algorithm_t | AlgorithmType () const |
Algorithm type. More... | |
const std::string & | AlgorithmName () const |
Algorithm name. More... | |
Public Member Functions inherited from flashmatch::LoggerFeature | |
LoggerFeature (const std::string logger_name="LoggerFeature") | |
Default constructor. More... | |
LoggerFeature (const LoggerFeature &original) | |
Default copy constructor. More... | |
virtual | ~LoggerFeature () |
Default destructor. More... | |
const flashmatch::logger & | logger () const |
Logger getter. More... | |
void | set_verbosity (::flashmatch::msg::Level_t level) |
Verbosity level. More... | |
const std::string & | name () const |
Name getter, defined in a logger instance attribute. 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 NPtFilter.h.
flashmatch::NPtFilter::NPtFilter | ( | const std::string | name = "NPtFilter" | ) |
Default constructor.
Definition at line 10 of file NPtFilter.cxx.
|
inline |
|
protectedvirtual |
Implements flashmatch::BaseAlgorithm.
Definition at line 14 of file NPtFilter.cxx.
|
virtual |
Implementation of virtualfunction.
Implements flashmatch::BaseTPCFilter.
Definition at line 19 of file NPtFilter.cxx.
|
inline |
set minimum number of point in TPC track
Definition at line 41 of file NPtFilter.h.
|
private |
mininum number of QPoint_t to pass the filter
Definition at line 49 of file NPtFilter.h.