1 #ifndef OPT0FINDER_NPTFILTER_CXX
2 #define OPT0FINDER_NPTFILTER_CXX
24 for(
ID_t id=0;
id<tpc_obj_v.size(); ++id) {
26 auto const& tpc_obj = tpc_obj_v[id];
29 if(tpc_obj.size() >=
_min_num_pt) res.push_back(
id);
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)...
fhicl::ParameterSet Config_t
IDArray_t Filter(const QClusterArray_t &)
Implementation of virtualfunction.
NPtFilter(const std::string name="NPtFilter")
Default constructor.
std::vector< flashmatch::ID_t > IDArray_t
Index collection.
size_t ID_t
Index used to identify Flash_t/QPointCollection_t uniquely in an event.
size_t _min_num_pt
mininum number of QPoint_t to pass the filter
static NPtFilterFactory __global_NPtFilterFactory__
void _Configure_(const Config_t &pset)