Belle II Software  release-05-02-19
KLMMuidLikelihood.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Leo Piilonen, Giacomo De Pietro *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 /* KLM headers. */
14 #include <klm/dataobjects/bklm/BKLMElementNumbers.h>
15 #include <klm/dataobjects/eklm/EKLMElementNumbers.h>
16 
17 /* Belle 2 headers. */
18 #include <framework/datastore/RelationsObject.h>
19 #include <framework/gearbox/Const.h>
20 
21 namespace Belle2 {
30  class KLMMuidLikelihood : public RelationsObject {
31 
32  public:
33 
38 
43 
47  int getPDGCode() const
48  {
49  return m_PDGCode;
50  }
51 
55  int getCharge() const;
56 
61  double getPDFValue(int pdg) const
62  {
64  }
65 
69  double getMuonPDFValue() const
70  {
72  }
73 
77  double getPionPDFValue() const
78  {
80  }
81 
85  double getKaonPDFValue() const
86  {
88  }
89 
93  double getProtonPDFValue() const
94  {
96  }
97 
101  double getDeuteronPDFValue() const
102  {
104  }
105 
109  double getElectronPDFValue() const
110  {
112  }
113 
117  bool getJunkPDFValue() const
118  {
119  return m_JunkPDFValue;
120  }
121 
126  double getLogL(int pdg) const
127  {
128  return m_LogL[Const::ChargedStable(pdg).getIndex()];
129  }
130 
134  double getLogL_mu() const
135  {
136  return getLogL(Const::muon.getPDGCode());
137  }
138 
142  double getLogL_pi() const
143  {
144  return getLogL(Const::pion.getPDGCode());
145  }
146 
150  double getLogL_K() const
151  {
152  return getLogL(Const::kaon.getPDGCode());
153  }
154 
158  double getLogL_p() const
159  {
160  return getLogL(Const::proton.getPDGCode());
161  }
162 
166  double getLogL_d() const
167  {
169  }
170 
174  double getLogL_e() const
175  {
177  }
178 
182  double getChiSquared() const
183  {
184  return m_ChiSquared;
185  }
186 
191  {
192  return m_DegreesOfFreedom;
193  }
194 
200  unsigned int getOutcome() const
201  {
202  return m_Outcome;
203  }
204 
208  bool getIsForward() const
209  {
210  return m_IsForward;
211  }
212 
216  int getBarrelExtLayer() const
217  {
218  return m_BarrelExtLayer;
219  }
220 
224  int getEndcapExtLayer() const
225  {
226  return m_EndcapExtLayer;
227  }
228 
232  int getExtLayer() const
233  {
234  return m_ExtLayer;
235  }
236 
240  int getBarrelHitLayer() const
241  {
242  return m_BarrelHitLayer;
243  }
244 
248  int getEndcapHitLayer() const
249  {
250  return m_EndcapHitLayer;
251  }
252 
256  int getHitLayer() const
257  {
258  return m_HitLayer;
259  }
260 
264  unsigned int getExtLayerPattern() const
265  {
266  return m_ExtLayerPattern;
267  }
268 
272  unsigned int getHitLayerPattern() const
273  {
274  return m_HitLayerPattern;
275  }
276 
280  unsigned int getTotalBarrelHits() const;
281 
285  unsigned int getTotalEndcapHits() const;
286 
291  float getExtBKLMEfficiencyValue(int layer) const
292  {
293  return m_ExtBKLMEfficiencyValue[layer];
294  }
295 
300  float getExtEKLMEfficiencyValue(int layer) const
301  {
302  return m_ExtEKLMEfficiencyValue[layer];
303  }
304 
309  void setPDGCode(int pdg)
310  {
311  m_PDGCode = pdg;
312  }
313 
319  void setPDFValue(double pdfValue, int pdg)
320  {
321  m_PDFValue[Const::ChargedStable(pdg).getIndex()] = pdfValue;
322  }
323 
328  void setMuonPDFValue(double pdfValue)
329  {
330  setPDFValue(pdfValue, Const::muon.getPDGCode());
331  }
332 
337  void setPionPDFValue(double pdfValue)
338  {
339  setPDFValue(pdfValue, Const::pion.getPDGCode());
340  }
341 
346  void setKaonPDFValue(double pdfValue)
347  {
348  setPDFValue(pdfValue, Const::kaon.getPDGCode());
349  }
350 
355  void setProtonPDFValue(double pdfValue)
356  {
357  setPDFValue(pdfValue, Const::proton.getPDGCode());
358  }
359 
364  void setDeuteronPDFValue(double pdfValue)
365  {
367  }
368 
373  void setElectronPDFValue(double pdfValue)
374  {
376  }
377 
382  void setJunkPDFValue(bool flag)
383  {
384  m_JunkPDFValue = flag;
385  }
386 
392  void setLogL(double logL, int pdg)
393  {
394  m_LogL[Const::ChargedStable(pdg).getIndex()] = logL;
395  }
396 
401  void setLogL_mu(double logL)
402  {
403  setLogL(logL, Const::muon.getPDGCode());
404  }
405 
410  void setLogL_pi(double logL)
411  {
412  setLogL(logL, Const::pion.getPDGCode());
413  }
414 
419  void setLogL_K(double logL)
420  {
421  setLogL(logL, Const::kaon.getPDGCode());
422  }
423 
428  void setLogL_p(double logL)
429  {
431  }
432 
437  void setLogL_d(double logL)
438  {
440  }
441 
446  void setLogL_e(double logL)
447  {
449  }
450 
455  void setChiSquared(double chiSquared)
456  {
457  m_ChiSquared = chiSquared;
458  }
459 
464  void setDegreesOfFreedom(int dof)
465  {
466  m_DegreesOfFreedom = dof;
467  }
468 
475  void setOutcome(unsigned int outcome)
476  {
477  m_Outcome = outcome;
478  }
479 
484  void setIsForward(bool isForward)
485  {
486  m_IsForward = isForward;
487  }
488 
493  void setBarrelExtLayer(int layer)
494  {
495  m_BarrelExtLayer = layer;
496  }
497 
502  void setEndcapExtLayer(int layer)
503  {
504  m_EndcapExtLayer = layer;
505  }
506 
511  void setExtLayer(int layer)
512  {
513  m_ExtLayer = layer;
514  }
515 
520  void setBarrelHitLayer(int layer)
521  {
522  m_BarrelHitLayer = layer;
523  }
524 
529  void setEndcapHitLayer(int layer)
530  {
531  m_EndcapHitLayer = layer;
532  }
533 
538  void setHitLayer(int layer)
539  {
540  m_HitLayer = layer;
541  }
542 
547  void setExtLayerPattern(unsigned int pattern)
548  {
549  m_ExtLayerPattern = pattern;
550  }
551 
556  void setHitLayerPattern(unsigned int pattern)
557  {
558  m_HitLayerPattern = pattern;
559  }
560 
566  void setExtBKLMEfficiencyValue(int layer, float efficiency)
567  {
568  m_ExtBKLMEfficiencyValue[layer] = efficiency;
569  }
570 
576  void setExtEKLMEfficiencyValue(int layer, float efficiency)
577  {
578  m_ExtEKLMEfficiencyValue[layer] = efficiency;
579  }
580 
581  private:
582 
585 
588 
590  bool m_JunkPDFValue;
591 
594 
596  float m_ChiSquared;
597 
599  int m_DegreesOfFreedom;
600 
602  unsigned int m_Outcome;
603 
605  bool m_IsForward;
606 
608  int m_BarrelExtLayer;
609 
611  int m_EndcapExtLayer;
612 
614  int m_ExtLayer;
615 
617  int m_BarrelHitLayer;
618 
620  int m_EndcapHitLayer;
621 
623  int m_HitLayer;
624 
629  unsigned int m_ExtLayerPattern;
630 
635  unsigned int m_HitLayerPattern;
636 
639 
642 
645 
646  };
648 }
Belle2::KLMMuidLikelihood::getBarrelHitLayer
int getBarrelHitLayer() const
Get the outermost BKLM layer actually crossed by the track.
Definition: KLMMuidLikelihood.h:248
Belle2::KLMMuidLikelihood::getExtEKLMEfficiencyValue
float getExtEKLMEfficiencyValue(int layer) const
Get the efficiency of a given EKLM layer.
Definition: KLMMuidLikelihood.h:308
Belle2::KLMMuidLikelihood::getLogL_e
double getLogL_e() const
Get the log-likelihood for the electron hypothesis.
Definition: KLMMuidLikelihood.h:182
Belle2::KLMMuidLikelihood::getCharge
int getCharge() const
Get the charge of the particle hypothesis used during the extrapolation.
Definition: KLMMuidLikelihood.cc:49
Belle2::Const::ChargedStable::c_SetSize
static const unsigned int c_SetSize
Number of elements (for use in array bounds etc.)
Definition: Const.h:491
Belle2::KLMMuidLikelihood::getChiSquared
double getChiSquared() const
Get the chi-squared of the extrapolation.
Definition: KLMMuidLikelihood.h:190
Belle2::KLMMuidLikelihood::setElectronPDFValue
void setElectronPDFValue(double pdfValue)
Set the normalized PDF for the electron hypothesis.
Definition: KLMMuidLikelihood.h:381
Belle2::KLMMuidLikelihood::m_LogL
float m_LogL[Const::ChargedStable::c_SetSize]
Array of log-likelihoods.
Definition: KLMMuidLikelihood.h:601
Belle2::KLMMuidLikelihood::m_ChiSquared
float m_ChiSquared
Chi-squared of the extrapolation.
Definition: KLMMuidLikelihood.h:604
Belle2::KLMMuidLikelihood::getExtLayerPattern
unsigned int getExtLayerPattern() const
Get the pattern of the layers crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:272
Belle2::KLMMuidLikelihood::getOutcome
unsigned int getOutcome() const
Get the outcome of this extrapolation.
Definition: KLMMuidLikelihood.h:208
Belle2::KLMMuidLikelihood::getDeuteronPDFValue
double getDeuteronPDFValue() const
Get the normalized PDF for the deuteron hypothesis.
Definition: KLMMuidLikelihood.h:109
Belle2::KLMMuidLikelihood::setExtLayer
void setExtLayer(int layer)
Set the outermost EKLM layer crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:519
Belle2::KLMMuidLikelihood::getHitLayerPattern
unsigned int getHitLayerPattern() const
Get the pattern of the layers actually crossed by the track.
Definition: KLMMuidLikelihood.h:280
Belle2::Const::electron
static const ChargedStable electron
electron particle
Definition: Const.h:533
Belle2::KLMMuidLikelihood::KLMMuidLikelihood
KLMMuidLikelihood()
Constructor.
Definition: KLMMuidLikelihood.cc:17
Belle2::KLMMuidLikelihood::getLogL_p
double getLogL_p() const
Get the log-likelihood for the proton hypothesis.
Definition: KLMMuidLikelihood.h:166
Belle2::KLMMuidLikelihood::getTotalBarrelHits
unsigned int getTotalBarrelHits() const
Get the total number of crossed BKLM layers.
Definition: KLMMuidLikelihood.cc:60
Belle2::KLMMuidLikelihood::setBarrelExtLayer
void setBarrelExtLayer(int layer)
Set the outermost BKLM layer crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:501
Belle2::KLMMuidLikelihood::getExtLayer
int getExtLayer() const
Get the outermost KLM layer crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:240
Belle2::KLMMuidLikelihood::getMuonPDFValue
double getMuonPDFValue() const
Get the normalized PDF for the muon hypothesis.
Definition: KLMMuidLikelihood.h:77
Belle2::KLMMuidLikelihood::m_IsForward
bool m_IsForward
Flag to determine if this extrapolation is in forward or backward B/EKLM.
Definition: KLMMuidLikelihood.h:613
Belle2::KLMMuidLikelihood::~KLMMuidLikelihood
~KLMMuidLikelihood()
Destructor.
Definition: KLMMuidLikelihood.cc:45
Belle2::KLMMuidLikelihood::setHitLayer
void setHitLayer(int layer)
Set the outermost KLM layer actually crossed by the track.
Definition: KLMMuidLikelihood.h:546
Belle2::KLMMuidLikelihood::getPDGCode
int getPDGCode() const
Get the PDG code of the particle hypothesis used during the extrapolation.
Definition: KLMMuidLikelihood.h:55
Belle2::KLMMuidLikelihood::m_EndcapExtLayer
int m_EndcapExtLayer
Outermost EKLM layer crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:619
Belle2::KLMMuidLikelihood::setKaonPDFValue
void setKaonPDFValue(double pdfValue)
Set the normalized PDF for the kaon hypothesis.
Definition: KLMMuidLikelihood.h:354
Belle2::KLMMuidLikelihood::getHitLayer
int getHitLayer() const
Get the outermost KLM layer actually crossed by the track.
Definition: KLMMuidLikelihood.h:264
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2::KLMMuidLikelihood::setLogL
void setLogL(double logL, int pdg)
Set the log-likelihood.
Definition: KLMMuidLikelihood.h:400
Belle2::KLMMuidLikelihood::getIsForward
bool getIsForward() const
Return if this extrapolation is in forward or backward B/EKLM.
Definition: KLMMuidLikelihood.h:216
Belle2::KLMMuidLikelihood::setHitLayerPattern
void setHitLayerPattern(unsigned int pattern)
Set the pattern of the layers actually crossed by the track.
Definition: KLMMuidLikelihood.h:564
Belle2::KLMMuidLikelihood::getPDFValue
double getPDFValue(int pdg) const
Get the normalized PDF.
Definition: KLMMuidLikelihood.h:69
Belle2::KLMMuidLikelihood::m_HitLayerPattern
unsigned int m_HitLayerPattern
Pattern of the layers actually crossed by the track (bits 0..14 = BKLM layers 1..15,...
Definition: KLMMuidLikelihood.h:643
Belle2::KLMMuidLikelihood::setEndcapExtLayer
void setEndcapExtLayer(int layer)
Set the outermost EKLM layer crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:510
Belle2::KLMMuidLikelihood::setLogL_d
void setLogL_d(double logL)
Set the log-likelihood for the deuteron hypothesis.
Definition: KLMMuidLikelihood.h:445
Belle2::KLMMuidLikelihood::getDegreesOfFreedom
int getDegreesOfFreedom() const
Get the number of degrees of freedom (= 2 times the number of KLM hits) for the chi-squared computati...
Definition: KLMMuidLikelihood.h:198
Belle2::KLMMuidLikelihood::getEndcapHitLayer
int getEndcapHitLayer() const
Get the outermost EKLM layer actually crossed by the track.
Definition: KLMMuidLikelihood.h:256
Belle2::KLMMuidLikelihood::m_PDFValue
float m_PDFValue[Const::ChargedStable::c_SetSize]
Array of normalized PDFs.
Definition: KLMMuidLikelihood.h:595
Belle2::KLMMuidLikelihood::setDegreesOfFreedom
void setDegreesOfFreedom(int dof)
Set the number of degrees of freedom (= 2 times the number of KLM hits) for the chi-square computatio...
Definition: KLMMuidLikelihood.h:472
Belle2::KLMMuidLikelihood::getBarrelExtLayer
int getBarrelExtLayer() const
Get the outermost BKLM layer crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:224
Belle2::KLMMuidLikelihood::m_HitLayer
int m_HitLayer
Outermost KLM layer actually crossed by the track.
Definition: KLMMuidLikelihood.h:631
Belle2::KLMMuidLikelihood::setOutcome
void setOutcome(unsigned int outcome)
Set the outcome of this extrapolation.
Definition: KLMMuidLikelihood.h:483
Belle2::KLMMuidLikelihood::setIsForward
void setIsForward(bool isForward)
Set if this extrapolation is in forward or backward B/EKLM.
Definition: KLMMuidLikelihood.h:492
Belle2::KLMMuidLikelihood::m_ExtLayerPattern
unsigned int m_ExtLayerPattern
Pattern of the layers crossed in the extrapolation (bits 0..14 = BKLM layers 1..15,...
Definition: KLMMuidLikelihood.h:637
Belle2::KLMMuidLikelihood::setJunkPDFValue
void setJunkPDFValue(bool flag)
Set the junk flag (1 if junk, 0 if not).
Definition: KLMMuidLikelihood.h:390
Belle2::KLMMuidLikelihood::setLogL_e
void setLogL_e(double logL)
Set the log-likelihood for the electron hypothesis.
Definition: KLMMuidLikelihood.h:454
Belle2::KLMMuidLikelihood::m_Outcome
unsigned int m_Outcome
Outcome of this extrapolation.
Definition: KLMMuidLikelihood.h:610
Belle2::EKLMElementNumbers::getMaximalLayerNumber
static constexpr int getMaximalLayerNumber()
Get maximal layer number.
Definition: EKLMElementNumbers.h:291
Belle2::KLMMuidLikelihood::setExtEKLMEfficiencyValue
void setExtEKLMEfficiencyValue(int layer, float efficiency)
Set the efficiency of a given EKLM layer.
Definition: KLMMuidLikelihood.h:584
Belle2::KLMMuidLikelihood::m_ExtEKLMEfficiencyValue
float m_ExtEKLMEfficiencyValue[EKLMElementNumbers::getMaximalLayerNumber()]
Array of EKLM layer efficiencies.
Definition: KLMMuidLikelihood.h:649
Belle2::KLMMuidLikelihood::setExtLayerPattern
void setExtLayerPattern(unsigned int pattern)
Set the pattern of the layers crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:555
Belle2::Const::kaon
static const ChargedStable kaon
charged kaon particle
Definition: Const.h:536
Belle2::KLMMuidLikelihood::m_BarrelExtLayer
int m_BarrelExtLayer
Outermost BKLM layer crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:616
Belle2::KLMMuidLikelihood::m_BarrelHitLayer
int m_BarrelHitLayer
Outermost BKLM layer actually crossed by the track.
Definition: KLMMuidLikelihood.h:625
Belle2::KLMMuidLikelihood::getLogL_mu
double getLogL_mu() const
Get the log-likelihood for the muon hypothesis.
Definition: KLMMuidLikelihood.h:142
Belle2::KLMMuidLikelihood::getLogL
double getLogL(int pdg) const
Get the log-likelihood.
Definition: KLMMuidLikelihood.h:134
Belle2::KLMMuidLikelihood::getKaonPDFValue
double getKaonPDFValue() const
Get the normalized PDF for the kaon hypothesis.
Definition: KLMMuidLikelihood.h:93
Belle2::KLMMuidLikelihood::setBarrelHitLayer
void setBarrelHitLayer(int layer)
Set the outermost BKLM layer actually crossed by the track.
Definition: KLMMuidLikelihood.h:528
Belle2::Const::pion
static const ChargedStable pion
charged pion particle
Definition: Const.h:535
Belle2::KLMMuidLikelihood::m_EndcapHitLayer
int m_EndcapHitLayer
Outermost EKLM layer actually crossed by the track.
Definition: KLMMuidLikelihood.h:628
Belle2::KLMMuidLikelihood::getProtonPDFValue
double getProtonPDFValue() const
Get the normalized PDF for the proton hypothesis.
Definition: KLMMuidLikelihood.h:101
Belle2::BKLMElementNumbers::getMaximalLayerNumber
static constexpr int getMaximalLayerNumber()
Get maximal layer number (1-based).
Definition: BKLMElementNumbers.h:251
Belle2::KLMMuidLikelihood::setLogL_K
void setLogL_K(double logL)
Set the log-likelihood for the kaon hypothesis.
Definition: KLMMuidLikelihood.h:427
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::Const::deuteron
static const ChargedStable deuteron
deuteron particle
Definition: Const.h:538
Belle2::KLMMuidLikelihood::setLogL_pi
void setLogL_pi(double logL)
Set the log-likelihood for the pion hypothesis.
Definition: KLMMuidLikelihood.h:418
Belle2::KLMMuidLikelihood::getLogL_K
double getLogL_K() const
Get the log-likelihood for the kaon hypothesis.
Definition: KLMMuidLikelihood.h:158
Belle2::KLMMuidLikelihood::setPionPDFValue
void setPionPDFValue(double pdfValue)
Set the normalized PDF for the pion hypothesis.
Definition: KLMMuidLikelihood.h:345
Belle2::KLMMuidLikelihood::setExtBKLMEfficiencyValue
void setExtBKLMEfficiencyValue(int layer, float efficiency)
Set the efficiency of a given BKLM layer.
Definition: KLMMuidLikelihood.h:574
Belle2::KLMMuidLikelihood::getLogL_d
double getLogL_d() const
Get the log-likelihood for the deuteron hypothesis.
Definition: KLMMuidLikelihood.h:174
Belle2::KLMMuidLikelihood::setMuonPDFValue
void setMuonPDFValue(double pdfValue)
Set the normalized PDF for the muon hypothesis.
Definition: KLMMuidLikelihood.h:336
Belle2::KLMMuidLikelihood::setEndcapHitLayer
void setEndcapHitLayer(int layer)
Set the outermost EKLM layer actually crossed by the track.
Definition: KLMMuidLikelihood.h:537
Belle2::KLMMuidLikelihood::getJunkPDFValue
bool getJunkPDFValue() const
Get the junk flag (1 if junk, 0 if not).
Definition: KLMMuidLikelihood.h:125
Belle2::KLMMuidLikelihood::setChiSquared
void setChiSquared(double chiSquared)
Set the chi-squared of the extrapolation.
Definition: KLMMuidLikelihood.h:463
Belle2::KLMMuidLikelihood::m_JunkPDFValue
bool m_JunkPDFValue
Junk flag (1 if junk, 0 if not).
Definition: KLMMuidLikelihood.h:598
Belle2::Const::proton
static const ChargedStable proton
proton particle
Definition: Const.h:537
Belle2::KLMMuidLikelihood::getPionPDFValue
double getPionPDFValue() const
Get the normalized PDF for the pion hypothesis.
Definition: KLMMuidLikelihood.h:85
Belle2::RelationsObject
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Definition: RelationsObject.h:443
Belle2::KLMMuidLikelihood::setLogL_p
void setLogL_p(double logL)
Set the log-likelihood for the proton hypothesis.
Definition: KLMMuidLikelihood.h:436
Belle2::Const::ChargedStable
Provides a type-safe way to pass members of the chargedStableSet set.
Definition: Const.h:465
Belle2::KLMMuidLikelihood::setProtonPDFValue
void setProtonPDFValue(double pdfValue)
Set the normalized PDF for the proton hypothesis.
Definition: KLMMuidLikelihood.h:363
Belle2::Const::muon
static const ChargedStable muon
muon particle
Definition: Const.h:534
Belle2::KLMMuidLikelihood
Class to store the likelihoods from KLM with additional informations related to the extrapolation.
Definition: KLMMuidLikelihood.h:38
Belle2::KLMMuidLikelihood::setDeuteronPDFValue
void setDeuteronPDFValue(double pdfValue)
Set the normalized PDF for the deuteron hypothesis.
Definition: KLMMuidLikelihood.h:372
Belle2::KLMMuidLikelihood::getEndcapExtLayer
int getEndcapExtLayer() const
Get the outermost EKLM layer crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:232
Belle2::KLMMuidLikelihood::getExtBKLMEfficiencyValue
float getExtBKLMEfficiencyValue(int layer) const
Get the efficiency of a given BKLM layer.
Definition: KLMMuidLikelihood.h:299
Belle2::KLMMuidLikelihood::getElectronPDFValue
double getElectronPDFValue() const
Get the normalized PDF for the electron hypothesis.
Definition: KLMMuidLikelihood.h:117
Belle2::KLMMuidLikelihood::setPDFValue
void setPDFValue(double pdfValue, int pdg)
Set the normalized PDF.
Definition: KLMMuidLikelihood.h:327
Belle2::KLMMuidLikelihood::m_ExtLayer
int m_ExtLayer
Outermost KLM layer crossed in the extrapolation.
Definition: KLMMuidLikelihood.h:622
Belle2::Const::ParticleType::getIndex
int getIndex() const
This particle's index in the associated set.
Definition: Const.h:337
Belle2::KLMMuidLikelihood::getTotalEndcapHits
unsigned int getTotalEndcapHits() const
Get the total number of crossed EKLM layers.
Definition: KLMMuidLikelihood.cc:72
Belle2::KLMMuidLikelihood::m_DegreesOfFreedom
int m_DegreesOfFreedom
Number of degrees of freedom (= 2 times the number of KLM hits) for the chi-squared computation.
Definition: KLMMuidLikelihood.h:607
Belle2::KLMMuidLikelihood::setLogL_mu
void setLogL_mu(double logL)
Set the log-likelihood for the muon hypothesis.
Definition: KLMMuidLikelihood.h:409
Belle2::KLMMuidLikelihood::getLogL_pi
double getLogL_pi() const
Get the log-likelihood for the pion hypothesis.
Definition: KLMMuidLikelihood.h:150
Belle2::KLMMuidLikelihood::m_PDGCode
int m_PDGCode
PDG code of the particle hypothesis used during the extrapolation.
Definition: KLMMuidLikelihood.h:592
Belle2::KLMMuidLikelihood::m_ExtBKLMEfficiencyValue
float m_ExtBKLMEfficiencyValue[BKLMElementNumbers::getMaximalLayerNumber()]
Array of BKLM layer efficiencies.
Definition: KLMMuidLikelihood.h:646
Belle2::KLMMuidLikelihood::setPDGCode
void setPDGCode(int pdg)
Set the PDG code of the particle hypothesis used during the extrapolation.
Definition: KLMMuidLikelihood.h:317