LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
IPeakFitter.h
Go to the documentation of this file.
1
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
class
IPeakFitter
{
21
public
:
22
// Define standard art tool interface
23
24
// Define a structure to contain hits
25
struct
PeakFitParams_t
{
26
float
peakCenter
;
27
float
peakCenterError
;
28
float
peakSigma
;
29
float
peakSigmaError
;
30
float
peakAmplitude
;
31
float
peakAmplitudeError
;
32
};
33
34
using
PeakParamsVec
= std::vector<PeakFitParams_t>;
35
virtual
~IPeakFitter
() =
default
;
36
// Get parameters for input candidate peaks
37
virtual
void
findPeakParameters
(
const
std::vector<float>&,
38
const
ICandidateHitFinder::HitCandidateVec
&,
39
PeakParamsVec
&,
40
double
&,
41
int
&)
const
= 0;
42
};
43
}
44
45
#endif
reco_tool
Definition:
CandHitDerivative_tool.cc:22
reco_tool::IPeakFitter::PeakFitParams_t::peakCenter
float peakCenter
Definition:
IPeakFitter.h:26
reco_tool::IPeakFitter::PeakFitParams_t::peakSigma
float peakSigma
Definition:
IPeakFitter.h:28
reco_tool::IPeakFitter::PeakFitParams_t::peakSigmaError
float peakSigmaError
Definition:
IPeakFitter.h:29
reco_tool::IPeakFitter::findPeakParameters
virtual void findPeakParameters(const std::vector< float > &, const ICandidateHitFinder::HitCandidateVec &, PeakParamsVec &, double &, int &) const =0
reco_tool::IPeakFitter::PeakFitParams_t::peakAmplitudeError
float peakAmplitudeError
Definition:
IPeakFitter.h:31
reco_tool::IPeakFitter::PeakParamsVec
std::vector< PeakFitParams_t > PeakParamsVec
Definition:
IPeakFitter.h:34
reco_tool::IPeakFitter::PeakFitParams_t::peakCenterError
float peakCenterError
Definition:
IPeakFitter.h:27
reco_tool::IPeakFitter
Definition:
IPeakFitter.h:20
ICandidateHitFinder.h
This provides an interface for tools which are tasked with finding candidate hits on input waveforms...
reco_tool::IPeakFitter::~IPeakFitter
virtual ~IPeakFitter()=default
reco_tool::IPeakFitter::PeakFitParams_t::peakAmplitude
float peakAmplitude
Definition:
IPeakFitter.h:30
reco_tool::IPeakFitter::PeakFitParams_t
Definition:
IPeakFitter.h:25
reco_tool::ICandidateHitFinder::HitCandidateVec
std::vector< HitCandidate > HitCandidateVec
Definition:
ICandidateHitFinder.h:37
larreco
v09_25_00
source
larreco
HitFinder
HitFinderTools
IPeakFitter.h
Generated on Thu May 2 2024 20:59:45 for LArSoft by
1.8.11