11#include <klm/muid/MuidElementNumbers.h>
53 void setLongitudinalPDF(
int hypothesis,
int outcome,
int lastLayer,
const std::vector<double>& params)
66 void setTransversePDF(
int hypothesis,
int detector,
int degreesOfFreedom,
const std::vector<double>& params)
129 const std::vector<double>&
getTransversePDF(
int hypothesis,
int detector,
int degreesOfFreedom)
const
190 m_TransversePDF.insert(std::pair<
int, std::vector<double>>(
id, params));
Database object used to store the parameters for KLM likelihood computation.
void setTransverseThreshold(int hypothesis, int detector, int degreesOfFreedom, const double threshold)
Set the transverse probability density function (analytical): threshold for specific hypothesis,...
std::map< int, std::vector< double > > m_TransversePDF
Transverse probability density function.
void setTransversePDF(int hypothesis, int detector, int degreesOfFreedom, const std::vector< double > ¶ms)
Set the transverse probability density function for specific hypothesis, detector and degrees of free...
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...
void setTransverseScaleY(const int id, const double scaleY)
Set the transverse probability density function (analytical): vertical scale for a given identifier.
void setTransverseScaleY(int hypothesis, int detector, int degreesOfFreedom, const double scaleY)
Set the transverse probability density function (analytical): vertical scale for specific hypothesis,...
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.
void setTransverseScaleX(const int id, const double scaleX)
Set the transverse probability density function (analytical): horizontal scale for a given identifier...
void setTransverseThreshold(const int id, const double threshold)
Set the transverse probability density function (analytical): threshold for a given identifier.
std::map< int, double > m_TransverseScaleX
Transverse probability density function (analytical): horizontal scale.
ClassDef(KLMLikelihoodParameters, 1)
Class version.
void setLongitudinalPDF(const int id, const std::vector< double > ¶ms)
Set the longitudinal probability density function for a given identifier.
KLMLikelihoodParameters()
Constructor.
~KLMLikelihoodParameters()
Destructor.
void setLongitudinalPDF(int hypothesis, int outcome, int lastLayer, const std::vector< double > ¶ms)
Set the longitudinal probability density function for specific hypothesis, outcome and last layer.
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...
void setTransverseScaleX(int hypothesis, int detector, int degreesOfFreedom, const double scaleX)
Set the transverse probability density function (analytical): horizontal scale for specific hypothesi...
void setTransversePDF(const int id, const std::vector< double > ¶ms)
Set the transverse probability density function for a given identifier.
static int getLongitudinalID(int hypothesis, int outcome, int lastLayer)
Get the unique longitudinal identifier for given hypothesis, outcome and last layer crossed.
static int getTransverseID(int hypothesis, int detector, int degreesOfFreedom)
Get the unique transverse identifier for given hypothesis, detector and degrees of freedom.
Abstract base class for different kinds of events.