LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
CandHitMorphological (const fhicl::ParameterSet &pset) | |
void | findHitCandidates (const recob::Wire::RegionsOfInterest_t::datarange_t &, const size_t, const size_t, const size_t, HitCandidateVec &) const override |
void | MergeHitCandidates (const recob::Wire::RegionsOfInterest_t::datarange_t &, const HitCandidateVec &, MergeHitCandidateVec &) const override |
Private Types | |
using | MaxMinPair = std::pair< Waveform::const_iterator, Waveform::const_iterator > |
using | CandHitParams = std::tuple< Waveform::const_iterator, Waveform::const_iterator, Waveform::const_iterator, Waveform::const_iterator > |
using | CandHitParamsVec = std::vector< CandHitParams > |
using | HitCandidateVec = std::vector< HitCandidate > |
using | MergeHitCandidateVec = std::vector< HitCandidateVec > |
using | Waveform = std::vector< float > |
Private Member Functions | |
void | findHitCandidates (Waveform::const_iterator, Waveform::const_iterator, Waveform::const_iterator, Waveform::const_iterator, Waveform::const_iterator, Waveform::const_iterator, const size_t, float, HitCandidateVec &) const |
void | findHitCandidates (Waveform::const_iterator, Waveform::const_iterator, const size_t, int, float, HitCandidateVec &) const |
bool | getListOfHitCandidates (Waveform::const_iterator, Waveform::const_iterator, int, float, CandHitParamsVec &) const |
Waveform::const_iterator | findNearestMax (Waveform::const_iterator, Waveform::const_iterator) const |
Waveform::const_iterator | findNearestMin (Waveform::const_iterator, Waveform::const_iterator) const |
Waveform::const_iterator | findStartTick (Waveform::const_iterator, Waveform::const_iterator) const |
Waveform::const_iterator | findStopTick (Waveform::const_iterator, Waveform::const_iterator) const |
Private Attributes | |
const size_t | fPlane |
const float | fDilationThreshold |
const float | fDilationFraction |
const float | fErosionFraction |
const int | fMinDeltaTicks |
const float | fMinDeltaPeaks |
const float | fMinHitHeight |
const size_t | fNumInterveningTicks |
const int | fStructuringElement |
const bool | fOutputHistograms |
const bool | fOutputWaveforms |
const float | fFitNSigmaFromCenter |
art::TFileDirectory * | fHistDirectory |
TH1F * | fDStopStartHist |
TH1F * | fDMaxTickMinTickHist |
TH1F * | fDMaxDerivMinDerivHist |
TH1F * | fMaxErosionHist |
TH1F * | fMaxDilationHist |
TH1F * | fMaxDilEroRatHist |
size_t | fLastChannel |
size_t | fChannelCnt |
std::unique_ptr< reco_tool::IWaveformTool > | fWaveformTool |
const geo::GeometryCore * | fGeometry = lar::providerFrom<geo::Geometry>() |
Definition at line 25 of file CandHitMorphological_tool.cc.
|
private |
Definition at line 65 of file CandHitMorphological_tool.cc.
|
private |
Definition at line 66 of file CandHitMorphological_tool.cc.
|
inherited |
Definition at line 37 of file ICandidateHitFinder.h.
|
private |
Definition at line 61 of file CandHitMorphological_tool.cc.
|
inherited |
Definition at line 38 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 40 of file ICandidateHitFinder.h.
|
explicit |
Definition at line 126 of file CandHitMorphological_tool.cc.
References art::errors::Configuration, dir, fChannelCnt, fDMaxDerivMinDerivHist, fDMaxTickMinTickHist, fDStopStartHist, fHistDirectory, fLastChannel, fMaxDilationHist, fMaxDilEroRatHist, fMaxErosionHist, fOutputHistograms, fOutputWaveforms, fPlane, fWaveformTool, art::ServiceHandle< T, SCOPE >::get(), fhicl::ParameterSet::get(), and art::Globals::instance().
|
overridevirtual |
Implements reco_tool::ICandidateHitFinder.
Definition at line 190 of file CandHitMorphological_tool.cc.
References util::abs(), geo::GeometryCore::ChannelToWire(), dir, fChannelCnt, fDilationThreshold, fDMaxDerivMinDerivHist, fDMaxTickMinTickHist, fDStopStartHist, fFitNSigmaFromCenter, fGeometry, fHistDirectory, fLastChannel, fMaxDilationHist, fMaxDilEroRatHist, fMaxErosionHist, fOutputHistograms, fOutputWaveforms, fStructuringElement, and fWaveformTool.
Referenced by findHitCandidates().
|
private |
Definition at line 375 of file CandHitMorphological_tool.cc.
References fDilationThreshold, fErosionFraction, findHitCandidates(), fMinDeltaPeaks, and fMinDeltaTicks.
|
private |
Definition at line 483 of file CandHitMorphological_tool.cc.
References getListOfHitCandidates(), reco_tool::ICandidateHitFinder::HitCandidate::hitCenter, reco_tool::ICandidateHitFinder::HitCandidate::hitHeight, reco_tool::ICandidateHitFinder::HitCandidate::hitSigma, art::left(), reco_tool::ICandidateHitFinder::HitCandidate::maxDerivative, reco_tool::ICandidateHitFinder::HitCandidate::maxTick, reco_tool::ICandidateHitFinder::HitCandidate::minDerivative, reco_tool::ICandidateHitFinder::HitCandidate::minTick, art::right(), reco_tool::ICandidateHitFinder::HitCandidate::startTick, and reco_tool::ICandidateHitFinder::HitCandidate::stopTick.
|
private |
Definition at line 754 of file CandHitMorphological_tool.cc.
Referenced by getListOfHitCandidates().
|
private |
Definition at line 735 of file CandHitMorphological_tool.cc.
Referenced by getListOfHitCandidates().
|
private |
Definition at line 774 of file CandHitMorphological_tool.cc.
Referenced by getListOfHitCandidates().
|
private |
Definition at line 802 of file CandHitMorphological_tool.cc.
References DEFINE_ART_CLASS_TOOL.
Referenced by getListOfHitCandidates().
|
private |
Definition at line 635 of file CandHitMorphological_tool.cc.
References findNearestMax(), findNearestMin(), findStartTick(), findStopTick(), and fMinDeltaTicks.
Referenced by findHitCandidates().
|
overridevirtual |
Implements reco_tool::ICandidateHitFinder.
Definition at line 694 of file CandHitMorphological_tool.cc.
References fMinHitHeight, and fNumInterveningTicks.
|
mutableprivate |
Definition at line 116 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
private |
Definition at line 88 of file CandHitMorphological_tool.cc.
|
private |
Definition at line 87 of file CandHitMorphological_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 106 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
private |
Definition at line 105 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
private |
Definition at line 104 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
private |
Definition at line 89 of file CandHitMorphological_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 99 of file CandHitMorphological_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 121 of file CandHitMorphological_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 101 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
mutableprivate |
Definition at line 115 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
private |
Definition at line 108 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
private |
Definition at line 109 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
private |
Definition at line 107 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
private |
Definition at line 91 of file CandHitMorphological_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 90 of file CandHitMorphological_tool.cc.
Referenced by findHitCandidates(), and getListOfHitCandidates().
|
private |
Definition at line 92 of file CandHitMorphological_tool.cc.
Referenced by MergeHitCandidates().
|
private |
Definition at line 93 of file CandHitMorphological_tool.cc.
Referenced by MergeHitCandidates().
|
private |
Definition at line 95 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
private |
Definition at line 97 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().
|
private |
Definition at line 86 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological().
|
private |
Definition at line 94 of file CandHitMorphological_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 119 of file CandHitMorphological_tool.cc.
Referenced by CandHitMorphological(), and findHitCandidates().