Wednesday, 25 July 2007

Root libs and bytestreams

A couple of one-off tasks today: 
  1. Make sure I can compile against root libraries in xcode in the latest version of root.
  2. Create a bytestream readable by clusterization, for testing.
The idea with (2) would be eventually to make an xml file with a schema which describes SCT hits for a few vents (max 10) for testing various parts of the SCT code. Initially I'll make one which refers to events using rod/link notation and then finally one which can use detector coordinates, although this will need an additional cabling file.
So stages of this task (for today) are:
  • chop an existing bytestream file, read it
  • change parts of the file programatically, read it
  • change the file using an xml event description, read it
  • make an xml schema for the event description
...and for the future:
  • read a cabling file in the same program
  • change the xml schema to allow detector coordinates
  • read and create events using detector coordinates
Side tasks today include: looking at the OKS database to see whether we can use it, either directly or in its COOL form, and possibly looking at how to make a SOAP request to the AMI database.

Noon: Task (1) complete and written up here, under 'ROOT and XCode'.

No comments: