10#include <klm/dataobjects/KLMMuidLikelihood.h>
16 m_JunkPDFValue(false),
18 m_DegreesOfFreedom(0),
32 m_LogL[particle.getIndex()] = -1.0E20;
59 unsigned int hits = 0;
62 if (pattern & (1 << bit)) {
71 unsigned int hits = 0;
75 if (pattern & (1 << bit)) {
static constexpr int getMaximalLayerNumber()
Get maximal layer number (1-based).
Provides a type-safe way to pass members of the chargedStableSet set.
static const ChargedStable muon
muon particle
static const ParticleSet chargedStableSet
set of charged stable particles
static const ChargedStable electron
electron particle
static constexpr int getMaximalLayerNumber()
Get maximal layer number.
int getPDGCode() const
Get the PDG code of the particle hypothesis used during the extrapolation.
KLMMuidLikelihood()
Constructor.
~KLMMuidLikelihood()
Destructor.
float m_LogL[Const::ChargedStable::c_SetSize]
Array of log-likelihoods.
bool isExtrapolatedEndcapLayerCrossed(int layer) const
Check whether the given EKLM layer is crossed during extrapolation.
unsigned int m_ExtLayerPattern
Pattern of the layers crossed in the extrapolation (bits 0..14 = BKLM layers 1..15,...
unsigned int m_HitLayerPattern
Pattern of the layers actually crossed by the track (bits 0..14 = BKLM layers 1..15,...
unsigned int getTotalBarrelHits() const
Get the total number of crossed BKLM layers.
float m_ExtEKLMEfficiencyValue[EKLMElementNumbers::getMaximalLayerNumber()]
Array of EKLM layer efficiencies.
unsigned int getTotalEndcapHits() const
Get the total number of crossed EKLM layers.
int getCharge() const
Get the charge of the particle hypothesis used during the extrapolation.
float m_ExtBKLMEfficiencyValue[BKLMElementNumbers::getMaximalLayerNumber()]
Array of BKLM layer efficiencies.
bool isExtrapolatedBarrelLayerCrossed(int layer) const
Check whether the given BKLM layer is crossed during extrapolation.
float m_PDFValue[Const::ChargedStable::c_SetSize]
Array of normalized PDFs.
Abstract base class for different kinds of events.