Physics Analysis Workstation

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Physics Analysis Workstation
Original author(s) CERN
Initial release 1986
Stable release 2.13/08 / September 16, 2002; 9 years ago (2002-09-16)
Type Particle physics
Website http://paw.web.cern.ch/paw/
PAW screen capture
PAW - sample code output

The Physics Analysis Workstation (PAW) is an interactive, scriptable computer software tool for data analysis and graphical presentation in high energy physics. Developed at CERN since 1986, it is optimized for processing very large amounts of data. It is based on and intended for interoperation with components of CERNLIB, an extensive collection of Fortran libraries.

PAW has been a standard tool in high energy physics for decades, yet has essentially grown beyond maintainability[citation needed]. Despite continuing popularity as of 2008, it has recently been losing ground to the C++-based ROOT package.

[edit] Sample script

PAW uses its own scripting language. Here's a sample code (with its actual output), which can be used to plot data gathered in files.

*---------------------
* input data
*---------------------

vector/read X,Y input_file.dat

*--------------------------------
* eps plot
*--------------------------------

fort/file 55 gg_ggg_dsig_dphid_179181.eps
meta 55 -113

opt linx   | linear scale
opt logy   | logarithmic scale

* draw empy XY pane
graph/hplot/null 179.0 181.0 1e3 1e7

*------------------------------------
* here goes plot
*------------------------------------

set plci 1       | line color
set lwid 2       | line width
set dmod 1       | line type (solid, dotted, etc.)
graph 32 X Y l   | 32 stands for input data lines in input file

*-----------------
* plot title
*-----------------      

set txci 1
atitle '[f] (deg)' 'd[s]/d[f]! (mb)'

*------------------
* plot comments
*------------------

set txci 1
text 180.0 2e1 '[f]=179...181 deg' 0.12

close 55
return

[edit] External links

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages