Data Stream Example

 

These pages contain pointers to source code and other things for the data stream example I've constructed. The data stream example is what is being used by CLEO at the moment and BaBar seems to have given serious thought to.

Here-in you will not find documentation on what streams are; I'm sorry. I'm about to leave on vac tomorrow morning and it is 1:30 so I just have time to get things on the web. Look on the objects page for a quick description of the major actors. I hope from that you can figure something out if you're in the dark about streams.

I have here running source code for a sample that can read data from a (text) file, call the streams begin run, end run, and data. It also demonstrates how something like dump event would be done. It takes advantage of the proposal made by Herb, myself, and Dhiman to use hooks in an independent way from the framework. As such, it uses dummy dumb hooks; when we have a first implementation of the hook structure I'll add it in.

I'm not convinced this is the right way to dispatch to hooks, however it is general; if the user wants to add a new hook they are not force to change the master framework program. Just implement a new data_source object and off they go. This easy of adding into an existing framework very much appeals to me.

I'll return to Providence, RI (and email) on Sat the 30th of November. I'm afraid all email will go unanswered till then (I'll be in Finnland, Sweeden, and Iceland... freezing (but I like that) with no email contact (I like that even more).

 


Gordon Watts (11/22/97)