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
14namespace Belle2 {
21
22 public:
23
27 virtual ~TrgEclDataBase() {}
28
29 public:
31 void getCoeffSigPDF(std::vector<std::vector<double>>&, std::vector<std::vector<double>>&);
33 void getCoeffNoise(int, std::vector<std::vector<double>>&, std::vector<std::vector<double>>&, std::vector<std::vector<double>>&);
35 void readNoiseLMatrix(std::vector<std::vector<double>>&, std::vector<std::vector<double>>&);
37 double GetTCFLatency(int);
39 double GetCMPhi(int);
41 double GetCMTheta(int);
43 double GetCMEnergy(int);
45 int Get3DBhabhaLUT(int);
47 void MakeFitterCoefficient(const std::vector<int>&, std::vector<int>);
49 double interFADC(double, std::vector<int>);
50
51 private:
53 std::vector<std::vector<int>> _AmpCoefficient;
55 std::vector<std::vector<int>> _TimingCoefficient;
56
57
58
59 };
61} // end namespace Belle2
62
63#endif
class TrgEclDataBase;
double GetCMEnergy(int)
TC CM Phi
int Get3DBhabhaLUT(int)
TC CM Phi
double GetCMPhi(int)
TC CM Phi
void getCoeffNoise(int, std::vector< std::vector< double > > &, std::vector< std::vector< double > > &, std::vector< std::vector< double > > &)
read coefficient for fit
void readNoiseLMatrix(std::vector< std::vector< double > > &, std::vector< std::vector< double > > &)
Noise Matrix.
virtual ~TrgEclDataBase()
TrgEclDataBase Destructor.
double GetTCFLatency(int)
TC flight time latency
TrgEclDataBase()
TrgEclDataBase Constructor.
void getCoeffSigPDF(std::vector< std::vector< double > > &, std::vector< std::vector< double > > &)
read coefficient for fit
std::vector< std::vector< int > > _AmpCoefficient
Amplitude Coefficient.
double interFADC(double, std::vector< int >)
Util to interpalate Signal Shape.
std::vector< std::vector< int > > _TimingCoefficient
Timing Coefficient.
double GetCMTheta(int)
TC CM Phi
void MakeFitterCoefficient(const std::vector< int > &, std::vector< int >)
Make Fitter Coefficients from Signal PDF and Noise covariance metrix.
Abstract base class for different kinds of events.