#include <DipzLikelihoodCmp.h>
Definition at line 40 of file DipzLikelihoodCmp.h.
◆ DipzLikelihood()
DipzLikelihood::DipzLikelihood |
( |
const std::string & |
decName_z, |
|
|
const std::string & |
decName_negLogSigma2 |
|
) |
| |
◆ ~DipzLikelihood()
DipzLikelihood::~DipzLikelihood |
( |
| ) |
|
|
default |
◆ calcDenom()
double DipzLikelihood::calcDenom |
( |
double |
acmlt, |
|
|
const pHypoJet & |
ip |
|
) |
| const |
|
private |
◆ calcLogTerm()
double DipzLikelihood::calcLogTerm |
( |
double |
acmlt, |
|
|
const pHypoJet & |
ip, |
|
|
double |
zhat |
|
) |
| const |
|
private |
Definition at line 63 of file DipzLikelihoodCmp.cxx.
69 double dipz_negLogSigmaSq =
72 double sigma_squared =
std::exp(-1 * dipz_negLogSigmaSq);
76 + 0.5 * dipz_negLogSigmaSq
79 return acml + logterm;
◆ calcNum()
double DipzLikelihood::calcNum |
( |
double |
acmlt, |
|
|
const pHypoJet & |
ip |
|
) |
| const |
|
private |
Definition at line 42 of file DipzLikelihoodCmp.cxx.
44 double sigma_squared =
47 double muoversigmasq =
50 return acml + muoversigmasq;
◆ checkedRatio()
double DipzLikelihood::checkedRatio |
( |
double |
num, |
|
|
double |
den |
|
) |
| const |
|
private |
Definition at line 17 of file DipzLikelihoodCmp.cxx.
21 throw std::runtime_error(
"DipzLikelihood::checkedRatio dividing by 0");
◆ getDipzMLPLDecValue()
double DipzLikelihood::getDipzMLPLDecValue |
( |
const pHypoJet & |
ip, |
|
|
const std::string & |
decName |
|
) |
| const |
|
private |
Definition at line 27 of file DipzLikelihoodCmp.cxx.
32 if (!(
ip->getAttribute(decName, momentValue))) {
33 throw std::runtime_error(
"Impossible to retrieve decorator \'" +
34 decName +
"\' for jet hypo");
◆ operator()()
Definition at line 84 of file DipzLikelihoodCmp.cxx.
90 return this->calcNum(sum, jp);});
96 return this->calcDenom(sum, jp);});
105 return this->calcLogTerm(sum, jp, zhat);});
◆ m_decName_negLogSigma2
const std::string DipzLikelihood::m_decName_negLogSigma2 |
|
private |
◆ m_decName_z
const std::string DipzLikelihood::m_decName_z |
|
private |
The documentation for this class was generated from the following files: