LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Public Member Functions | |
CandHitMorphological (const fhicl::ParameterSet &pset) | |
~CandHitMorphological () | |
void | configure (const fhicl::ParameterSet &pset) override |
void | findHitCandidates (const Waveform &, size_t, size_t, size_t, HitCandidateVec &) const override |
void | MergeHitCandidates (const Waveform &, const HitCandidateVec &, MergeHitCandidateVec &) const override |
Private Types | |
using | HitCandidate_t = struct HitCandidate{size_t startTick |
using | HitCandidateVec = std::vector< HitCandidate_t > |
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, size_t, float, HitCandidateVec &) const |
void | findHitCandidates (Waveform::const_iterator, Waveform::const_iterator, size_t, int, float, HitCandidateVec &) 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 | |
size_t | fPlane |
float | fDilationThreshold |
float | fDilationFraction |
float | fErosionFraction |
int | fMinDeltaTicks |
float | fMinDeltaPeaks |
float | fMinHitHeight |
size_t | fNumInterveningTicks |
int | fStructuringElement |
bool | fOutputHistograms |
art::TFileDirectory * | fHistDirectory |
TH1F * | fDStopStartHist |
TH1F * | fDMaxTickMinTickHist |
TH1F * | fDMaxDerivMinDerivHist |
size_t | fLastChannel |
size_t | fChannelCnt |
std::unique_ptr< reco_tool::IWaveformTool > | fWaveformTool |
const geo::GeometryCore * | fGeometry = lar::providerFrom<geo::Geometry>() |
size_t | stopTick |
size_t | maxTick |
size_t | minTick |
float | maxDerivative |
float | minDerivative |
float | hitCenter |
float | hitSigma |
float | hitHeight |
Definition at line 26 of file CandHitMorphological_tool.cc.
|
inherited |
Definition at line 30 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 41 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 42 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 44 of file ICandidateHitFinder.h.
|
explicit |
Definition at line 101 of file CandHitMorphological_tool.cc.
References configure().
reco_tool::CandHitMorphological::~CandHitMorphological | ( | ) |
Definition at line 106 of file CandHitMorphological_tool.cc.
|
overridevirtual |
Implements reco_tool::ICandidateHitFinder.
Definition at line 110 of file CandHitMorphological_tool.cc.
References dir, fChannelCnt, fDilationFraction, fDilationThreshold, fDMaxDerivMinDerivHist, fDMaxTickMinTickHist, fDStopStartHist, fErosionFraction, fHistDirectory, fLastChannel, fMinDeltaPeaks, fMinDeltaTicks, fMinHitHeight, fNumInterveningTicks, fOutputHistograms, fPlane, fStructuringElement, fWaveformTool, art::ServiceHandle< T, SCOPE >::get(), fhicl::ParameterSet::get(), art::TFileDirectory::make(), max, and art::TFileDirectory::mkdir().
Referenced by CandHitMorphological().
|
overridevirtual |
Implements reco_tool::ICandidateHitFinder.
Definition at line 151 of file CandHitMorphological_tool.cc.
References geo::GeometryCore::ChannelToWire(), dir, fChannelCnt, fDilationThreshold, fDMaxDerivMinDerivHist, fDMaxTickMinTickHist, fDStopStartHist, fGeometry, fHistDirectory, fLastChannel, fOutputHistograms, fStructuringElement, fWaveformTool, art::TFileDirectory::make(), and art::TFileDirectory::mkdir().
Referenced by findHitCandidates().
|
private |
Definition at line 249 of file CandHitMorphological_tool.cc.
References fDilationFraction, fDilationThreshold, fErosionFraction, findHitCandidates(), fMinDeltaPeaks, and fMinDeltaTicks.
|
private |
Definition at line 337 of file CandHitMorphological_tool.cc.
References findHitCandidates(), findNearestMax(), findNearestMin(), findStartTick(), findStopTick(), fMinDeltaPeaks, fMinDeltaTicks, art::left(), art::right(), and reco_tool::ICandidateHitFinder::stopTick.
|
private |
Definition at line 494 of file CandHitMorphological_tool.cc.
Referenced by findHitCandidates().
|
private |
|
private |
Definition at line 514 of file CandHitMorphological_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 541 of file CandHitMorphological_tool.cc.
References DEFINE_ART_CLASS_TOOL.
Referenced by findHitCandidates().
|
overridevirtual |
Implements reco_tool::ICandidateHitFinder.
Definition at line 434 of file CandHitMorphological_tool.cc.
References fMinHitHeight, and fNumInterveningTicks.
|
mutableprivate |
Definition at line 91 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 74 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 73 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 88 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 87 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 86 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 75 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 96 of file CandHitMorphological_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 83 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
mutableprivate |
Definition at line 90 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 77 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 76 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 78 of file CandHitMorphological_tool.cc.
Referenced by configure(), and MergeHitCandidates().
|
private |
Definition at line 79 of file CandHitMorphological_tool.cc.
Referenced by configure(), and MergeHitCandidates().
|
private |
Definition at line 81 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 72 of file CandHitMorphological_tool.cc.
Referenced by configure().
|
private |
Definition at line 80 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 94 of file CandHitMorphological_tool.cc.
Referenced by configure(), and findHitCandidates().
|
inherited |
Definition at line 36 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 38 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 37 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 34 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 32 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 35 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 33 of file ICandidateHitFinder.h.
|
inherited |
Definition at line 31 of file ICandidateHitFinder.h.
Referenced by reco_tool::CandHitDerivative::findHitCandidates(), and findHitCandidates().