![]() |
Belle II Software
release-05-02-19
|
Build the Muid likelihoods starting from the hit pattern and the transverse scattering in the KLM. More...
#include <MuidBuilder.h>

Public Member Functions | |
| MuidBuilder (int pdg) | |
| Constructor. More... | |
| ~MuidBuilder () | |
| Destructor. | |
| double | getPDF (const KLMMuidLikelihood *muid) const |
| Get total PDG for a given hypothesis. More... | |
Private Member Functions | |
| MuidBuilder () | |
| Default constructor. | |
| MuidBuilder (MuidBuilder &) | |
| Copy constructor. | |
| MuidBuilder & | operator= (const MuidBuilder &) |
| Copy assignment. | |
| void | fillPDFs (MuidElementNumbers::Hypothesis hypothesis) |
| Retrieve the PDFs from the database according to the given hypothesis. More... | |
| void | spline (int n, double dx, double Y[], double B[], double C[], double D[]) |
| Construct spline interpolation coefficients (first, second, third derivatives). More... | |
| double | getLongitudinalPDF (const KLMMuidLikelihood *muid) const |
| Calculate the longitudinal PDF for a given hypothesis. More... | |
| double | getTransversePDF (const KLMMuidLikelihood *muid) const |
| Calculate the transverse PDF for a given hypothesis. More... | |
Build the Muid likelihoods starting from the hit pattern and the transverse scattering in the KLM.
Definition at line 39 of file MuidBuilder.h.
|
explicit |
Constructor.
| [in] | pdg | PDG code of the particle hypothesis. |
Definition at line 52 of file MuidBuilder.cc.
|
private |
Retrieve the PDFs from the database according to the given hypothesis.
| [in] | hypothesis | Hypothesis number. |
Definition at line 67 of file MuidBuilder.cc.
|
private |
Calculate the longitudinal PDF for a given hypothesis.
| [in] | muid | KLMMuidLikelihood dataobject. |
Definition at line 150 of file MuidBuilder.cc.
| double getPDF | ( | const KLMMuidLikelihood * | muid | ) | const |
Get total PDG for a given hypothesis.
| [in] | muid | KLMMuidLikelihood dataobject. |
Definition at line 145 of file MuidBuilder.cc.
|
private |
Calculate the transverse PDF for a given hypothesis.
| [in] | muid | KLMMuidLikelihood dataobject. |
Definition at line 202 of file MuidBuilder.cc.
|
private |
Construct spline interpolation coefficients (first, second, third derivatives).
| [in] | n | Number of bins. |
| [in] | dx | Width of each bin. |
| [in] | Y | Value of the bins. |
| [in] | B | First derivative. |
| [in] | C | Second derivative. |
| [in] | D | Third derivative. |
Definition at line 110 of file MuidBuilder.cc.