27int main(
int argc,
char **argv)
39 JAbstractHistogram_t Xbinning;
42 JAbstractHistogram_t Ybinning;
53 zap[
'f'] =
make_field(inputFile,
"oscillation probability table file");
55 zap[
'X'] =
make_field(Xtype,
"abscissa type") =
59 zap[
'x'] =
make_field(Xbinning,
"abscissa binning")
60 = make_histogram(100, 1.0, 100.0);
61 zap[
'Y'] =
make_field(Ytype,
"ordinate type") =
65 zap[
'y'] =
make_field(Ybinning,
"ordinate binning")
66 = make_histogram(200, -1.0, 1.0);
67 zap[
'@'] =
make_field(parameters,
"oscillation parameters")
69 zap[
'#'] =
make_field(channel,
"oscillation channel")
70 =
JOscChannel(JFlavour_t::MUON, JFlavour_t::MUON, JChargeParity_t::PARTICLE);
76 catch (
const exception& error) {
77 FATAL(error.what() << endl);
84 Xbinning.getNumberOfBins(), Xbinning.getLowerLimit(), Xbinning.getUpperLimit(),
85 Ybinning.getNumberOfBins(), Ybinning.getLowerLimit(), Ybinning.getUpperLimit());
93 for (
int ix = 1; ix <= h0.GetXaxis()->GetNbins(); ++ix) {
94 for (
int iy = 1; iy <= h0.GetYaxis()->GetNbins(); ++iy) {
96 const double x = h0.GetXaxis()->GetBinCenter(ix);
97 const double y = h0.GetYaxis()->GetBinCenter(iy);
99 const double P = oscillogram.
getP(ix-1, iy-1);
103 h0.SetBinContent(ix, iy, P);