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);
65 const JModel
model(module, K40);
67 const int nx = model.getNumberOfPairs();
68 const double xmin = -0.5;
69 const double xmax = nx - 0.5;
78 for (
int ix = 1; ix <= h1.GetXaxis()->GetNbins(); ++ix) {
80 const Double_t
x = h1.GetXaxis()->GetBinCenter(ix);
83 const double rate = model.getValue(pair);
87 h1.SetBinContent(ix, rate);
90 cout <<
"Total rate " <<
FIXED(7,3) <<
R <<
" [Hz]." << endl;
Utility class to parse command line options.
JCombinatorics::pair_type pair_type
int main(int argc, char *argv[])
#define gmake_property(A)
macros 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.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary data structure for floating point format specification.
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.
then JCookie sh JDataQuality D $DETECTOR_ID R
Utility class to parse command line options.
Data structure for optical module.