#include <LikelihoodSpecies.h>
Public Member Functions | |
void | addPdf (LikelihoodPdf *pdf) |
std::vector< LikelihoodPdf * > | getListOfPdfs () |
const char * | getName () |
float | getPrior () |
std::map< std::string, float > | getSplitFractions () |
LikelihoodSpecies () | |
LikelihoodSpecies (const char *name, float prior) | |
void | setName (const char *name) |
void | setPrior (float prior) |
void | setSplitFraction (std::pair< std::string, float > splitfrac) |
virtual | ~LikelihoodSpecies () |
Private Attributes | |
std::string | _name |
std::vector< LikelihoodPdf * > | _pdfList |
float | _prior |
std::map< std::string, float > | _splitFractions |
Definition at line 9 of file LikelihoodSpecies.h.
|
inline |
Definition at line 11 of file LikelihoodSpecies.h.
LikelihoodSpecies::LikelihoodSpecies | ( | const char * | name, |
float | prior | ||
) |
Definition at line 3 of file LikelihoodSpecies.cc.
References _name, _prior, bookConverter::prior, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 8 of file LikelihoodSpecies.cc.
References _pdfList.
void LikelihoodSpecies::addPdf | ( | LikelihoodPdf * | ) |
Definition at line 19 of file LikelihoodSpecies.cc.
References _pdfList.
Referenced by LikelihoodPdfProduct::addPdf().
std::vector< LikelihoodPdf * > LikelihoodSpecies::getListOfPdfs | ( | ) |
Definition at line 31 of file LikelihoodSpecies.cc.
References _pdfList.
Referenced by LikelihoodPdfProduct::getSpeciesProb().
const char * LikelihoodSpecies::getName | ( | void | ) |
Definition at line 35 of file LikelihoodSpecies.cc.
References _name.
Referenced by LikelihoodPdfProduct::addPdf(), LikelihoodPdfProduct::getRatio(), LikelihoodPdfProduct::getSpeciesProb(), and LikelihoodPdfProduct::setSplitFrac().
float LikelihoodSpecies::getPrior | ( | ) |
Definition at line 39 of file LikelihoodSpecies.cc.
References _prior.
Referenced by LikelihoodPdfProduct::getSpeciesProb().
std::map< std::string, float > LikelihoodSpecies::getSplitFractions | ( | ) |
Definition at line 43 of file LikelihoodSpecies.cc.
References _splitFractions.
Referenced by LikelihoodPdfProduct::addPdf(), and LikelihoodPdfProduct::getRatio().
void LikelihoodSpecies::setName | ( | const char * | name | ) |
Definition at line 15 of file LikelihoodSpecies.cc.
References _name, and AlCaHLTBitMon_QueryRunRegistry::string.
void LikelihoodSpecies::setPrior | ( | float | prior | ) |
void LikelihoodSpecies::setSplitFraction | ( | std::pair< std::string, float > | splitfrac | ) |
Definition at line 27 of file LikelihoodSpecies.cc.
References _splitFractions.
Referenced by LikelihoodPdfProduct::setSplitFrac().
|
private |
Definition at line 30 of file LikelihoodSpecies.h.
Referenced by getName(), LikelihoodSpecies(), and setName().
|
private |
Definition at line 29 of file LikelihoodSpecies.h.
Referenced by addPdf(), getListOfPdfs(), and ~LikelihoodSpecies().
|
private |
Definition at line 31 of file LikelihoodSpecies.h.
Referenced by getPrior(), LikelihoodSpecies(), and setPrior().
|
private |
Definition at line 32 of file LikelihoodSpecies.h.
Referenced by getSplitFractions(), and setSplitFraction().