Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larreco
larreco
HitFinder
HitFinderTools
larreco/larreco/HitFinder/HitFinderTools/IPeakFitter.h
Go to the documentation of this file.
1
///////////////////////////////////////////////////////////////////////
2
///
3
/// \file IPeakFitter.h
4
///
5
/// \brief This provides an interface for tools which are tasked with
6
/// fitting peaks on input waveforms
7
///
8
/// \author T. Usher
9
///
10
////////////////////////////////////////////////////////////////////////
11
12
#ifndef IPeakFitter_H
13
#define IPeakFitter_H
14
15
#include "
larreco/HitFinder/HitFinderTools/ICandidateHitFinder.h
"
16
17
#include <vector>
18
19
namespace
reco_tool
20
{
21
class
IPeakFitter
22
{
23
public
:
24
// Define standard art tool interface
25
26
// Define a structure to contain hits
27
struct
PeakFitParams_t
28
{
29
float
peakCenter
;
30
float
peakCenterError
;
31
float
peakSigma
;
32
float
peakSigmaError
;
33
float
peakAmplitude
;
34
float
peakAmplitudeError
;
35
};
36
37
using
PeakParamsVec
= std::vector<PeakFitParams_t>;
38
virtual
~IPeakFitter
() =
default
;
39
// Get parameters for input candidate peaks
40
virtual
void
findPeakParameters
(
const
std::vector<float>&,
41
const
ICandidateHitFinder::HitCandidateVec
&,
42
PeakParamsVec
&,
43
double
&,
44
int
&)
const
= 0;
45
};
46
}
47
48
#endif
reco_tool::IPeakFitter::PeakFitParams_t::peakCenter
float peakCenter
Definition:
larreco/larreco/HitFinder/HitFinderTools/IPeakFitter.h:29
reco_tool::IPeakFitter::PeakFitParams_t::peakSigma
float peakSigma
Definition:
larreco/larreco/HitFinder/HitFinderTools/IPeakFitter.h:31
reco_tool::IPeakFitter::PeakFitParams_t::peakSigmaError
float peakSigmaError
Definition:
larreco/larreco/HitFinder/HitFinderTools/IPeakFitter.h:32
reco_tool::IPeakFitter::PeakFitParams_t::peakAmplitudeError
float peakAmplitudeError
Definition:
larreco/larreco/HitFinder/HitFinderTools/IPeakFitter.h:34
reco_tool::IPeakFitter::PeakParamsVec
std::vector< PeakFitParams_t > PeakParamsVec
Definition:
icaruscode/icaruscode/TPC/SignalProcessing/HitFinder/HitFinderTools/IPeakFitter.h:45
reco_tool::IPeakFitter::PeakFitParams_t::peakCenterError
float peakCenterError
Definition:
larreco/larreco/HitFinder/HitFinderTools/IPeakFitter.h:30
reco_tool::IPeakFitter::findPeakParameters
virtual void findPeakParameters(const std::vector< float > &, const ICandidateHitFinder::HitCandidateVec &, PeakParamsVec &, double &, int &) const =0
ICandidateHitFinder.h
This provides an interface for tools which are tasked with finding candidate hits on input waveforms...
reco_tool::IPeakFitter::PeakFitParams_t::peakAmplitude
float peakAmplitude
Definition:
larreco/larreco/HitFinder/HitFinderTools/IPeakFitter.h:33
reco_tool::IPeakFitter::PeakFitParams_t
Definition:
larreco/larreco/HitFinder/HitFinderTools/IPeakFitter.h:27
reco_tool::IPeakFitter::~IPeakFitter
virtual ~IPeakFitter() noexcept=default
reco_tool::ICandidateHitFinder::HitCandidateVec
std::vector< HitCandidate > HitCandidateVec
Definition:
ICandidateHitFinder.h:37
Generated by
1.8.5