[Halld-offline] updates to svn trunk and dc-2 branch

Richard Jones richard.t.jones at uconn.edu
Sun Mar 2 21:57:35 EST 2014


Hello all,

I have fixed the problem of the hanging-opens on files that are not hddm
format but are being attempted to be read as such.  David's generic event
source registry for JANA allows a person to register any number of classes
that can act as event sources, so that an analyzer can take events from any
number of different kinds of sources (different hddm types, evio data
files, root files, etc.) and it automatically discovers which source class
can decode which file by trial and error.  This is perfectly reasonable
design, and goes along with run-time data type discovery and decoding.
 Predefined file extensions can serve as hints, but fixed
format-filename-suffix associations went out of use with MSDOS and the VAX
(anybody remember what these were?).

I have tested the revised code with two evio files that Mark D. shared with
me, and the one that used to hang on input (if it were given the .hddm
extension) now is immediately rejected as invalid hddm.  I also checked in
various other trivial revisions to get rid of compiler warnings, which now
stick out more than ever, thanks to David's new scons system, which I
applaud by the way. BMS, may you RIP.  David, no scons for hdds?

-Richard Jones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.jlab.org/pipermail/halld-offline/attachments/20140302/8de8165b/attachment.html 


More information about the Halld-offline mailing list