All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BaseProhibitAlgo.h
Go to the documentation of this file.
1 /**
2  * \file BaseProhibitAlgo.h
3  *
4  * \ingroup Base
5  *
6  * \brief Class def header for a class BaseProhibitAlgo
7  *
8  * @author david caratelli
9  */
10 
11 /** \addtogroup Base
12 
13  @{*/
14 #ifndef OPT0FINDER_BASEPROHIBITALGO_H
15 #define OPT0FINDER_BASEPROHIBITALGO_H
16 
17 #include "BaseAlgorithm.h"
18 
19 namespace flashmatch {
20  /**
21  \class BaseProhibitAlgo
22  Algorithm base class for prohibiting the match
23  between a charge cluster and a flash \n
24  */
26 
27  public:
28 
29  /// Default constructor
30  BaseProhibitAlgo(const std::string name="noname") : BaseAlgorithm(kMatchProhibit,name)
31  {}
32 
33  /// Default destructor
34  virtual ~BaseProhibitAlgo(){}
35 
36  /**
37  * @brief CORE FUNCTION: determines if a flash and cluster are at all compatible (bool return)
38  */
39  virtual bool MatchCompatible(const QCluster_t& clus, const Flash_t& flash) = 0;
40 
41  };
42 }
43 
44 #endif
45 /** @} */ // end of doxygen group
46 
BaseProhibitAlgo(const std::string name="noname")
Default constructor.
virtual bool MatchCompatible(const QCluster_t &clus, const Flash_t &flash)=0
CORE FUNCTION: determines if a flash and cluster are at all compatible (bool return) ...
Class def header for a class BaseAlgorithm.
Struct to represent an optical flash.
virtual ~BaseProhibitAlgo()
Default destructor.
Collection of charge deposition 3D point (cluster)
Algorithm type to prohibit a match between a flash and a cluster.
const std::string & name() const
Name getter, defined in a logger instance attribute.
Definition: LoggerFeature.h:51