1 #ifndef SIMPLEFLASHALGO_H
2 #define SIMPLEFLASHALGO_H
23 bool Veto(
double t)
const;
bool Veto(double t) const
FlashAlgoBase * create(const std::string instance_name)
creation method
~SimpleFlashAlgoFactory()
dtor
SimpleFlashAlgo(const std::string name)
void add_factory(const std::string name, lightana::FlashAlgoFactoryBase *factory)
Factory registration method (should be called by global factory instance in algorithm header) ...
const double TimeRes() const
LiteOpFlashArray_t RecoFlash(const LiteOpHitArray_t ophits)
std::vector< lightana::LiteOpFlash_t > LiteOpFlashArray_t
std::vector< lightana::LiteOpHit_t > LiteOpHitArray_t
SimpleFlashAlgoFactory()
ctor
A concrete factory class for lightana::SimpleFlashAlgo.
std::vector< int > _opch_to_index_v
std::vector< double > _pesum_v
virtual ~SimpleFlashAlgo()
const std::vector< double > & PESumArray() const
static FlashAlgoFactory & get()
Static sharable instance getter.
std::vector< double > _pe_baseline_v
std::vector< int > _index_to_opch_v
double TotalCharge(const std::vector< double > &PEs)
std::map< double, double > _flash_veto_range_m
void Configure(const Config_t &p)
fhicl::ParameterSet Config_t