<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dear David,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Yes, that's true. In fact, I'm only really bothering with the ROOT output running for easier visual debugging. I guess I can just use the Rivet plotting scripts instead for the moment. It might be something that's worth looking into at some point, but it's not critical.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">James</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 October 2014 18:39, David Bjergaard <span dir="ltr"><<a href="mailto:david.bjergaard@gmail.com" target="_blank">david.bjergaard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi James,<br>
<br>
(Shooting from the hip).  It looks like it wouldn't be too hard (reading<br>
the Profile1D.h interface) to roll your own YODA->ROOT converter.<br>
<br>
Do you know where the code that handles Rivet->Root conversion?  If this<br>
is athena software then I suppose this issue gets punted downstream?<br>
Andy can better comment on what happens if ProfileBin1D::mean() is<br>
called with no entries (in my experience it should throw an exception).<br>
In that case it may be that this behavior has changed causing the athena<br>
code to fail.<br>
<br>
    Dave<br>
<div class="HOEnZb"><div class="h5"><br>
James Robinson <<a href="mailto:james.robinson@cern.ch">james.robinson@cern.ch</a>> writes:<br>
<br>
> Dear David and Andy,<br>
><br>
> Sorry about this, but I'm having another problem with my analysis'<br>
> Rivet routine. One of the histograms is a Profile1DPtr and, although<br>
> the .yoda output gives sensible numbers, the .root file has a TProfile<br>
> for which all bins are 0.<br>
><br>
> Obviously this isn't a problem in Rivet per se, but I guess it might<br>
> be a problem with the athena Rivet_i interface. The only thing I can<br>
> think of that might be weird about this histogram is that some bins<br>
> have no entries (so a naive call to ProfileBin1D::mean() might fail).<br>
><br>
> Any ideas about this one?<br>
><br>
> Thanks,<br>
> James<br>
</div></div></blockquote></div><br></div>