LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Public Member Functions | |
CandHitDerivative (const fhicl::ParameterSet &pset) | |
~CandHitDerivative () | |
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, 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 |
int | fMinDeltaTicks |
int | fMaxDeltaTicks |
float | fMinDeltaPeaks |
float | fMinHitHeight |
size_t | fNumInterveningTicks |
bool | fOutputHistograms |
art::TFileDirectory * | fHistDirectory |
TH1F * | fDStopStartHist |
TH1F * | fDMaxTickMinTickHist |
TH1F * | fDMaxDerivMinDerivHist |
std::map< size_t, int > | fChannelCntMap |
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 CandHitDerivative_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 88 of file CandHitDerivative_tool.cc.
References configure().
reco_tool::CandHitDerivative::~CandHitDerivative | ( | ) |
Definition at line 93 of file CandHitDerivative_tool.cc.
|
overridevirtual |
Implements reco_tool::ICandidateHitFinder.
Definition at line 97 of file CandHitDerivative_tool.cc.
References dir, fDMaxDerivMinDerivHist, fDMaxTickMinTickHist, fDStopStartHist, fHistDirectory, fMaxDeltaTicks, fMinDeltaPeaks, fMinDeltaTicks, fMinHitHeight, fNumInterveningTicks, fOutputHistograms, fPlane, fWaveformTool, art::ServiceHandle< T, SCOPE >::get(), fhicl::ParameterSet::get(), art::TFileDirectory::make(), and art::TFileDirectory::mkdir().
Referenced by CandHitDerivative().
|
overridevirtual |
Implements reco_tool::ICandidateHitFinder.
Definition at line 131 of file CandHitDerivative_tool.cc.
References geo::GeometryCore::ChannelToWire(), dir, fChannelCntMap, fDMaxDerivMinDerivHist, fDMaxTickMinTickHist, fDStopStartHist, fGeometry, fHistDirectory, fMinDeltaPeaks, fMinDeltaTicks, fOutputHistograms, fWaveformTool, art::TFileDirectory::make(), and art::TFileDirectory::mkdir().
Referenced by findHitCandidates().
|
private |
Definition at line 220 of file CandHitDerivative_tool.cc.
References findHitCandidates(), findNearestMax(), findNearestMin(), findStartTick(), findStopTick(), fMinDeltaPeaks, fMinDeltaTicks, art::left(), art::right(), and reco_tool::ICandidateHitFinder::stopTick.
|
private |
Definition at line 363 of file CandHitDerivative_tool.cc.
Referenced by findHitCandidates().
|
private |
|
private |
Definition at line 383 of file CandHitDerivative_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 410 of file CandHitDerivative_tool.cc.
References DEFINE_ART_CLASS_TOOL.
Referenced by findHitCandidates().
|
overridevirtual |
Implements reco_tool::ICandidateHitFinder.
Definition at line 303 of file CandHitDerivative_tool.cc.
References fMinHitHeight, and fNumInterveningTicks.
|
mutableprivate |
Definition at line 78 of file CandHitDerivative_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 76 of file CandHitDerivative_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 75 of file CandHitDerivative_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 74 of file CandHitDerivative_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 83 of file CandHitDerivative_tool.cc.
Referenced by findHitCandidates().
|
private |
Definition at line 71 of file CandHitDerivative_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 65 of file CandHitDerivative_tool.cc.
Referenced by configure().
|
private |
Definition at line 66 of file CandHitDerivative_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 64 of file CandHitDerivative_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 67 of file CandHitDerivative_tool.cc.
Referenced by configure(), and MergeHitCandidates().
|
private |
Definition at line 68 of file CandHitDerivative_tool.cc.
Referenced by configure(), and MergeHitCandidates().
|
private |
Definition at line 69 of file CandHitDerivative_tool.cc.
Referenced by configure(), and findHitCandidates().
|
private |
Definition at line 63 of file CandHitDerivative_tool.cc.
Referenced by configure().
|
private |
Definition at line 81 of file CandHitDerivative_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 findHitCandidates(), and reco_tool::CandHitMorphological::findHitCandidates().