 |
Belle II Software
release-05-01-25
|
13 #include <klm/muid/MuidElementNumbers.h>
30 class KLMLikelihoodParameters :
public TObject {
55 void setLongitudinalPDF(
int hypothesis,
int outcome,
int lastLayer,
const std::vector<double>& params)
68 void setTransversePDF(
int hypothesis,
int detector,
int degreesOfFreedom,
const std::vector<double>& params)
94 void setTransverseScaleX(
int hypothesis,
int detector,
int degreesOfFreedom,
const double scaleX)
107 void setTransverseScaleY(
int hypothesis,
int detector,
int degreesOfFreedom,
const double scaleY)
119 const std::vector<double>&
getLongitudinalPDF(
int hypothesis,
int outcome,
int lastLayer)
const
131 const std::vector<double>&
getTransversePDF(
int hypothesis,
int detector,
int degreesOfFreedom)
const
192 m_TransversePDF.insert(std::pair<
int, std::vector<double>>(
id, params));
KLMLikelihoodParameters()
Constructor.
static int getLongitudinalID(int hypothesis, int outcome, int lastLayer)
Get the unique longitudinal identifier for given hypothesis, outcome and last layer crossed.
std::map< int, std::vector< double > > m_LongitudinalPDF
Longitudinal probability density function.
double getTransverseScaleX(int hypothesis, int detector, int degreesOfFreedom) const
Get the transverse probability density function (analytical): horizontal scale for specific hypothesi...
void setTransverseThreshold(int hypothesis, int detector, int degreesOfFreedom, const double threshold)
Set the transverse probability density function (analytical): threshold for specific hypothesis,...
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 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...
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.
Abstract base class for different kinds of events.
~KLMLikelihoodParameters()
Destructor.
std::map< int, double > m_TransverseScaleX
Transverse probability density function (analytical): horizontal scale.
double getTransverseThreshold(int hypothesis, int detector, int degreesOfFreedom) const
Get the transverse probability density function (analytical): threshold for specific hypothesis,...
ClassDef(KLMLikelihoodParameters, 1)
Class version.
std::map< int, double > m_TransverseScaleY
Transverse probability density function (analytical): vertical scale.
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.
void setTransverseScaleX(int hypothesis, int detector, int degreesOfFreedom, const double scaleX)
Set the transverse probability density function (analytical): horizontal scale for specific hypothesi...
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,...
static int getTransverseID(int hypothesis, int detector, int degreesOfFreedom)
Get the unique transverse identifier for given hypothesis, detector and degrees of freedom.