1 #ifndef RAWDIGITFFTALG_H
2 #define RAWDIGITFFTALG_H
24 #include "fhiclcpp/ParameterSet.h"
25 #include "art/Framework/Services/Registry/ServiceHandle.h"
26 #include "art_root_io/TFileService.h"
29 #include "icarus_signal_processing/WaveformTools.h"
32 #include <unsupported/Eigen/FFT>
56 art::ServiceHandle<art::TFileService>&);
64 std::vector<short>&,
size_t,
size_t,
float pedestal=0.);
Utilities related to art service access.
std::map< size_t, std::vector< std::complex< float > > > fFilterVecMap
std::vector< size_t > fLoWireByPlane
Low wire for individual wire histograms.
std::vector< TProfile * > fAveFFTPowerVec
std::vector< TProfile * > fFilterFuncVec
void filterFFT(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< short > &, size_t, size_t, float pedestal=0.)
icarus_signal_processing::WaveformTools< T > fWaveformTool
std::vector< size_t > fHiWireByPlane
Hi wire for individual wire histograms.
void getFFTCorrection(std::vector< T > &, double) const
std::vector< float > fPowerVec
bool fFillHistograms
if true then will fill diagnostic hists
std::vector< std::complex< float > > fFFTOutputVec
std::vector< std::vector< TProfile * > > fFFTPowerVec
void reconfigure(fhicl::ParameterSet const &pset)
void initializeHists(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, art::ServiceHandle< art::TFileService > &)
Begin job method.
std::unique_ptr< Eigen::FFT< float > > fEigenFFT
std::string fHistDirName
If writing histograms, the folder name.
~RawDigitFFTAlg()
Destructor.
Contains all timing reference information for the detector.
std::vector< bool > fTransformViewVec
apply FFT transform to this view
RawDigitFFTAlg(fhicl::ParameterSet const &pset)
std::vector< TProfile * > fConvFFTPowerVec
std::map< size_t, std::unique_ptr< icarus_tool::IFilter > > fFilterToolMap
process_name can override from command line with o or output caldata
std::vector< float > fFFTInputVec