#include <TimeCompatMatch.h>
Public Member Functions | |
TimeCompatMatch (const std::string name="TimeCompatMatch") | |
Default constructor. More... | |
~TimeCompatMatch () | |
Default destructor. More... | |
bool | MatchCompatible (const QCluster_t &clus, const Flash_t &flash) |
CORE FUNCTION: determines if a flash and cluster are at all compatible (bool return) More... | |
Public Member Functions inherited from flashmatch::BaseProhibitAlgo | |
BaseProhibitAlgo (const std::string name="noname") | |
Default constructor. More... | |
virtual | ~BaseProhibitAlgo () |
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 | |
double | _time_buffer |
Buffer time to allow some uncertainty [us]. More... | |
Simple flash matching algorithm. Based on absolute time of flash and track w.r.t. trigger time, if the two objects are incompatible (because the time-difference is larger than a full drift window) the match is not allowed
Definition at line 44 of file TimeCompatMatch.h.
flashmatch::TimeCompatMatch::TimeCompatMatch | ( | const std::string | name = "TimeCompatMatch" | ) |
Default constructor.
Definition at line 14 of file TimeCompatMatch.cxx.
|
inline |
|
protectedvirtual |
Implements flashmatch::BaseAlgorithm.
Definition at line 18 of file TimeCompatMatch.cxx.
|
virtual |
CORE FUNCTION: determines if a flash and cluster are at all compatible (bool return)
Implements flashmatch::BaseProhibitAlgo.
Definition at line 23 of file TimeCompatMatch.cxx.
|
private |
Buffer time to allow some uncertainty [us].
Definition at line 63 of file TimeCompatMatch.h.