4 #ifndef WIRECELLSIGPROC_MICROBOONE 5 #define WIRECELLSIGPROC_MICROBOONE 19 namespace Microboone {
101 const std::string& noisedb =
"OmniChannelNoiseDB");
124 double threshold = 3.5,
int window =5,
int nbins = 250,
double cut = 14);
136 bool ID_lf_noisy(
signal_t& sig)
const;
150 ADCBitShift(
int nbits = 12,
int exam_nticks = 500,
double threshold_sigma = 7.5,
151 double threshold_fix = 0.8);
std::vector< std::vector< int > > SignalProtection(WireCell::Waveform::realseq_t &sig, const WireCell::Waveform::compseq_t &respec, int res_offset, int pad_f, int pad_b, float upper_decon_limit=0.02, float decon_lf_cutoff=0.08, float upper_adc_limit=15, float protection_factor=5.0, float min_adc_limit=50)
virtual ~ConfigFilterBase()
bool SignalFilter(WireCell::Waveform::realseq_t &sig)
ConfigFilterBase(const std::string &anode="AnodePlane", const std::string &noisedb="OmniChannelNoiseDB")
Waveform::realseq_t signal_t
bool Subtract_WScaling(WireCell::IChannelFilter::channel_signals_t &chansig, const WireCell::Waveform::realseq_t &medians, const WireCell::Waveform::compseq_t &respec, int res_offset, std::vector< std::vector< int > > &rois, float upper_decon_limit1=0.08, float roi_min_max_ratio=0.8)
void set_channel_noisedb(WireCell::IChannelNoiseDatabase::pointer ndb)
bool Chirp_raise_baseline(WireCell::Waveform::realseq_t &sig, int bin1, int bin2)
IAnodePlane::pointer m_anode
std::shared_ptr< Interface > pointer
virtual void configure(const WireCell::Configuration &config)
IConfigurable configuration interface.
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
bool NoisyFilterAlg(WireCell::Waveform::realseq_t &spec, float min_rms, float max_rms)
bool RawAdapativeBaselineAlg(WireCell::Waveform::realseq_t &sig)
bool RemoveFilterFlags(WireCell::Waveform::realseq_t &sig)
IAnodePlane::pointer m_anode
Diagnostics::Chirp m_check_chirp
std::map< int, signal_t > channel_signals_t
Json::Value Configuration
IChannelNoiseDatabase::pointer m_noisedb
Diagnostics::Partial m_check_partial
float CalcRMSWithFlags(const WireCell::Waveform::realseq_t &sig)