26 bool operator()(
const std::pair<float, float>& lhs,
const std::pair<float, float>& rhs)
const 28 return lhs.first < rhs.first;
37 RFFHitFitter(
float,
unsigned int,
float,
float step = 0.1,
float max = 5.0);
40 void SetFitterParams(
float,
unsigned int,
float);
42 void RunFitter(
const std::vector<float>& signal);
44 const std::vector<float>&
MeanVector() {
return fMeanVector; }
45 const std::vector<float>&
SigmaVector() {
return fSigmaVector; }
50 unsigned int NHits() {
return fMeanVector.size(); }
76 void CalculateAllMeansAndSigmas(
const std::vector<float>& signal);
77 void CalculateMergedMeansAndSigmas(std::size_t signal_size);
78 void CalculateAmplitudes(
const std::vector<float>& signal);
79 void CreateMergeVector();
81 bool HitsBelowThreshold();
const std::vector< float > & AmplitudeVector()
std::vector< float > fAmpErrorVector
unsigned int fMinMergeMultiplicity
const std::vector< float > & MeanVector()
std::vector< std::vector< std::multiset< MeanSigmaPair >::iterator > > fMergeVector
const std::vector< float > & SigmaVector()
std::pair< float, float > MeanSigmaPair
std::vector< float > fSigmaVector
util::GaussianEliminationAlg fGEAlg
std::multiset< MeanSigmaPair, SignalSetComp > fSignalSet
const std::vector< float > & MeanErrorVector()
std::vector< float > fAmpVector
Detector simulation of raw signals on wires.
std::vector< float > fSigmaErrorVector
float fMeanMatchThreshold
const std::vector< float > & AmplitudeErrorVector()
bool operator()(const std::pair< float, float > &lhs, const std::pair< float, float > &rhs) const
std::vector< float > fMeanVector
std::vector< float > fMeanErrorVector
const std::vector< float > & SigmaErrorVector()