23int main(
int argc,
char**argv)
28 size_t numberOfEvents;
40 zap[
'u'] =
make_field(nuisance,
"nuisance: \"<type> (parameters)+\"\n\twhere <type> can be:" << get_keys(nuisance.
getDictionary()));
46 catch(
const exception &error) {
47 FATAL(error.what() << endl);
50 gRandom->SetSeed(seed);
54 TH1D h0(
"h0", NULL, 100, -5.0, +5.0);
56 for (
size_t counter = 0; counter != numberOfEvents; ++counter) {
58 STATUS(
"counter: "<< setw(8) << counter <<
'\r');
DEBUG(endl);
60 h0.Fill(nuisance->get());
General purpose messaging.
#define DEBUG(A)
Message macros.
int main(int argc, char **argv)
Toy simulation to study nuisance.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Auxiliary methods to convert data members or return values of member methods of a set of objects to a...
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
const dictionary_type & getDictionary() const
Get dictionary.