#include <DuneDPhase3x1x1NoiseRemovalService.h>
Public Member Functions | |
DuneDPhase3x1x1NoiseRemovalService (fhicl::ParameterSet const &pset, art::ActivityRegistry &) | |
int | update (AdcChannelDataMap &datamap) const |
std::ostream & | print (std::ostream &out=std::cout, std::string prefix="") const |
Public Member Functions inherited from AdcNoiseRemovalService | |
virtual | ~AdcNoiseRemovalService ()=default |
Private Types | |
using | AdcChannelToolPtr = std::unique_ptr< const AdcChannelTool > |
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 | 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 |
void | removeCoherent (const GroupChannelMap &ch_groups, AdcChannelDataMap &datamap) const |
void | removeHighFreq (AdcChannelDataMap &datamap) const |
void | removeSlope (AdcChannelDataMap &datamap) const |
void | removeSlopePolynomial (AdcChannelDataMap &datamap) const |
std::vector< bool > | roiMask (const AdcChannelData &adc) const |
GroupChannelMap | makeDaqGroups (size_t gsize, const std::vector< size_t > &gidx) const |
Make groups of channels using 3x1x1 DAQ numbering. Channels tagged as noisy are excluded at this stage. More... | |
GroupChannelMap | makeGroups (size_t gsize, const std::vector< size_t > &gidx) const |
Make groups of channels using LArSoft numbering. Channels tagged as noisy are excluded at this stage. More... | |
bool | has (const std::vector< size_t > &v, size_t idx) const |
std::vector< double > | GaussJordanSolv (std::vector< std::vector< long double > > matrix) const |
Static Private Member Functions | |
static size_t | get311Chan (size_t LAr_chan) |
Get 3x1x1 DAQ channel number from the LArSoft's channel index. More... | |
Definition at line 25 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 86 of file DuneDPhase3x1x1NoiseRemovalService.h.
DuneDPhase3x1x1NoiseRemovalService::DuneDPhase3x1x1NoiseRemovalService | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | |||
) |
Definition at line 22 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 675 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 652 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 817 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
staticprivate |
Get 3x1x1 DAQ channel number from the LArSoft's channel index.
Definition at line 774 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 221 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 271 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
inlineprivate |
Definition at line 60 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Make groups of channels using 3x1x1 DAQ numbering. Channels tagged as noisy are excluded at this stage.
Definition at line 732 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Make groups of channels using LArSoft numbering. Channels tagged as noisy are excluded at this stage.
Definition at line 753 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
virtual |
Implements AdcNoiseRemovalService.
Definition at line 864 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 328 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 370 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 381 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 452 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 700 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
virtual |
Implements AdcNoiseRemovalService.
Definition at line 76 of file DuneDPhase3x1x1NoiseRemovalService_service.cc.
|
private |
Definition at line 83 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 72 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 75 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 72 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 74 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 72 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
mutableprivate |
Definition at line 99 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 72 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 72 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 98 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 76 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 72 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 73 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 73 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 72 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 82 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 79 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 81 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 80 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 78 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 77 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 92 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 95 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 89 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 91 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 94 of file DuneDPhase3x1x1NoiseRemovalService.h.
|
private |
Definition at line 88 of file DuneDPhase3x1x1NoiseRemovalService.h.