14 #ifndef OPT0FINDER_BASEFLASHMATCH_H
15 #define OPT0FINDER_BASEFLASHMATCH_H
19 namespace flashmatch {
21 class FlashMatchManager;
64 virtual void SetTPCCryo(
int tpc,
int cryo) = 0;
Algorithm type to match flash hypothesis and reconstructed flash.
BaseFlashMatch(const std::string name="noname")
Default constructor.
Class def header for a class BaseAlgorithm.
int _cryo
The Cryostat number to use.
Struct to represent an optical flash.
Collection of charge deposition 3D point (cluster)
virtual void SetTPCCryo(int tpc, int cryo)=0
Sets the TPC and Cryo numbers.
flashmatch::BaseFlashHypothesis * _flash_hypothesis
int _tpc
The TPC number to use.
void SetFlashHypothesis(flashmatch::BaseFlashHypothesis *)
virtual FlashMatch_t Match(const QCluster_t &, const Flash_t &)=0
void FillEstimate(const QCluster_t &, Flash_t &) const
Method to simply fill provided reference of flashmatch::Flash_t.
virtual ~BaseFlashMatch()
Default destructor.
const std::string & name() const
Name getter, defined in a logger instance attribute.
Flash_t GetEstimate(const QCluster_t &) const
Method to call flash hypothesis.