Belle II Software  release-08-01-10
SVDMaxSumAlgorithm Class Reference

Class implementing the MaxSum algorithm. More...

#include <SVDMaxSumAlgorithm.h>

Collaboration diagram for SVDMaxSumAlgorithm:

Public Member Functions

 SVDMaxSumAlgorithm (const Belle2::SVDShaperDigit::APVFloatSamples samples)
 Constructor with the APVFloatSamples.
 
virtual ~SVDMaxSumAlgorithm ()
 virtual destructor
 
int getFirstFrame ()
 
std::vector< float > getSelectedSamples ()
 

Protected Member Functions

void applyAlgorithm ()
 applies the algorithm
 

Protected Attributes

Belle2::SVDShaperDigit::APVFloatSamples m_samples
 strip samples
 
std::pair< int, std::vector< float > > m_result
 ADC of the acquired samples. More...
 

Detailed Description

Class implementing the MaxSum algorithm.

Definition at line 20 of file SVDMaxSumAlgorithm.h.

Member Function Documentation

◆ getFirstFrame()

int getFirstFrame ( )
inline
Returns
the first frame of the 3 selected samples

Definition at line 43 of file SVDMaxSumAlgorithm.h.

43 {return m_result.first;}
std::pair< int, std::vector< float > > m_result
ADC of the acquired samples.

◆ getSelectedSamples()

std::vector<float> getSelectedSamples ( )
inline
Returns
the 3 selected sample

Definition at line 48 of file SVDMaxSumAlgorithm.h.

Member Data Documentation

◆ m_result

std::pair<int, std::vector<float> > m_result
protected

ADC of the acquired samples.

first frame, 3 selected sample

Definition at line 57 of file SVDMaxSumAlgorithm.h.


The documentation for this class was generated from the following file: