11#include <framework/datastore/RelationsObject.h>
12#include <framework/gearbox/Const.h>
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.
Class to store TOP log likelihoods (output of TOPReconstructor).
float m_logL[Const::ChargedStable::c_SetSize]
log likelihoods
double getLogL_pi() const
Return pion log likelihood.
double getNphot_mu() const
Return number of expected photons for muon.
float getEstPhot(const Const::ChargedStable &part) const
Return estimated number of photons for a given particle.
double getNphot_e() const
Return number of expected photons for electron.
double getNphot_pi() const
Return number of expected photons for pion.
void setFlag(int flag)
Sets reconstruction flag.
void setModuleID(int moduleID)
Sets module ID.
double getX() const
Return assumed emision position within the quartz.
void set(const Const::ChargedStable &part, int numPhot, double logL, double estPhot, double estBkg, double effYield)
Sets other data members for a given particle hypothesis.
double getNphot_p() const
Return number of expected photons for proton.
double getLogL_e() const
Return electron log likelihood.
double getNphot_K() const
Return number of expected photons for kaon.
float getEffectiveSignalYield(const Const::ChargedStable &part) const
Return effective signal yield in data (number of signal photons)
void setXZ(double x, double z)
Sets assumed photon emission point within the quartz.
double getLogL_p() const
Return proton log likelihood.
float m_effYields[Const::ChargedStable::c_SetSize]
effective number of signal photons in data
int getModuleID() const
Return module ID.
float getEstBkg() const
Return estimated number of background photons.
double getZ() const
Return assumed emision position within the quartz.
int getFlag() const
Return reconstruction flag.
float m_estBkg
estimated background
int m_numPhot
number of photons
double getLogL_mu() const
Return muon log likelihood.
ClassDef(TOPLikelihood, 3)
ClassDef.
int m_flag
reconstruction flag
float getLogL(const Const::ChargedStable &part) const
Return log likelihood for a given particle.
float m_z
assumed photon emission position z in local (module) frame
TOPLikelihood()
default constructor
float m_x
assumed photon emission position x in local (module) frame
double getLogL_K() const
Return kaon log likelihood.
int getNphot() const
Return number of detected photons.
float m_estPhot[Const::ChargedStable::c_SetSize]
estimated number of photons
Abstract base class for different kinds of events.