10#include <klm/dbobjects/KLMLikelihoodParameters.h>
13#include <framework/logging/Logger.h>
19 std::map<int, std::vector<double>>::const_iterator it =
m_LongitudinalPDF.find(
id);
23 B2FATAL(
"Longitudinal for KLMLikelihoodParameters not found!");
29 std::map<int, std::vector<double>>::const_iterator it =
m_TransversePDF.find(
id);
33 B2FATAL(
"Transverse PDF for KLMLikelihoodParameters not found!");
43 B2FATAL(
"Transverse threshold for KLMLikelihoodParameters not found!");
53 B2FATAL(
"Horizontal transverse scale for KLMLikelihoodParameters not found!");
63 B2FATAL(
"Vertical transverse scale for KLMLikelihoodParameters not found!");
std::map< int, std::vector< double > > m_TransversePDF
Transverse probability density function.
const std::vector< double > & getLongitudinalPDF(int hypothesis, int outcome, int lastLayer) const
Get the longitudinal probability density function for specific hypothesis, outcome and last layer.
double getTransverseThreshold(int hypothesis, int detector, int degreesOfFreedom) const
Get the transverse probability density function (analytical): threshold for specific hypothesis,...
std::map< int, double > m_TransverseScaleY
Transverse probability density function (analytical): vertical scale.
const std::vector< double > & getTransversePDF(int hypothesis, int detector, int degreesOfFreedom) const
Get the transverse probability density function for specific hypothesis, detector and degrees of free...
double getTransverseScaleY(int hypothesis, int detector, int degreesOfFreedom) const
Get the transverse probability density function (analytical): vertical scale for specific hypothesis,...
std::map< int, std::vector< double > > m_LongitudinalPDF
Longitudinal probability density function.
std::map< int, double > m_TransverseScaleX
Transverse probability density function (analytical): horizontal scale.
std::map< int, double > m_TransverseThreshold
Transverse probability density function (analytical): threshold.
double getTransverseScaleX(int hypothesis, int detector, int degreesOfFreedom) const
Get the transverse probability density function (analytical): horizontal scale for specific hypothesi...
Abstract base class for different kinds of events.