LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 "
fhiclcpp/ParameterSet.h
"
16
#include "
larreco/HitFinder/HitFinderTools/ICandidateHitFinder.h
"
17
18
namespace
reco_tool
19
{
20
class
IPeakFitter
21
{
22
public
:
23
virtual
~IPeakFitter
() noexcept =
default
;
24
25
// Define standard art tool interface
26
virtual
void
configure
(
const
fhicl::ParameterSet
& pset) = 0;
27
28
// Define a structure to contain hits
29
using
PeakFitParams_t
=
struct
PeakFitParams
30
{
31
float
peakCenter;
32
float
peakCenterError
;
33
float
peakSigma
;
34
float
peakSigmaError
;
35
float
peakAmplitude
;
36
float
peakAmplitudeError
;
37
};
38
39
using
PeakParamsVec
= std::vector<PeakFitParams_t>;
40
41
// Get parameters for input candidate peaks
42
virtual
void
findPeakParameters
(
const
std::vector<float>&,
43
const
ICandidateHitFinder::HitCandidateVec
&,
44
PeakParamsVec
&,
45
double
&,
46
int
&)
const
= 0;
47
};
48
}
49
50
#endif
reco_tool::IPeakFitter::peakSigma
float peakSigma
Definition:
IPeakFitter.h:33
reco_tool::IPeakFitter::peakAmplitudeError
float peakAmplitudeError
Definition:
IPeakFitter.h:36
reco_tool
Definition:
CandHitDerivative_tool.cc:23
reco_tool::ICandidateHitFinder::HitCandidateVec
std::vector< HitCandidate_t > HitCandidateVec
Definition:
ICandidateHitFinder.h:41
reco_tool::IPeakFitter::PeakFitParams_t
struct PeakFitParams{float peakCenter PeakFitParams_t
Definition:
IPeakFitter.h:31
ParameterSet.h
reco_tool::IPeakFitter::findPeakParameters
virtual void findPeakParameters(const std::vector< float > &, const ICandidateHitFinder::HitCandidateVec &, PeakParamsVec &, double &, int &) const =0
reco_tool::IPeakFitter::PeakParamsVec
std::vector< PeakFitParams_t > PeakParamsVec
Definition:
IPeakFitter.h:39
reco_tool::IPeakFitter
Definition:
IPeakFitter.h:20
reco_tool::IPeakFitter::peakAmplitude
float peakAmplitude
Definition:
IPeakFitter.h:35
ICandidateHitFinder.h
This provides an interface for tools which are tasked with finding candidate hits on input waveforms...
reco_tool::IPeakFitter::peakCenterError
float peakCenterError
Definition:
IPeakFitter.h:32
reco_tool::IPeakFitter::configure
virtual void configure(const fhicl::ParameterSet &pset)=0
reco_tool::IPeakFitter::~IPeakFitter
virtual ~IPeakFitter() noexcept=default
reco_tool::IPeakFitter::peakSigmaError
float peakSigmaError
Definition:
IPeakFitter.h:34
fhicl::ParameterSet
Definition:
ParameterSet.h:34
larreco
v07_10_02
source
larreco
HitFinder
HitFinderTools
IPeakFitter.h
Generated on Wed Dec 12 2018 14:42:55 for LArSoft by
1.8.11