 |
Belle II Software
release-05-01-25
|
12 #include <klm/dataobjects/KLMMuidLikelihood.h>
17 KLMMuidLikelihood::KLMMuidLikelihood() :
19 m_JunkPDFValue(false),
21 m_DegreesOfFreedom(0),
35 m_LogL[particle.getIndex()] = -1.0E20;
62 unsigned int hits = 0;
65 if (pattern & (1 << bit)) {
74 unsigned int hits = 0;
78 if (pattern & (1 << bit)) {
int getCharge() const
Get the charge of the particle hypothesis used during the extrapolation.
float m_LogL[Const::ChargedStable::c_SetSize]
Array of log-likelihoods.
static const ChargedStable electron
electron particle
unsigned int getTotalBarrelHits() const
Get the total number of crossed BKLM layers.
~KLMMuidLikelihood()
Destructor.
int getPDGCode() const
Get the PDG code of the particle hypothesis used during the extrapolation.
static const ParticleSet chargedStableSet
set of charged stable particles
unsigned int m_HitLayerPattern
Pattern of the layers actually crossed by the track (bits 0..14 = BKLM layers 1..15,...
float m_PDFValue[Const::ChargedStable::c_SetSize]
Array of normalized PDFs.
static constexpr int getMaximalLayerNumber()
Get maximal layer number.
float m_ExtEKLMEfficiencyValue[EKLMElementNumbers::getMaximalLayerNumber()]
Array of EKLM layer efficiencies.
static constexpr int getMaximalLayerNumber()
Get maximal layer number (1-based).
Abstract base class for different kinds of events.
Provides a type-safe way to pass members of the chargedStableSet set.
static const ChargedStable muon
muon particle
unsigned int getTotalEndcapHits() const
Get the total number of crossed EKLM layers.
float m_ExtBKLMEfficiencyValue[BKLMElementNumbers::getMaximalLayerNumber()]
Array of BKLM layer efficiencies.