Hi all, Some minor changes to BRAT: 2001-08-07 Christian Holm Christensen <cholm@hilux12.nbi.dk> * scripts/showeventfile.C: Put in some more (final?) details. * data/vertex/BrVertex.cxx, data/vertex/BrVertex.h, data/rdo/BrBbRdo.cxx, data/rdo/BrBbRdo.h, data/rdo/BrZdcRdo.h, data/rdo/BrZdcRdo.cxx: Added standard Print method * scripts/showeventfile.C: Added the script showeventfile.C that will show the contents of a number of event, using the Print method of the contained objects. Use as bratroot brat[0] .L showeventfile.C brat[1] showeventfile(<filename>, <print option>, <start event>, <max no events>) default is to start at 0'th event and show all events. * scripts/Makefile.am: Added the script showeventfile.C that will show the contents of a number of event, using the Print method of the contained objects. Use as bratroot brat[0] .L showeventfile.C brat[1] showeventfile(<filename>, <start event>, <max no events>) default is to start at 0'th event and show all events. Please note point 2 above. It's really nice to have standard Print options for all our classes. When writting module using Elisp brat-class, there's already a skeleton. For data classes, you'll have write them your self. If you know of a data class that doesn't have a Print method, could you please implment it? There's loads of inspirration to get in the data/rdo, data/vertex, data/raw directories. It's really a 5 minut job to implement, and worth hours when debugging! Yours, Christian ----------------------------------------------------------- Holm Christensen Phone: (+45) 35 35 96 91 Sankt Hansgade 23, 1. th. Office: (+45) 353 25 305 DK-2200 Copenhagen N Web: www.nbi.dk/~cholm Denmark Email: cholm@nbi.dk
This archive was generated by hypermail 2b30 : Tue Aug 07 2001 - 08:54:58 EDT