31 int main(
int argc, 
char **argv)
 
   35   using namespace KM3NETDAQ;
 
   37   JFitK40Parameters fitk40;               
 
   52     JParser<> zap(
"Auxiliary plot fit function of JFitK40.cc.");
 
   60   catch(
const exception &error) {
 
   61     FATAL(error.what() << endl);
 
   69   const int    nx   = combinatorics.getNumberOfPairs();
 
   70   const double xmin = -0.5;
 
   71   const double xmax = nx - 0.5;
 
   76   TH1D 
h1(
"h1", NULL, nx, xmin, xmax);
 
   79               h1.GetXaxis()->GetXmin(),
 
   80               h1.GetXaxis()->GetXmax(),
 
   85   fit.setModelParameters(fitk40.getModelParameters());
 
   87   fit.sort(JPairwiseComparator(module));
 
   89   for (
int ix = 1; ix <= h1.GetXaxis()->GetNbins(); ++ix) {
 
   91     const Double_t x = h1.GetXaxis()->GetBinCenter(ix);
 
   94     const double             rate = fit.getValue(pair);
 
   96     h1.SetBinContent(ix, rate);
 
Utility class to parse command line options. 
 
JCombinatorics::pair_type pair_type
 
#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
 
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. 
 
T & getInstance(const T &object)
Get static instance from temporary object. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
General purpose messaging. 
 
Utility class to parse command line options. 
 
KM3NeT DAQ constants, bit handling, etc. 
 
static const int NUMBER_OF_PMTS
Total number of PMTs in module. 
 
Data structure for a composite optical module. 
 
int main(int argc, char *argv[])