Belle II Software development
|
Database object used to store the parameters for KLM likelihood computation. More...
#include <KLMLikelihoodParameters.h>
Public Member Functions | |
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. | |
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 freedom. | |
void | setTransverseThreshold (int hypothesis, int detector, int degreesOfFreedom, const double threshold) |
Set the transverse probability density function (analytical): threshold for specific hypothesis, detector and degrees of freedom. | |
void | setTransverseScaleX (int hypothesis, int detector, int degreesOfFreedom, const double scaleX) |
Set the transverse probability density function (analytical): horizontal scale for specific hypothesis, detector and degrees of freedom. | |
void | setTransverseScaleY (int hypothesis, int detector, int degreesOfFreedom, const double scaleY) |
Set the transverse probability density function (analytical): vertical scale for specific hypothesis, detector and degrees of freedom. | |
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. | |
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 freedom. | |
double | getTransverseThreshold (int hypothesis, int detector, int degreesOfFreedom) const |
Get the transverse probability density function (analytical): threshold for specific hypothesis, detector and degrees of freedom. | |
double | getTransverseScaleX (int hypothesis, int detector, int degreesOfFreedom) const |
Get the transverse probability density function (analytical): horizontal scale for specific hypothesis, detector and degrees of freedom. | |
double | getTransverseScaleY (int hypothesis, int detector, int degreesOfFreedom) const |
Get the transverse probability density function (analytical): vertical scale for specific hypothesis, detector and degrees of freedom. | |
Private Member Functions | |
void | setLongitudinalPDF (const int id, const std::vector< double > ¶ms) |
Set the longitudinal probability density function for a given identifier. | |
void | setTransversePDF (const int id, const std::vector< double > ¶ms) |
Set the transverse probability density function for a given identifier. | |
void | setTransverseThreshold (const int id, const double threshold) |
Set the transverse probability density function (analytical): threshold for a given identifier. | |
void | setTransverseScaleX (const int id, const double scaleX) |
Set the transverse probability density function (analytical): horizontal scale for a given identifier. | |
void | setTransverseScaleY (const int id, const double scaleY) |
Set the transverse probability density function (analytical): vertical scale for a given identifier. | |
const std::vector< double > & | getLongitudinalPDF (const int id) const |
Get the longitudinal probability density function for a given identifier. | |
const std::vector< double > & | getTransversePDF (const int id) const |
Get the transverse probability density function for a given identifier. | |
double | getTransverseThreshold (const int id) const |
Get the transverse probability density function (analytical): threshold for a given identifier. | |
double | getTransverseScaleX (const int id) const |
Get the transverse probability density function (analytical): horizontal scale for a given identifier. | |
double | getTransverseScaleY (const int id) const |
Get the transverse probability density function (analytical): vertical scale for a given identifier. | |
ClassDef (KLMLikelihoodParameters, 1) | |
Class version. | |
Private Attributes | |
std::map< int, std::vector< double > > | m_LongitudinalPDF |
Longitudinal probability density function. | |
std::map< int, std::vector< double > > | m_TransversePDF |
Transverse probability density function. | |
std::map< int, double > | m_TransverseThreshold |
Transverse probability density function (analytical): threshold. | |
std::map< int, double > | m_TransverseScaleX |
Transverse probability density function (analytical): horizontal scale. | |
std::map< int, double > | m_TransverseScaleY |
Transverse probability density function (analytical): vertical scale. | |
Database object used to store the parameters for KLM likelihood computation.
Definition at line 28 of file KLMLikelihoodParameters.h.
|
inline |
|
inline |
|
private |
Get the longitudinal probability density function for a given identifier.
[in] | id | Longitudinal identifier. |
Definition at line 17 of file KLMLikelihoodParameters.cc.
|
inline |
Get the longitudinal probability density function for specific hypothesis, outcome and last layer.
[in] | hypothesis | Hypothesis number. |
[in] | outcome | Track extrapolation outcome. |
[in] | lastLayer | Last layer crossed during the extrapolation. |
Definition at line 117 of file KLMLikelihoodParameters.h.
|
private |
Get the transverse probability density function for a given identifier.
[in] | id | Transverse identifier. |
Definition at line 27 of file KLMLikelihoodParameters.cc.
|
inline |
Get the transverse probability density function for specific hypothesis, detector and degrees of freedom.
[in] | hypothesis | Hypothesis number. |
[in] | detector | Detector number. |
[in] | degreesOfFreedom | Number of degrees of freedom. |
Definition at line 129 of file KLMLikelihoodParameters.h.
|
private |
Get the transverse probability density function (analytical): horizontal scale for a given identifier.
[in] | id | Transverse identifier. |
Definition at line 47 of file KLMLikelihoodParameters.cc.
|
inline |
Get the transverse probability density function (analytical): horizontal scale for specific hypothesis, detector and degrees of freedom.
[in] | hypothesis | Hypothesis number. |
[in] | detector | Detector number. |
[in] | degreesOfFreedom | Number of degrees of freedom. |
Definition at line 153 of file KLMLikelihoodParameters.h.
|
private |
Get the transverse probability density function (analytical): vertical scale for a given identifier.
[in] | id | Transverse identifier. |
Definition at line 57 of file KLMLikelihoodParameters.cc.
|
inline |
Get the transverse probability density function (analytical): vertical scale for specific hypothesis, detector and degrees of freedom.
[in] | hypothesis | Hypothesis number. |
[in] | detector | Detector number. |
[in] | degreesOfFreedom | Number of degrees of freedom. |
Definition at line 165 of file KLMLikelihoodParameters.h.
|
private |
Get the transverse probability density function (analytical): threshold for a given identifier.
[in] | id | Transverse identifier. |
Definition at line 37 of file KLMLikelihoodParameters.cc.
|
inline |
Get the transverse probability density function (analytical): threshold for specific hypothesis, detector and degrees of freedom.
[in] | hypothesis | Hypothesis number. |
[in] | detector | Detector number. |
[in] | degreesOfFreedom | Number of degrees of freedom. |
Definition at line 141 of file KLMLikelihoodParameters.h.
|
inlineprivate |
Set the longitudinal probability density function for a given identifier.
[in] | id | Longitudinal identifier. |
[in] | params | Likelihood parameters. |
Definition at line 178 of file KLMLikelihoodParameters.h.
|
inline |
Set the longitudinal probability density function for specific hypothesis, outcome and last layer.
[in] | hypothesis | Hypothesis number. |
[in] | outcome | Track extrapolation outcome. |
[in] | lastLayer | Last layer crossed during the extrapolation. |
[in] | params | Likelihood parameters. |
Definition at line 53 of file KLMLikelihoodParameters.h.
|
inlineprivate |
Set the transverse probability density function for a given identifier.
[in] | id | Transverse identifier. |
[in] | params | Likelihood parameters. |
Definition at line 188 of file KLMLikelihoodParameters.h.
|
inline |
Set the transverse probability density function for specific hypothesis, detector and degrees of freedom.
[in] | hypothesis | Hypothesis number. |
[in] | detector | Detector number. |
[in] | degreesOfFreedom | Number of degrees of freedom. |
[in] | params | Likelihood parameters. |
Definition at line 66 of file KLMLikelihoodParameters.h.
|
inlineprivate |
Set the transverse probability density function (analytical): horizontal scale for a given identifier.
[in] | id | Transverse identifier. |
[in] | scaleX | Horizontal scale. |
Definition at line 208 of file KLMLikelihoodParameters.h.
|
inline |
Set the transverse probability density function (analytical): horizontal scale for specific hypothesis, detector and degrees of freedom.
[in] | hypothesis | Hypothesis number. |
[in] | detector | Detector number. |
[in] | degreesOfFreedom | Number of degrees of freedom. |
[in] | scaleX | Horizontal scale. |
Definition at line 92 of file KLMLikelihoodParameters.h.
|
inlineprivate |
Set the transverse probability density function (analytical): vertical scale for a given identifier.
[in] | id | Transverse identifier. |
[in] | scaleY | Vertical scale. |
Definition at line 218 of file KLMLikelihoodParameters.h.
|
inline |
Set the transverse probability density function (analytical): vertical scale for specific hypothesis, detector and degrees of freedom.
[in] | hypothesis | Hypothesis number. |
[in] | detector | Detector number. |
[in] | degreesOfFreedom | Number of degrees of freedom. |
[in] | scaleY | Vertical scale. |
Definition at line 105 of file KLMLikelihoodParameters.h.
|
inlineprivate |
Set the transverse probability density function (analytical): threshold for a given identifier.
[in] | id | Transverse identifier. |
[in] | threshold | Transverse threshold. |
Definition at line 198 of file KLMLikelihoodParameters.h.
|
inline |
Set the transverse probability density function (analytical): threshold for specific hypothesis, detector and degrees of freedom.
[in] | hypothesis | Hypothesis number. |
[in] | detector | Detector number. |
[in] | degreesOfFreedom | Number of degrees of freedom. |
[in] | threshold | Transverse threshold. |
Definition at line 79 of file KLMLikelihoodParameters.h.
|
private |
Longitudinal probability density function.
Definition at line 254 of file KLMLikelihoodParameters.h.
|
private |
Transverse probability density function.
Definition at line 257 of file KLMLikelihoodParameters.h.
|
private |
Transverse probability density function (analytical): horizontal scale.
Definition at line 263 of file KLMLikelihoodParameters.h.
|
private |
Transverse probability density function (analytical): vertical scale.
Definition at line 266 of file KLMLikelihoodParameters.h.
|
private |
Transverse probability density function (analytical): threshold.
Definition at line 260 of file KLMLikelihoodParameters.h.