27 const std::pair<float,float>& rhs)
const 28 {
return lhs.first < rhs.first; }
39 void SetFitterParams(
float,
unsigned int,
float);
41 void RunFitter(
const std::vector<float>& signal);
43 const std::vector<float>&
MeanVector() {
return fMeanVector; }
44 const std::vector<float>&
SigmaVector() {
return fSigmaVector; }
49 unsigned int NHits() {
return fMeanVector.size(); }
72 std::multiset< MeanSigmaPair, SignalSetComp >
fSignalSet;
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()
const std::vector< float > & SigmaVector()
std::vector< float > fSigmaVector
std::vector< std::vector< std::multiset< MeanSigmaPair >::iterator > > fMergeVector
util::GaussianEliminationAlg fGEAlg
const std::vector< float > & MeanErrorVector()
std::multiset< MeanSigmaPair, SignalSetComp > fSignalSet
std::vector< float > fAmpVector
Detector simulation of raw signals on wires.
std::vector< float > fSigmaErrorVector
std::pair< float, float > MeanSigmaPair
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()