30 int main(
int argc,
char **argv)
50 JParser<> zap(
"Auxiliary plot fit function of JFitK40.cc.");
58 catch(
const exception &error) {
59 FATAL(error.what() << endl);
63 const JModule module = getModule<JKM3NeT_t>(1001);
68 const double xmin = -0.5;
69 const double xmax = nx - 0.5;
77 h1.GetXaxis()->GetXmin(),
78 h1.GetXaxis()->GetXmax(),
83 fit.setModelParameters(fitk40.getModelParameters());
87 for (
int ix = 1; ix <= h1.GetXaxis()->GetNbins(); ++ix) {
89 const Double_t
x = h1.GetXaxis()->GetBinCenter(ix);
92 const double rate = fit.getValue(pair);
94 h1.SetBinContent(ix, rate);
Utility class to parse command line options.
JCombinatorics::pair_type pair_type
int main(int argc, char *argv[])
Data structure for a composite optical module.
#define gmake_property(A)
macro to convert (template) parameter to JPropertiesElement object
then set_variable singlesRate set_variable doublesRate set_variable numberOfSlices echo Generating random background echo Singles rate
Template specialisation of two-fold coincidence rate due to K40 and other radioactive decays...
Utility class to parse parameter values.
then for HISTOGRAM in h0 h1
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Utility class to parse parameter values.
I/O formatting auxiliaries.
Auxiliary class to sort pairs of PMT addresses within optical module.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
General purpose messaging.
Utility class to parse command line options.
Fit parameters for two-fold coincidence rate due to K40.
Data structure for optical module.