14 #ifndef CHARGEANALYTICAL_H
15 #define CHARGEANALYTICAL_H
18 #define USING_LARSOFT 1
21 #if USING_LARSOFT == 0
36 namespace flashmatch {
Abstract base class for factory (to be implemented per flash)
~ChargeAnalyticalFactory()
dtor
fhicl::ParameterSet Config_t
Configuration object.
void add_factory(const std::string name, flashmatch::FlashHypothesisFactoryBase *factory)
Factory registration method (should be called by global factory instance in algorithm header) ...
Struct to represent an optical flash.
BaseFlashHypothesis * create(const std::string instance_name)
creation method
Class def header for a class FlashHypothesisFactory.
Class def header for a class BaseFlashFilter.
Collection of charge deposition 3D point (cluster)
void _Configure_(const Config_t &pset)
ChargeAnalyticalFactory()
ctor
double _global_qe
Global QE.
Class def header for exception classes in OpT0Finder package.
std::vector< double > _qe_v
PMT-wise relative QE.
ChargeAnalytical(const std::string name="ChargeAnalytical")
Default constructor.
~ChargeAnalytical()
Default destructor.
void FillEstimate(const QCluster_t &, Flash_t &) const
Method to simply fill provided reference of flashmatch::Flash_t.
static FlashHypothesisFactory & get()
Static sharable instance getter.
const std::string & name() const
Name getter, defined in a logger instance attribute.