PAW Contributions


  • A set of macros to draw Feynman diagrams. The documentation in PostScript format is delivered with the package.

    Author: Mario Stipcevic


  • A set of useful macros. There is a README file there, which describes what the macros do. Some of them, notably NTFILL and NTSIZE, might be candidates for conversion to PAW commands of some sort.

    Author: Mike Kelsey

    A modified version of the window.kumac macro is available. It is also handling the LOGX,Y options in order to have a linear scale between 0 and 1 after the PUSH, and restored LOG/LIN scales after the POP.

    Modified by: Vincent Boudry

    A modified version of the ntfill.kumac macro is available. The initial version was written for the old the ntuple query processor. This version is working with the latest version of the ntuple query processor . It has also some extra functionalities.

    Modified by: Ilias Efthymiopoulos


  • A macro to move the statistic box
  • A macro to draw an interruption sign on an vertical or horizontal axis

    Author: Pierre Juillot (C.R.N Strasbourg)


  • A set of utilities to make or convert RW-Ntuples.

    Author: Nobuyuki Uemura (University of Tsukuba)


  • A macro to rebin histograms. It uses the command REBIN.

    Author: Laurent Farhi (Institut de Physique Nucleaire ORSAY)


  • A macro to find a histogram or ntuple given its title. Returns histogram ID as a macro return value. Returns 0 when cannot find histo with the specified name

    Author: Andrei Salnikov


  • The PAW macro FIT.KUMAC is an easy interface to fit several functions to a histogram.

    Author: Juergen Link

    Modification to support exponential too. The usage is still same, when one want to fit an exponential instead of Gaussian, just change 'g' into 'e', ie. exec fit id(min:max) g+&e or some other combinations.
    VECTOR ERRPARAMETER_VEC(100) is the vector containing the errors for fitted parameters, accessible to the user by "vec/pri ERRPARAMETER_VEC" after fit.

    Modified by: Jie Chen


  • ADDSTAT is a macro for adding extra lines to the histogram statistics box in PAW, i.e. the 'ID' 'Mean' 'Entries' 'RMS' statistics and fit statistics. For example,
     PAW> exec addstat 'Cut' '17b' 
     PAW> exec addstat 'Run' '23734' chopt=s
     PAW> exec addstat 'Beam' '600 MeV' chopt=s
    

  • FITGP is a macro for simplifying fitting a gaussian + polynomial background to a histogram. For example,
     PAW> exec fitgp 10 poly=2
    
    fits a gaussian + linear function to the histogram #10

  • VPLOT simplifies plotting data from vectors. The most usual instance is plotting data from a table in an ASCII file. For example,
     PAW> v/read year,signal,bkgd data.txt
     PAW> exec vplot Year Signal Bkgd ytitle='Events'
    
    The data is shown as connected line plots, with options for colors or markers.

    Author: Mark Lakata


  • 'hpl' is a kumac which, used in place of 'h/plot', greatly extends the syntax available for specifying the thing to be plotted. In particular, it permits arithmetic expressions with histograms, easy rebinning and projections, and additional plotting options such as setting the min and max. Operations which normally would require a sequence of several commands often can be done by 'hpl' on a single line. Yet, 'hpl' is easy to learn to use because anything that you can plot with 'h/plot' will be plotted identically by 'hpl'. Help on the syntax extensions is available by typing 'hpl#help'.

    Author: Peter Shawhan


  • 'ged' is a mini graphics editor kumac which allows to create basic graphics primitives like boxes, lines etc ... to be put in a kumac to make slides. The graphics primitives are created with the mouse. The resulting command is echoed on the screen and can then be cut and pasted in a assci kumac file.

    Author: Olivier Couet


  • This compressed tar file contains a macro (and a data set example) which does an "Aitoff" representation of an histogram having its data between (-180,+180) along the X axis and (-90,+90) along the Y axis.

    Author: Olivier Couet


  • Two macros to save and restore the attributes context, set_push.kumac to store and set_pop.kumac to restore. The equivalent macros exist also for the graphical options: opt_push.kumac to store the options and opt_pop.kumac to restore them.

    Author: Peter Niessen


  • An interface which will allow you easy booking of CWN's from C++. This will allow to use PAW nevertheless use nice C++ features in analysis programs.

    Author: Peter Niessen


  • This set of PAW macros can linearly interpolate a Z value for any (X,Y) point given some existing (X,Y,Z) points. The existing (X,Y,Z) points can be randomly scattered. The macros/fortran work by joining the existing points to make (Delaunay) triangles in (X,Y). These are then used to define flat planes in (X,Y,Z) over which to interpolate. The interpolated surface thus takes the form of tessellating triangles at various angles. The output can be a vector or a 2D histogram, and can be displayed as a 3D drawing of the triangles. It is neither guaranteed that the code is bug-free or will work under all circumstances.

    To run the example just do:
            PAW > gl/cre dtpath /home/username/deltri 
            PAW > exe /home/username/deltri/DTdemo
    

    Author: Luke Jones


  • An interface to read simple (flat) ROOT ntuples with PAW.

    Author: Jacob Lilly


  • A macro to manage arrays of global variables (inspired by the arrays in perl). Example:
            PAW > exec vec a 1 2 3
            PAW > exec vec + a 4 5
            PAW > g/li
             @ = 0 | macro return value
             a{0} = 5
             a{1} = 1
             a{2} = 2
             a{3} = 3
             a{4} = 4
             a{5} = 5
            PAW > 
    

    Author: Pietro Cortese


    Release Notes Known bugs FAQs Contributions Tutorial Reference manual Down load Miscellaneous

    Olivier.Couet@Cern.Ch