namespace Gambit::ExampleBit_A
[No description available]
Functions
Name | |
---|---|
double | some_other_function(int & input) Some other example function. |
double | logf(double x, double mu, double sig) Un-normalised gaussian log-likelihood. |
void | nevents_pred(double & result) |
void | nevents_like(double & result) |
void | particle_identity(str & result) |
void | nevents_pred_rounded(int & result) |
void | test_sigma(double & result) |
void | function_pointer_retriever(double(*&)(int &) result) |
void | example_damu(double & result) Example of interacting with models. |
void | lnL_gaussian(double & result) |
void | eventLoopManager() Run a fake ’event loop'. |
void | exampleEventGen(float & result) Produces a random floating-point ’event count’ between 0 and 5. |
void | exampleCut(int & result) Rounds an event count to the nearest integer. |
void | eventAccumulator(int & result) Adds an integral event count to a total number of accumulated events. |
void | do_Farray_stuff(double & result) |
void | local_xsection(double & result) |
void | large_print(std::map< std::string, double > & result) |
void | marg_poisson_test(double & result) Test inline marginalisation of a Poisson likelihood over a log-normally or Gaussianly-distributed nuisance parameter. |
void | Backend_array_test(double & result) Tester for C/C++ backend array interfaces. |
void | flat_likelihood(double & result) Flat test likelihood for checking prior distributions. |
void | const_one(int & result) A function that just returns 1. |
void | recursive_add_1(int & result) Chained addition function that adds 1. |
void | recursive_add_2(int & result) Chained addition function that adds 2. |
void | recursive_add_3(int & result) Chained addition function that adds 3. |
void | recursive_add_4(int & result) Chained addition function that adds 4. |
Attributes
Name | |
---|---|
double(*)(int &, const double &) | callback_pointer Pointer to some function. |
Functions Documentation
function some_other_function
double some_other_function(
int & input
)
Some other example function.
function logf
double logf(
double x,
double mu,
double sig
)
Un-normalised gaussian log-likelihood.
function nevents_pred
void nevents_pred(
double & result
)
function nevents_like
void nevents_like(
double & result
)
function particle_identity
void particle_identity(
str & result
)
function nevents_pred_rounded
void nevents_pred_rounded(
int & result
)
function test_sigma
void test_sigma(
double & result
)
function function_pointer_retriever
void function_pointer_retriever(
double(*&)(int &) result
)
function example_damu
void example_damu(
double & result
)
Example of interacting with models.
function lnL_gaussian
void lnL_gaussian(
double & result
)
Likelihood function for fitting the population parameters of a normal distribution (with hard-coded “observations”) Mainly used for testing scanning algorthims
function eventLoopManager
void eventLoopManager()
Run a fake ’event loop'.
function exampleEventGen
void exampleEventGen(
float & result
)
Produces a random floating-point ’event count’ between 0 and 5.
function exampleCut
void exampleCut(
int & result
)
Rounds an event count to the nearest integer.
function eventAccumulator
void eventAccumulator(
int & result
)
Adds an integral event count to a total number of accumulated events.
function do_Farray_stuff
void do_Farray_stuff(
double & result
)
function local_xsection
void local_xsection(
double & result
)
function large_print
void large_print(
std::map< std::string, double > & result
)
Scale test for various aspects of the printer buffer system Creates 1000 items to be printed per point
function marg_poisson_test
void marg_poisson_test(
double & result
)
Test inline marginalisation of a Poisson likelihood over a log-normally or Gaussianly-distributed nuisance parameter.
function Backend_array_test
void Backend_array_test(
double & result
)
Tester for C/C++ backend array interfaces.
function flat_likelihood
void flat_likelihood(
double & result
)
Flat test likelihood for checking prior distributions.
function const_one
void const_one(
int & result
)
A function that just returns 1.
function recursive_add_1
void recursive_add_1(
int & result
)
Chained addition function that adds 1.
function recursive_add_2
void recursive_add_2(
int & result
)
Chained addition function that adds 2.
function recursive_add_3
void recursive_add_3(
int & result
)
Chained addition function that adds 3.
function recursive_add_4
void recursive_add_4(
int & result
)
Chained addition function that adds 4.
Attributes Documentation
variable callback_pointer
double(*)(int &, const double &) callback_pointer;
Pointer to some function.
Updated on 2024-07-18 at 13:53:31 +0000