Belle II Software development
TrgEclDataBase.h
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#ifndef TRGECLDATABASE_H
10#define TRGECLDATABASE_H
11
12#include <vector>
13#include <array>
14
15namespace Belle2 {
22
23 public:
24
28 virtual ~TrgEclDataBase() {}
29
30 public:
32 void getCoeffSigPDF(std::array<std::array<double, 12>, 20>&, std::array<std::array<double, 12>, 20>&);
34 void getCoeffNoise(int, std::array<std::array<double, 12>, 20>&, std::array<std::array<double, 12>, 20>&,
35 std::array<std::array<double, 12>, 20>&);
37 void readNoiseLMatrix(std::array<std::array<double, 64>, 64>&, std::array<std::array<double, 64>, 64>&);
39 double getTCFLatency(int);
41 double getCMPhi(int);
43 double getCMTheta(int);
45 double getCMEnergy(int);
47 int get3DBhabhaLUT(int);
49 void MakeFitterCoefficient(const std::vector<int>&, std::vector<int>);
51 double interFADC(double, std::vector<int>);
52
53 private:
55 std::vector<std::vector<int>> m_AmpCoefficient;
57 std::vector<std::vector<int>> m_TimingCoefficient;
58
59
60
61 };
62
63} // end namespace Belle2
64
65#endif
int get3DBhabhaLUT(int)
TC CM Phi.
double getCMPhi(int)
TC CM Phi.
void getCoeffSigPDF(std::array< std::array< double, 12 >, 20 > &, std::array< std::array< double, 12 >, 20 > &)
read coefficient for fit
double getTCFLatency(int)
TC flight time latency.
std::vector< std::vector< int > > m_TimingCoefficient
Timing Coefficient.
void readNoiseLMatrix(std::array< std::array< double, 64 >, 64 > &, std::array< std::array< double, 64 >, 64 > &)
Noise Matrix.
virtual ~TrgEclDataBase()
TrgEclDataBase Destructor.
std::vector< std::vector< int > > m_AmpCoefficient
Amplitude Coefficient.
void getCoeffNoise(int, std::array< std::array< double, 12 >, 20 > &, std::array< std::array< double, 12 >, 20 > &, std::array< std::array< double, 12 >, 20 > &)
read coefficient for fit
TrgEclDataBase()
TrgEclDataBase Constructor.
double interFADC(double, std::vector< int >)
Util to interpolate Signal Shape.
double getCMEnergy(int)
TC CM Phi.
void MakeFitterCoefficient(const std::vector< int > &, std::vector< int >)
Make Fitter Coefficients from Signal PDF and Noise covariance matrix.
double getCMTheta(int)
TC CM Phi.
Abstract base class for different kinds of events.