7 #include "art/Framework/Services/Registry/ServiceHandle.h"
24 const std::vector<std::complex<double>>&
Filter()
const {
return fFilter;}
30 template <
class T>
void Convolute(std::vector<T>& func)
const;
33 template <
class T>
void Deconvolute(std::vector<T>& func)
const;
87 std::vector<std::complex<double>>
fFilter;
104 std::unique_ptr<util::LArFFTW>
fFFT;
void CalculateDeconvKernel() const
void AddFilterFunction(const std::vector< std::complex< double >> &filt)
void ShiftResponseTime(double ticks)
std::unique_ptr< util::LArFFTWPlan > fFFTPlan
const std::vector< double > & Response() const
then echo unknown compiler flag
std::vector< double > fResponse_save
const std::vector< std::complex< double > > & ConvKernel() const
void SetPeakResponseTime(double tick)
tick ticks
Alias for common language habits.
void AddResponseFunction(const std::vector< double > &resp, bool ResetResponse=false)
void LockResponse() const
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
const std::vector< double > & Response_save() const
std::vector< double > fResponse
std::unique_ptr< util::LArFFTW > fFFT
tick_as<> tick
Tick number, represented by std::ptrdiff_t.
void Deconvolute(std::vector< T > &func) const
int fDeconvKernelPolarity
std::vector< std::complex< double > > fConvKernel
void set_normflag(bool flag)
SignalShaper(int fftsize, std::string fftopt)
const std::vector< std::complex< double > > & Filter() const
const std::vector< std::complex< double > > & DeconvKernel() const
std::vector< std::complex< double > > fDeconvKernel
void SetDeconvKernelPolarity(int pol)
std::vector< std::complex< double > > fFilter
void Convolute(std::vector< T > &func) const