All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BaseTPCFilter.h
Go to the documentation of this file.
1 /**
2  * \file BaseTPCFilter.h
3  *
4  * \ingroup Base
5  *
6  * \brief Class def header for a class BaseTPCFilter
7  *
8  * @author kazuhiro
9  */
10 
11 /** \addtogroup Base
12 
13  @{*/
14 #ifndef OPT0FINDER_BASETPCFILTER_H
15 #define OPT0FINDER_BASETPCFILTER_H
16 
17 #include "BaseAlgorithm.h"
18 
19 namespace flashmatch {
20  /**
21  \class BaseTPCFilter
22  Algorithm base class for filtering out optical TPC objects from a candidate list \n
23  to be matched with TPC object.
24  */
25  class BaseTPCFilter : public BaseAlgorithm{
26 
27  public:
28 
29  /// Default constructor
30  BaseTPCFilter(const std::string name="noname") : BaseAlgorithm(kTPCFilter,name)
31  {}
32 
33  /// Default destructor
34  virtual ~BaseTPCFilter(){}
35 
36  /**
37  CORE FUNCTION: takes in a list of TPC objects and returns a list of TPC object TO BE USED for matching. \n
38  */
39  virtual IDArray_t Filter(const QClusterArray_t&) = 0;
40 
41  };
42 }
43 
44 #endif
45 /** @} */ // end of doxygen group
46 
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)...
virtual IDArray_t Filter(const QClusterArray_t &)=0
Algorithm type to filter out TPC objects from matching candidate list.
Class def header for a class BaseAlgorithm.
BaseTPCFilter(const std::string name="noname")
Default constructor.
Definition: BaseTPCFilter.h:30
virtual ~BaseTPCFilter()
Default destructor.
Definition: BaseTPCFilter.h:34
std::vector< flashmatch::ID_t > IDArray_t
Index collection.
const std::string & name() const
Name getter, defined in a logger instance attribute.
Definition: LoggerFeature.h:51