Belle II Software  release-08-01-10
ScintillatorFirmware.h
Go to the documentation of this file.
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 /* KLM headers. */
12 #include <klm/dataobjects/KLMScintillatorFirmwareFitResult.h>
13 
20 namespace Belle2 {
26  namespace KLM {
27 
32 
33  public:
34 
39  explicit ScintillatorFirmware(int nPoints);
40 
45 
53  enum ScintillatorFirmwareFitStatus fit(const int* amp, int threshold, KLMScintillatorFirmwareFitResult* fitData);
54 
55  private:
56 
58  int m_nPoints;
59 
60  };
61 
62  }
63 
65 }
ScintillatorFirmware(int nPoints)
Constructor.
enum ScintillatorFirmwareFitStatus fit(const int *amp, int threshold, KLMScintillatorFirmwareFitResult *fitData)
FPGA fitter.
Abstract base class for different kinds of events.