 |
Belle II Software
release-05-02-19
|
11 #ifndef ARICHLIKELIHOOD_H
12 #define ARICHLIKELIHOOD_H
14 #include <framework/datastore/RelationsObject.h>
15 #include <framework/gearbox/Const.h>
75 float getLogL(
const Const::ChargedStable& part)
const
77 return m_logL[part.getIndex()];
94 float getExpPhot(
const Const::ChargedStable& part)
const
ARICHLikelihood()
default constructor
static const unsigned int c_SetSize
Number of elements (for use in array bounds etc.)
This is a class to store ARICH likelihoods in the datastore.
int m_detPhot
detected number of photons
float getLogL(const Const::ChargedStable &part) const
Return log likelihood for a given particle.
static const ChargedStable electron
electron particle
int getFlag() const
Get reconstruction flag.
double getNphot_mu() const
Get number of expected photons for muon.
double getLogL_e() const
Get electron log likelihood.
double getNphot_pi() const
Get number of expected photons for pion.
float getExpPhot(const Const::ChargedStable &part) const
Return number of expected photons for a given particle.
double getLogL_p() const
Get proton log likelihood.
double getLogL_pi() const
Get pion log likelihood.
void setValues(int flag, const double *logL, int detPhot, const double *expPhot)
Set values.
static const ChargedStable kaon
charged kaon particle
float getDetPhot() const
Return number of detected photons for a given particle.
double getNphot_p() const
Get number of expected photons for proton.
int m_flag
reconstruction flag
double getLogL_K() const
Get kaon log likelihood.
static const ChargedStable pion
charged pion particle
Abstract base class for different kinds of events.
double getNphot_K() const
Get number of expected photons for kaon.
float m_expPhot[Const::ChargedStable::c_SetSize]
expected number of photons
double getNphot_e() const
Get number of expected photons for electron.
static const ChargedStable proton
proton particle
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
static const ChargedStable muon
muon particle
ClassDef(ARICHLikelihood, 3)
the class title
double getLogL_mu() const
Get muon log likelihood.
int getIndex() const
This particle's index in the associated set.
float m_logL[Const::ChargedStable::c_SetSize]
log likelihoods