58 #ifndef SIGNALSHAPING_H 59 #define SIGNALSHAPING_H 87 void Convolute(std::vector<T>& func)
const;
179 if (
int const n = func.size();
n != fft->
FFTSize())
180 throw cet::exception(
"SignalShaping") <<
"Bad time series size = " <<
n <<
"\n";
196 if (
int const n = func.size();
n != fft->
FFTSize())
197 throw cet::exception(
"SignalShaping") <<
"Bad time series size = " <<
n <<
"\n";
void set_normflag(bool flag)
const std::vector< double > & Response_save() const
void Deconvolute(std::vector< T > &func) const
Namespace for general, non-LArSoft-specific utilities.
std::vector< TComplex > fConvKernel
const std::vector< double > & Response() const
void AddResponseFunction(const std::vector< double > &resp, bool ResetResponse=false)
void LockResponse() const
std::vector< TComplex > fFilter
tick ticks
Alias for common language habits.
void Convolute(std::vector< T > &func) const
void CalculateDeconvKernel() const
int fDeconvKernelPolarity
void SetDeconvKernelPolarity(int pol)
tick_as<> tick
Tick number, represented by std::ptrdiff_t.
void Convolute(std::vector< T > &input, std::vector< T > &respFunc)
const std::vector< TComplex > & DeconvKernel() const
void ShiftResponseTime(double ticks)
std::vector< TComplex > fDeconvKernel
const std::vector< TComplex > & Filter() const
void SetPeakResponseTime(double tick)
std::vector< double > fResponse
std::vector< double > fResponse_save
const std::vector< TComplex > & ConvKernel() const
void AddFilterFunction(const std::vector< TComplex > &filt)
cet::coded_exception< error, detail::translate > exception