216216* username3: [str] Name assigned to User3
217217* restore_neutron: [0|1] If set, the monitor does not influence the neutron state. Equivalent to setting the 'parallel' option.
218218* geometry: [str] Name of an OFF file to specify a complex geometry detector
219- * nowritefile: [1] If set, monitor will skip writing to disk
219+ * nowritefile: [1] If set, monitor will skip writing to disk
220+ * nexus_bins: [1] NeXus mode only: store component BIN information <br>(-1 disable, 0 enable for list mode monitor, 1 enable for any montor)
220221*
221222* CALCULATED PARAMETERS:
222223*
@@ -235,7 +236,7 @@ SETTING PARAMETERS (
235236 xwidth=0, yheight=0, zdepth=0,
236237 xmin=0, xmax=0, ymin=0, ymax=0, zmin=0, zmax=0,
237238 int bins=0, min=-1e40, max=1e40, int restore_neutron=0, radius=0,
238- string options="NULL", string filename="NULL",string geometry="NULL", int nowritefile=0,
239+ string options="NULL", string filename="NULL",string geometry="NULL", int nowritefile=0, int nexus_bins=0,
239240 string username1="NULL", string username2="NULL", string username3="NULL"
240241)
241242/* these are protected C variables */
@@ -369,7 +370,7 @@ INITIALIZE
369370 if (!radius && !xwidth && !yheight && !zdepth && !xmin && !xmax && !ymin && !ymax && !strstr (Vars.option, "previous") && (!geometry || !strlen (geometry)))
370371 exit (printf ("Monitor_nD: %s has no dimension specified. Aborting (radius, xwidth, yheight, zdepth, previous, geometry).\n", NAME_CURRENT_COMP));
371372
372- Monitor_nD_Init (&DEFS, &Vars, xwidth, yheight, zdepth, xmin, xmax, ymin, ymax, zmin, zmax, offflag);
373+ Monitor_nD_Init (&DEFS, &Vars, xwidth, yheight, zdepth, xmin, xmax, ymin, ymax, zmin, zmax, offflag, nexus_bins );
373374
374375 if (Vars.Flag_OFF) {
375376 offdata.mantidflag = Vars.Flag_mantid;
0 commit comments