1 #ifndef LARWIRECELL_COMPONENTS_MULTICHANNELNOISEDB
2 #define LARWIRECELL_COMPONENTS_MULTICHANNELNOISEDB
4 #include "WireCellIface/IChannelNoiseDatabase.h"
5 #include "WireCellIface/IConfigurable.h"
12 public WireCell::IConfigurable
23 virtual void visit(art::Event & event);
27 virtual void configure(
const WireCell::Configuration& cfg);
36 return m_pimpl->nominal_baseline(channel);
39 return m_pimpl->gain_correction(channel);
42 return m_pimpl->response_offset(channel);
45 return m_pimpl->min_rms_cut(channel);
48 return m_pimpl->max_rms_cut(channel);
51 return m_pimpl->pad_window_front(channel);
54 return m_pimpl->pad_window_back(channel);
57 return m_pimpl->coherent_nf_decon_limit(channel);
60 return m_pimpl->coherent_nf_decon_lf_cutoff(channel);
63 return m_pimpl->coherent_nf_adc_limit(channel);
66 return m_pimpl->coherent_nf_decon_limit1(channel);
69 return m_pimpl->coherent_nf_protection_factor(channel);
72 return m_pimpl->coherent_nf_min_adc_limit(channel);
75 return m_pimpl->coherent_nf_roi_min_max_ratio(channel);
77 virtual const filter_t&
rcrc(
int channel)
const {
80 virtual const filter_t&
config(
int channel)
const {
81 return m_pimpl->config(channel);
83 virtual const filter_t&
noise(
int channel)
const {
86 virtual const filter_t&
response(
int channel)
const {
87 return m_pimpl->response(channel);
90 return m_pimpl->coherent_channels();
96 return m_pimpl->miscfg_channels();
103 std::function<bool(art::Event& event)>
check;
104 WireCell::IChannelNoiseDatabase::pointer
chndb;
106 SubDB(std::function<
bool(art::Event& event)> f,
107 WireCell::IChannelNoiseDatabase::pointer d,
112 WireCell::IChannelNoiseDatabase::pointer
m_pimpl;
WireCell::IChannelNoiseDatabase::pointer m_pimpl
IArtEventVisitor::pointer visitor
virtual double min_rms_cut(int channel) const
virtual WireCell::Configuration default_configuration() const
IConfigurable.
IArtEventVisitor::pointer m_pimpl_visitor
virtual double response_offset(int channel) const
std::function< bool(art::Event &event)> check
virtual float coherent_nf_decon_limit1(int channel) const
virtual channel_group_t miscfg_channels() const
virtual double gain_correction(int channel) const
virtual const filter_t & rcrc(int channel) const
WireCell::IChannelNoiseDatabase::pointer chndb
virtual ~MultiChannelNoiseDB()
SubDB(std::function< bool(art::Event &event)> f, WireCell::IChannelNoiseDatabase::pointer d, IArtEventVisitor::pointer v)
virtual void configure(const WireCell::Configuration &cfg)
virtual float coherent_nf_min_adc_limit(int channel) const
virtual float coherent_nf_roi_min_max_ratio(int channel) const
virtual double max_rms_cut(int channel) const
virtual double nominal_baseline(int channel) const
virtual channel_group_t bad_channels() const
virtual int pad_window_front(int channel) const
std::vector< SubDB > rulelist_t
virtual int pad_window_back(int channel) const
virtual float coherent_nf_decon_lf_cutoff(int channel) const
virtual const filter_t & response(int channel) const
virtual const filter_t & noise(int channel) const
virtual std::vector< channel_group_t > coherent_channels() const
virtual float coherent_nf_adc_limit(int channel) const
virtual void visit(art::Event &event)
IArtEventVisitor.
virtual const filter_t & config(int channel) const
virtual float coherent_nf_decon_limit(int channel) const
virtual float coherent_nf_protection_factor(int channel) const
virtual double sample_time() const