 |
Belle II Software
release-05-01-25
|
14 #include <klm/dbobjects/KLMLikelihoodParameters.h>
15 #include <klm/muid/MuidElementNumbers.h>
18 #include <framework/database/DBObjPtr.h>
26 class KLMMuidLikelihood;
84 void spline(
int n,
double dx,
double Y[],
double B[],
double C[],
double D[]);
double m_ReducedChiSquaredPDF[MuidElementNumbers::getMaximalDetector()+1][MuidElementNumbers::getMaximalHalfNdof()+1][MuidElementNumbers::getSizeReducedChiSquared()]
Reduced chi-squared (transverse) PDF (overflows in last bin).
static constexpr int getMaximalOutcome()
Get maximal value of the track extrapolation outcome.
static constexpr int getMaximalHalfNdof()
Get maximal value of NDof/2 (for transverse scattering).
Build the Muid likelihoods starting from the hit pattern and the transverse scattering in the KLM.
double m_ReducedChiSquaredScaleX[MuidElementNumbers::getMaximalDetector()+1][MuidElementNumbers::getMaximalHalfNdof()+1]
Reduced chi-squared (transverse) analytical PDF: horizontal scale ~ 1.
~MuidBuilder()
Destructor.
double m_ReducedChiSquaredD1[MuidElementNumbers::getMaximalDetector()+1][MuidElementNumbers::getMaximalHalfNdof()+1][MuidElementNumbers::getSizeReducedChiSquared()]
First derivative of reduced chi-squared PDF (for spline interpolation).
double m_ReducedChiSquaredScaleY[MuidElementNumbers::getMaximalDetector()+1][MuidElementNumbers::getMaximalHalfNdof()+1]
Reduced chi-squared (transverse) analytical PDF: vertical scale.
Hypothesis
Hypothesis number.
DBObjPtr< KLMLikelihoodParameters > m_LikelihoodParameters
Likelihood parameters.
double getPDF(const KLMMuidLikelihood *muid) const
Get total PDG for a given hypothesis.
double m_ReducedChiSquaredD2[MuidElementNumbers::getMaximalDetector()+1][MuidElementNumbers::getMaximalHalfNdof()+1][MuidElementNumbers::getSizeReducedChiSquared()]
Second derivative of reduced chi-squared PDF (for spline interpolation).
static constexpr int getMaximalBarrelLayer()
Get maximal barrel layer number (0-based).
MuidBuilder()
Default constructor.
Class for accessing objects in the database.
MuidBuilder & operator=(const MuidBuilder &)
Copy assignment.
Abstract base class for different kinds of events.
static constexpr int getSizeReducedChiSquared()
Get size of array with reduced chi-squared values (for transverse scattering).
void fillPDFs(MuidElementNumbers::Hypothesis hypothesis)
Retrieve the PDFs from the database according to the given hypothesis.
void spline(int n, double dx, double Y[], double B[], double C[], double D[])
Construct spline interpolation coefficients (first, second, third derivatives).
static constexpr int getMaximalEndcapForwardLayer()
Get maximal endcap-forward layer number (0-based).
double m_ReducedChiSquaredD3[MuidElementNumbers::getMaximalDetector()+1][MuidElementNumbers::getMaximalHalfNdof()+1][MuidElementNumbers::getSizeReducedChiSquared()]
Third derivative of reduced chi-squared PDF (for spline interpolation).
double getTransversePDF(const KLMMuidLikelihood *muid) const
Calculate the transverse PDF for a given hypothesis.
static constexpr int getMaximalDetector()
Get maximal value of the detector selector (for transverse scattering).
double m_LayerPDF[MuidElementNumbers::getMaximalOutcome()+1][MuidElementNumbers::getMaximalBarrelLayer()+1][MuidElementNumbers::getMaximalBarrelLayer()+MuidElementNumbers::getMaximalEndcapForwardLayer()+2]
Longitudinal PDF.
double m_ReducedChiSquaredDx
Reduced chi-squared (transverse) PDF's bin size.
Class to store the likelihoods from KLM with additional informations related to the extrapolation.
double getLongitudinalPDF(const KLMMuidLikelihood *muid) const
Calculate the longitudinal PDF for a given hypothesis.
double m_ReducedChiSquaredThreshold[MuidElementNumbers::getMaximalDetector()+1][MuidElementNumbers::getMaximalHalfNdof()+1]
Reduced chi-squared (transverse) analytical PDF: threshold.