The use of Ntuple Cuts

The use of Ntuple Cuts

hi/file 2 rwn_aptuple.hbook 1 CUT $1 MOD(FLAG,2).EQ.0 1 CUT $2 MOD(FLAG,4)>1 1d 20 'Male/female and resident/non-resident Staff' 13 1 14 2 OPT BAR 2 SET BARW 0.4 2 SET BARO 0.1 max 20 600 3 LABELS 1 13 AG DD DG EF EP FI LEP PE PS SPS ST TH TIS set ndvx 13.15 set ndvy -506 ntuple/plot 10.division IDH=20 set htyp 244 ntuple/plot 10.division $2 option=S idh=20 set baro 0.5 set htyp 145 ntuple/plot 10.division $1 option=S idh=20 set htyp 154 ntuple/plot 10.division $1.and.$2 option=S idh=20 atitle 'Division' 'Number of staff'

  1. NTUPLE/CUTS allows to manipulate cuts. A cut identifier has the format $nn. It is possible to store the cuts in a file with the option `` W '' and read them afterwards with the option `` R ''. When a cut is defined it can be used in commands like NT/PLOT , NT/PROJ etc ... It also possible to define ``graphical cuts'' with the option ``G''. These cuts are specified interactively with the mouse. Graphical cuts are only operational for plots of the original Ntuple variables, not for expressions of these variables.

    Note also:

  2. The `` BAR '' option and the attributes `` BARW '' and `` BARO '' allow to draw bar charts. OPTION BAR is also active on LEGO plots.
  3. LABELS used with SET NDVX or SET NDVY allows to produce alphanumeric labeling on histograms with a numerical labelling.
  4. Histograms with alphanumeric binning are now available in HBOOK. A set of routines is available to manage such histograms. In PAW, the command SORT allows to reorder the labels. The next example demonstrates the possibilities offer by the SORT command.



Last update: 96/05/24 17.23
Olivier.Couet@Cern.Ch