Public Member Functions | |
ROIFinderMorphological (const fhicl::ParameterSet &pset) | |
~ROIFinderMorphological () | |
void | configure (const fhicl::ParameterSet &pset) override |
void | initializeHistograms (art::TFileDirectory &) const override |
size_t | plane () const override |
void | FindROIs (const Waveform &, size_t, size_t, double, CandidateROIVec &) const override |
Public Member Functions inherited from icarus_tool::IROIFinder | |
virtual | ~IROIFinder () noexcept=default |
Private Types | |
enum | HistogramType : int { ROIHISTOGRAM = icarus_tool::LASTELEMENT + 1, TRUNCMEANHIST, TRUNCRMSHIST, WAVEFORMHIST } |
Private Member Functions | |
void | findROICandidatesDifference (const Waveform &, const Waveform &, const Waveform &, int, int, float, CandidateROIVec &) const |
void | findROICandidatesDilation (const Waveform &, const Waveform &, const Waveform &, int, int, float, CandidateROIVec &) const |
void | smoothInputWaveform (const Waveform &, Waveform &) const |
icarus_tool::HistogramMap | initializeHistograms (size_t, size_t, size_t) const |
Private Attributes | |
size_t | fPlane |
Tool can be plane dependent. More... | |
bool | fUseDifference |
If true use differences, else dilation. More... | |
float | fNumSigma |
"# sigma" rms noise for ROI threshold More... | |
int | fNumBinsToAve |
Controls the smoothing. More... | |
int | fMax2MinDistance |
Minimum allow peak to peak distance. More... | |
float | fMax2MinHeight |
Minimum peak to peak height (box cut) More... | |
int | fMaxLengthCut |
Minimum length of the maximum. More... | |
int | fStructuringElement |
The window size. More... | |
unsigned short | fPreROIPad |
ROI padding. More... | |
unsigned short | fPostROIPad |
ROI padding. More... | |
unsigned short | fMaxPadLen |
Don't let padding be larger than this. More... | |
bool | fOutputHistograms |
Output histograms? More... | |
bool | fOutputWaveforms |
Output waveforms? More... | |
std::vector< float > | fAveWeightVec |
Weight vector for smoothing. More... | |
float | fWeightSum |
sum of weights for smoothing More... | |
art::TFileDirectory * | fHistDirectory |
TH1F * | fDiffMeanHist |
TH1F * | fDiffRmsHist |
TH1F * | fDiffFullRmsHist |
TH1F * | fDTruncBinsHist |
TH1F * | fDiffMaxHist |
TH1F * | fNumSigmaHist |
TH1F * | fThresholdHist |
TH1F * | fNumSigNextHist |
TH1F * | fMaxDiffLength |
TH1F * | fDeltaTicksHist |
TH2F * | fDTixVDLenHist |
TH2F * | fDTixVDiffHist |
TH2F * | fDiffVDilHist |
icarus_signal_processing::WaveformTools < float > | fWaveformTool |
const geo::GeometryCore * | fGeometry = lar::providerFrom<geo::Geometry>() |
Additional Inherited Members | |
Public Types inherited from icarus_tool::IROIFinder | |
using | Waveform = std::vector< float > |
using | CandidateROI = std::pair< size_t, size_t > |
using | CandidateROIVec = std::vector< CandidateROI > |
Definition at line 27 of file ROIFinderMorphological_tool.cc.
|
private |
Enumerator | |
---|---|
ROIHISTOGRAM | |
TRUNCMEANHIST | |
TRUNCRMSHIST | |
WAVEFORMHIST |
Definition at line 63 of file ROIFinderMorphological_tool.cc.
|
explicit |
Definition at line 116 of file ROIFinderMorphological_tool.cc.
icarus_tool::ROIFinderMorphological::~ROIFinderMorphological | ( | ) |
Definition at line 121 of file ROIFinderMorphological_tool.cc.
|
overridevirtual |
Implements icarus_tool::IROIFinder.
Definition at line 125 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 397 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 490 of file ROIFinderMorphological_tool.cc.
|
overridevirtual |
Implements icarus_tool::IROIFinder.
Definition at line 203 of file ROIFinderMorphological_tool.cc.
|
overridevirtual |
Implements icarus_tool::IROIFinder.
Definition at line 615 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 644 of file ROIFinderMorphological_tool.cc.
|
inlineoverridevirtual |
Implements icarus_tool::IROIFinder.
Definition at line 36 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 579 of file ROIFinderMorphological_tool.cc.
|
private |
Weight vector for smoothing.
Definition at line 88 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 103 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 96 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 98 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 94 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 95 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 106 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 105 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 104 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 97 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 111 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 91 of file ROIFinderMorphological_tool.cc.
|
private |
Minimum allow peak to peak distance.
Definition at line 78 of file ROIFinderMorphological_tool.cc.
|
private |
Minimum peak to peak height (box cut)
Definition at line 79 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 102 of file ROIFinderMorphological_tool.cc.
|
private |
Minimum length of the maximum.
Definition at line 80 of file ROIFinderMorphological_tool.cc.
|
private |
Don't let padding be larger than this.
Definition at line 84 of file ROIFinderMorphological_tool.cc.
|
private |
Controls the smoothing.
Definition at line 77 of file ROIFinderMorphological_tool.cc.
|
private |
"# sigma" rms noise for ROI threshold
Definition at line 76 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 99 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 101 of file ROIFinderMorphological_tool.cc.
|
private |
Output histograms?
Definition at line 85 of file ROIFinderMorphological_tool.cc.
|
private |
Output waveforms?
Definition at line 86 of file ROIFinderMorphological_tool.cc.
|
private |
Tool can be plane dependent.
Definition at line 74 of file ROIFinderMorphological_tool.cc.
|
private |
ROI padding.
Definition at line 83 of file ROIFinderMorphological_tool.cc.
|
private |
ROI padding.
Definition at line 82 of file ROIFinderMorphological_tool.cc.
|
private |
The window size.
Definition at line 81 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 100 of file ROIFinderMorphological_tool.cc.
|
private |
If true use differences, else dilation.
Definition at line 75 of file ROIFinderMorphological_tool.cc.
|
private |
Definition at line 108 of file ROIFinderMorphological_tool.cc.
|
private |
sum of weights for smoothing
Definition at line 89 of file ROIFinderMorphological_tool.cc.