21int main(
int argc,
char **argv)
46 catch(
const exception& error) {
47 FATAL(error.what() << endl);
51 gRandom->SetSeed(seed);
63 for (
size_t i = 0; i != N; ++i) {
64 buffer.push_back(start + i);
73 for (
size_t counter = 0; counter != M; ++counter) {
77 for (
size_t i = 0; i != k; ++i) {
79 const size_t l = gRandom->Integer(N - i);
85 swap(buffer[l], buffer[N - i - 1]);
88 Q[0].
put(getMinimumVarianceUnbiasedEstimator(m, k, start));
89 Q[1].
put(getBayesianMedian(m, k, start));
90 Q[2].
put(getBayesianMean(m, k, start));
93 if (
debug >= debug_t) {
95 for (
size_t i = 0; i !=
sizeof(Q)/
sizeof(Q[0]); ++i) {
99 if (Q[i].getCount() > 1) {
Auxiliary methods for mathematics.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
const std::string & getTitle() const
Get title.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for floating point format specification.