9#ifndef ARICHLIKELIHOOD_H
10#define ARICHLIKELIHOOD_H
12#include <framework/datastore/RelationsObject.h>
13#include <framework/gearbox/Const.h>
This is a class to store ARICH likelihoods in the datastore.
float m_logL[Const::ChargedStable::c_SetSize]
log likelihoods
ClassDef(ARICHLikelihood, 3)
the class title
double getLogL_pi() const
Get pion log likelihood.
double getNphot_mu() const
Get number of expected photons for muon.
double getNphot_e() const
Get number of expected photons for electron.
double getNphot_pi() const
Get number of expected photons for pion.
ARICHLikelihood()
default constructor
float m_expPhot[Const::ChargedStable::c_SetSize]
expected number of photons
double getNphot_p() const
Get number of expected photons for proton.
double getLogL_e() const
Get electron log likelihood.
double getNphot_K() const
Get number of expected photons for kaon.
double getLogL_p() const
Get proton log likelihood.
int getFlag() const
Get reconstruction flag.
double getLogL_mu() const
Get muon log likelihood.
void setValues(int flag, const double *logL, int detPhot, const double *expPhot)
Set values.
float getDetPhot() const
Return number of detected photons for a given particle.
int m_flag
reconstruction flag
float getLogL(const Const::ChargedStable &part) const
Return log likelihood for a given particle.
double getLogL_K() const
Get kaon log likelihood.
int m_detPhot
detected number of photons
float getExpPhot(const Const::ChargedStable &part) const
Return number of expected photons for a given particle.
Provides a type-safe way to pass members of the chargedStableSet set.
static const unsigned int c_SetSize
Number of elements (for use in array bounds etc.)
int getIndex() const
This particle's index in the associated set.
static const ChargedStable muon
muon particle
static const ChargedStable pion
charged pion particle
static const ChargedStable proton
proton particle
static const ChargedStable kaon
charged kaon particle
static const ChargedStable electron
electron particle
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.