10#include <klm/dataobjects/KLMMuidLikelihood.h>
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.
int m_ExtLayer
Outermost KLM layer crossed in the extrapolation.
KLMMuidLikelihood()
Constructor.
~KLMMuidLikelihood()
Destructor.
unsigned int m_Outcome
Outcome of this extrapolation.
bool m_IsForward
Flag to determine if this extrapolation is in forward or backward B/EKLM.
int m_BarrelExtLayer
Outermost BKLM layer crossed in the extrapolation.
float m_LogL[Const::ChargedStable::c_SetSize]
Array of log-likelihoods.
int m_EndcapHitLayer
Outermost EKLM layer actually crossed by the track.
int m_BarrelHitLayer
Outermost BKLM layer actually crossed by the track.
bool isExtrapolatedEndcapLayerCrossed(int layer) const
Check whether the given EKLM layer is crossed during extrapolation.
int m_EndcapExtLayer
Outermost EKLM layer crossed in the 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.
int m_HitLayer
Outermost KLM layer actually crossed by the track.
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_ChiSquared
Chi-squared of the extrapolation.
int m_DegreesOfFreedom
Number of degrees of freedom (= 2 times the number of KLM hits) for the chi-squared computation.
bool m_JunkPDFValue
Junk flag (1 if junk, 0 if not).
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.
int m_PDGCode
PDG code of the particle hypothesis used during the extrapolation.
float m_PDFValue[Const::ChargedStable::c_SetSize]
Array of normalized PDFs.
Abstract base class for different kinds of events.