[Next][Index][Thread]

KLOE/ OnX, "o" packages



	Hello 

   I you have some time to work on a KLOE event display,
 it is better to concentrate on the "o" packages, which
 are the successors of the OnX package for the LAL
 Orsay "Graphic and Visualization" project.

   The main internet access for the "o" package
 is: 

     htttp://www.lal.in2p3.fr/opacs/opacs.html

    Read the "Introduction , general motivation"
 which is the paper presented at the Chicago workshop
 HEPVis95.

   When you create an application where is now, in the
 main file, a full example of how to handle the drawing
 of some cubes.

   The "OType/OProp" system offer a uniform
 way to do selection of instances.
   If you don't need selection you can first
 forget this system and write directly some
 "draw" osh commands that create graphical objects
 for all instances in the event (could be done in F77). 

   About the OType system. Mainly you declare some 
 "types" with some "properties". You have to give 
 to the system the way to now the list of instances in the event, 
 by providing an ExtentProc. You have, for each type, 
 to give to the system the way of knowing the values 
 of a property of a given instance. This is done by 
 declaring some "GetVal/SetVal" routines that you 
 have to write. In these routines you have to do the
 C/YBOS interface to retreive from a BOS bank the
 value of a property.

   One of the "o" packages is the "G3o" package
 which is code to be able to do some graphic with GEANT3.
 Look otypeG3o.c, ogeant.f to see how the "VOLU", "KINE"
 types are declared to the "OType" system.

   If you want I can send you the version of Vis.c, Rep.c 
 for NA48 over the "o" packages.  I have an even more simple
 example with the NEMO3 experiment.

   Then, If you want to start working, the best is:
  - import/reconstruct the v1 "o" packages.
  - create an application.
  - look the cube exemple.
  - if KLOE has a GEANT3 database of its detector,
    play with the interface to draw GEANT volumes.
  - write a drawing of some KLOE event instances
    without selection. 
  - introduce selection by declaring KLOE types.

    On what system are you working ??? Porting
 has been done on HP-UX, OSF1, IRIX. A release 
 is quite ready for VMS.


          G.Barrand