All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BaseFlashMatch.cxx
Go to the documentation of this file.
1 #ifndef OPT0FINDER_BASEFLASHMATCH_CXX
2 #define OPT0FINDER_BASEFLASHMATCH_CXX
3 
4 #include "BaseFlashMatch.h"
5 
6 namespace flashmatch {
7 
9  {
10  return _flash_hypothesis->GetEstimate(tpc);
11  }
12 
13  void BaseFlashMatch::FillEstimate(const QCluster_t& tpc, Flash_t& opdet) const
14  {
15  _flash_hypothesis->FillEstimate(tpc,opdet);
16  }
17 
19  {
20  _flash_hypothesis = alg;
21  }
22 
23 }
24 
25 #endif
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)
flashmatch::BaseFlashHypothesis * _flash_hypothesis
Flash_t GetEstimate(const QCluster_t &) const
Method to create flashmatch::Flash_t object and return.
void SetFlashHypothesis(flashmatch::BaseFlashHypothesis *)
void FillEstimate(const QCluster_t &, Flash_t &) const
Method to simply fill provided reference of flashmatch::Flash_t.
Class def header for a class BaseFlashMatch.
Flash_t GetEstimate(const QCluster_t &) const
Method to call flash hypothesis.