14 #ifndef OPT0FINDER_NPTFILTER_H
15 #define OPT0FINDER_NPTFILTER_H
20 namespace flashmatch {
std::vector< flashmatch::QCluster_t > QClusterArray_t
Collection of 3D point clusters (one use case is TPC object representation for track(s) and shower(s)...
size_t _min_num_pt
mininum number of QPoint_t to pass the filter
Class def header for a class TPCFilterFactory.
NPtFilter(const std::string name="NPtFilter")
Default constructor.
fhicl::ParameterSet Config_t
Configuration object.
IDArray_t Filter(const QClusterArray_t &)
Implementation of virtualfunction.
Class def header for a class BaseTPCFilter.
void _Configure_(const Config_t &pset)
~NPtFilter()
Default destructor.
BaseTPCFilter * create(const std::string instance_name)
creation method
std::vector< flashmatch::ID_t > IDArray_t
Index collection.
Abstract base class for factory (to be implemented per flash)
void SetMinNumPoints(size_t n)
set minimum number of point in TPC track
const std::string & name() const
Name getter, defined in a logger instance attribute.
void add_factory(const std::string name, flashmatch::TPCFilterFactoryBase *factory)
Factory registration method (should be called by global factory instance in algorithm header) ...
static TPCFilterFactory & get()
Static sharable instance getter.