[Rivet] Converting from ROOT to yoda

Salvatore Rappoccio rappoccio at gmail.com
Wed Jul 13 21:48:54 BST 2016


Hi, Andy, All,

I am trying to convert a file full of histograms from ROOT to yoda. I tried
to do "root2flat" and then "flat2yoda". I got "root2flat" from here:

http://rivet.hepforge.org/svn/tags/rivet-1.6.0/bin/root2flat

I didn't see any root2flat in this SVN area :

http://rivet.hepforge.org/svn/tags/rivet-2.0.0b1/bin/


Then tried "flat2yoda" but it looks like the schema for the data format is
not backwards compatible, I get:

cmslpc32:$ flat2yoda CMS_SMP_16_010_data_ptbin0.dat
Traceback (most recent call last):
  File "/cvmfs/
cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_10/external/slc6_amd64_gcc530/bin/flat2yoda",
line 25, in <module>
    analysisobjects = yoda.readFLAT(i)
  File "yoda/include/IO.pyx", line 150, in yoda.core.readFLAT
(yoda/core.cpp:72398)
yoda.ReadError: Unexpected line in YODA format parsing when BEGIN expected




Any ideas? What should I do here? Where are the most up to date
instructions?


Cheers,
Sal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20160713/4c848252/attachment.html>


More information about the Rivet mailing list