#include <PdspNoiseRemoval.h>
Public Member Functions | |
PdspNoiseRemoval (fhicl::ParameterSet const &ps) | |
~PdspNoiseRemoval () override=default | |
DataMap | updateMap (AdcChannelDataMap &acds) const override |
Private Member Functions | |
std::vector< float > | getMeanCorrection (const std::vector< unsigned int > &channels, const AdcChannelDataMap &datamap) const |
std::vector< float > | getMedianCorrection (const std::vector< unsigned int > &channels, const AdcChannelDataMap &datamap) const |
void | removeCoherent (const GroupChannelMap &ch_groups, AdcChannelDataMap &datamap) const |
void | removeHighFreq (AdcChannelDataMap &datamap) const |
void | fftFltInPlace (std::vector< float > &adc, const std::vector< float > &coeffs) const |
std::vector< float > | fftFlt (const std::vector< float > &adc, const std::vector< float > &coeffs) const |
std::vector< bool > | roiMask (const AdcChannelData &adc) const |
GroupChannelMap | makeGroupsByOfflineChannels (size_t gsize, const std::vector< size_t > &gidx) const |
GroupChannelMap | makeGroupsByDAQChannels (size_t gsize, const std::vector< size_t > &gidx) const |
GroupChannelMap | makeGroupsByFEMBPlaneType (size_t gsize, const std::vector< size_t > &gidx) const |
bool | has (const std::vector< size_t > &v, size_t idx) const |
Private Member Functions inherited from TpcDataTool | |
virtual DataMap | updateTpcData (TpcData &) const |
virtual DataMap | viewTpcData (const TpcData &) const |
virtual int | forwardTpcData () const |
Private Member Functions inherited from AdcChannelTool | |
virtual | ~AdcChannelTool ()=default |
virtual DataMap | update (AdcChannelData &) const |
virtual DataMap | view (const AdcChannelData &acd) const |
virtual DataMap | viewMap (const AdcChannelDataMap &acds) const |
virtual bool | updateWithView () const |
virtual bool | viewWithUpdate () const |
virtual DataMap | beginEvent (const DuneEventInfo &) const |
virtual DataMap | endEvent (const DuneEventInfo &) const |
virtual DataMap | close (const DataMap *dmin=nullptr) |
Static Private Member Functions | |
static size_t | getDAQChan (size_t LAr_chan) |
Static Private Member Functions inherited from AdcChannelTool | |
static int | interfaceNotImplemented () |
Private Attributes | |
int | m_LogLevel |
bool | fRemoveHighFrequency |
bool | fRemoveCoherent |
bool | fCoherentOffline16 |
bool | fCoherentDaq8 |
bool | fCoherentDaq16 |
bool | fCoherentFEMB128 |
std::vector< size_t > | fCoherentOffline16Groups |
std::vector< size_t > | fCoherentDaq8Groups |
std::vector< size_t > | fCoherentDaq16Groups |
std::vector< size_t > | fCoherentFEMB128Groups |
std::vector< float > | fLowPassCoeffs |
int | fMode |
bool | fUseBasicROIForCNR |
float | fRoiStartThreshold |
float | fRoiEndThreshold |
int | fRoiPadLow |
int | fRoiPadHigh |
float | fCutoffFrequency |
const geo::Geometry * | fGeometry |
util::LArFFT * | fFFT |
Additional Inherited Members | |
Private Types inherited from AdcChannelTool | |
using | Index = unsigned int |
Definition at line 53 of file PdspNoiseRemoval.h.
PdspNoiseRemoval::PdspNoiseRemoval | ( | fhicl::ParameterSet const & | ps | ) |
Definition at line 56 of file PdspNoiseRemoval_tool.cc.
|
overridedefault |
|
private |
Definition at line 194 of file PdspNoiseRemoval_tool.cc.
|
private |
Definition at line 178 of file PdspNoiseRemoval_tool.cc.
|
staticprivate |
Definition at line 396 of file PdspNoiseRemoval_tool.cc.
|
private |
Definition at line 294 of file PdspNoiseRemoval_tool.cc.
|
private |
Definition at line 333 of file PdspNoiseRemoval_tool.cc.
|
inlineprivate |
Definition at line 104 of file PdspNoiseRemoval.h.
|
private |
Definition at line 224 of file PdspNoiseRemoval_tool.cc.
|
private |
Definition at line 240 of file PdspNoiseRemoval_tool.cc.
|
private |
Definition at line 210 of file PdspNoiseRemoval_tool.cc.
|
private |
Definition at line 267 of file PdspNoiseRemoval_tool.cc.
|
private |
Definition at line 167 of file PdspNoiseRemoval_tool.cc.
|
private |
Definition at line 371 of file PdspNoiseRemoval_tool.cc.
|
overridevirtual |
Reimplemented from AdcChannelTool.
Definition at line 131 of file PdspNoiseRemoval_tool.cc.
|
private |
Definition at line 65 of file PdspNoiseRemoval.h.
|
private |
Definition at line 68 of file PdspNoiseRemoval.h.
|
private |
Definition at line 65 of file PdspNoiseRemoval.h.
|
private |
Definition at line 67 of file PdspNoiseRemoval.h.
|
private |
Definition at line 65 of file PdspNoiseRemoval.h.
|
private |
Definition at line 69 of file PdspNoiseRemoval.h.
|
private |
Definition at line 65 of file PdspNoiseRemoval.h.
|
private |
Definition at line 66 of file PdspNoiseRemoval.h.
|
private |
Definition at line 77 of file PdspNoiseRemoval.h.
|
mutableprivate |
Definition at line 81 of file PdspNoiseRemoval.h.
|
private |
Definition at line 80 of file PdspNoiseRemoval.h.
|
private |
Definition at line 70 of file PdspNoiseRemoval.h.
|
private |
Definition at line 71 of file PdspNoiseRemoval.h.
|
private |
Definition at line 64 of file PdspNoiseRemoval.h.
|
private |
Definition at line 64 of file PdspNoiseRemoval.h.
|
private |
Definition at line 74 of file PdspNoiseRemoval.h.
|
private |
Definition at line 76 of file PdspNoiseRemoval.h.
|
private |
Definition at line 75 of file PdspNoiseRemoval.h.
|
private |
Definition at line 73 of file PdspNoiseRemoval.h.
|
private |
Definition at line 72 of file PdspNoiseRemoval.h.
|
private |
Definition at line 63 of file PdspNoiseRemoval.h.