1#ifndef __JASTRONOMY__JGEN2__
2#define __JASTRONOMY__JGEN2__
35 void set(
const double fS,
const double fB)
50 return std::accumulate(this->begin(), this->end(), 0.0, [](
const double y,
const JPseudoExperiment& px) {
return y + px.
getSignal(); } );
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure to fit signal strength using likelihood ratio.
Auxiliary data structure to fit signal strength using likelihood ratio for multiple pseudo experiment...
virtual JAspera & getAspera() override
Get fit method.
virtual stats_type run(JAspera &out) const
Generate pseudo experiment and transfer S/N values to fit method.
void set(const double fS, const double fB)
Set scaling factors of signal and background strengths.
double getSignal() const
Get total signal.
double getBackground() const
Get total background.
Statistics of pseudo experiment.
Auxiliary interface for pseudo experiment.
Pseudo experiment using CDF for combined generation and likelihood evaluation.
double getSignal() const
Get total signal.
double getBackground() const
Get total background.