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