[Halla12_software] another point about geometry API.

Ole Hansen ole at jlab.org
Tue Apr 7 12:28:18 EDT 2015


On 04/06/2015 10:56 PM, Richard S. Holmes wrote:
> On Mon, Apr 6, 2015 at 4:51 PM, Thomas K Hemmick
> <hemmick at skipper.physics.sunysb.edu
> <mailto:hemmick at skipper.physics.sunysb.edu>> wrote:
> 
>     I)  Root streamers mean that with ZERO WORK, we can store/retrieve
>     the detector definition objects to/from a file.
> 
> 
> It seems to me, unless I'm mistaken, there's a few words missing from
> the end of this sentence, which are: "in a C++ program linked against
> ROOT".

Rich's point is similar to one I wanted to bring up: The idea of using
ROOT streamers implies major design decisions that haven't been made
yet: That (at least parts of) the framework will require C++ and ROOT,
and that we wish to standardize on ROOT files.

This point is significant because, among other things, neither the Hall
B nor the Hall D framework are built on ROOT, and Hall B's framework (as
well as much other JLab software) is not primarily written in C++. In
other words, if we want to build on ROOT, we're effectively ruling out
building on either of those frameworks. Similarly, neither framework
relies primarily on the ROOT file format; for instance, Hall D's
framework makes heavy use of XML and its own schema definitions.
(ROOT/C++/streamers are being used in the Hall A analyzer, however.)
This just for reference.

I still thinking about the wisdom of using streamers in general for
things like geometry parameters. There are pros and cons. More on that
later.

Ole

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ole.vcf
Type: text/x-vcard
Size: 321 bytes
Desc: not available
Url : https://mailman.jlab.org/pipermail/halla12_software/attachments/20150407/626059d8/attachment.vcf 


More information about the Halla12_software mailing list