14 #ifndef BASEFLASHHYPOTHESIS_H
15 #define BASEFLASHHYPOTHESIS_H
19 #if USING_LARSOFT == 1
23 namespace flashmatch {
53 #if USING_LARSOFT == 1
63 #if USING_LARSOFT == 1
BaseFlashHypothesis(const std::string name="noname")
Default constructor.
Algorithm type to make QCluster_t => Flash_t hypothesis.
Class def header for a class BaseAlgorithm.
virtual void FillEstimate(const QCluster_t &, Flash_t &) const =0
Method to simply fill provided reference of flashmatch::Flash_t.
Struct to represent an optical flash.
Collection of charge deposition 3D point (cluster)
std::vector< int > _uncoated_pmt_list
A list of opdet sensitive to visible (reflected) light.
Flash_t GetEstimate(const QCluster_t &) const
Method to create flashmatch::Flash_t object and return.
void SetUncoatedPMTs(std::vector< int > ch_uncoated)
Sets the channels sensitive to visible light.
void SetSemiAnalyticalModel(std::unique_ptr< SemiAnalyticalModel > model)
Sets the semi analytical model.
void SetChannelMask(std::vector< int > ch_mask)
Sets the channels to use.
std::unique_ptr< SemiAnalyticalModel > _semi_model
const std::string & name() const
Name getter, defined in a logger instance attribute.
std::vector< int > _channel_mask
The list of channels to use.
~BaseFlashHypothesis()
Default destructor.