<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 15/08/12 18:46, Hannes Jung wrote:<br>
    </div>
    <blockquote cite="mid:319676FE-F310-4F6A-BA61-3CDDCBCE69EB@cern.ch"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div class="BodyFragment"><font size="2"><span
            style="font-size:10pt;">
            <div class="PlainText">Dear Developers<br>
              <br>
              we are trying to code an analysis, and I have produced a
              aida file with the datapoints... and want to use it to
              book the hostograms.<br>
              The file is accessed, but I get a segementation fault:<br>
              <br>
              ~/jung/cvs/mycascade/bin>  rivet -a WZelectron
              /tmp/example.out      <br>
              Rivet 1.8.0 running on machine localhost (x86_64)<br>
              Rivet.Analysis.Handler: WARN  Analysis 'WZelectron' is
              unvalidated: be careful, it may be broken!<br>
              python(84455) malloc: *** mmap(size=3237418269134848)
              failed (error code=12)<br>
              *** error: can't allocate region<br>
              *** set a breakpoint in malloc_error_break to debug<br>
              zsh: segmentation fault  rivet -a WZelectron
              /tmp/example.out<br>
              <br>
              I attach the aida data file to this mail.... <br>
              Any hint, what could be wrong would be very welcome....<br>
            </div>
          </span></font></div>
    </blockquote>
    <br>
    Hi Hannes,<br>
    <br>
    the AIDA file is badly formatted, i.e. it misses the "REF" prefix
    and the<br>
    analysis name in the histogram keys. This is what the keys look like
    at the moment:<br>
    <blockquote>/d01-x01-y01<br>
    </blockquote>
    they need to look like this<br>
    <blockquote>/REF/YOURANALYSISNAME/d01-x01-y01<br>
    </blockquote>
    I suggest you do<br>
    <blockquote>aida2flat WZelectron.aida > temp.dat<br>
    </blockquote>
    then edit/sed  temp.dat accordingly and then call<br>
    <blockquote>flat2aida temp.dat<br>
    </blockquote>
    This will give you the file temp.aida<br>
    In order to have this recognised by Rivet you need to rename the
    file to<br>
    <blockquote>YOURANALYSISNAME.aida<br>
    </blockquote>
    and put it somewhere where Rivet can find it.<br>
    <br>
    Holger<br>
    <br>
    <blockquote cite="mid:319676FE-F310-4F6A-BA61-3CDDCBCE69EB@cern.ch"
      type="cite">
      <div class="BodyFragment"><font size="2"><span
            style="font-size:10pt;">
            <div class="PlainText">
              <br>
              Thanks a lot<br>
              Cheers<br>
              Hannes<br>
              <br>
            </div>
          </span></font></div>
      <div class="BodyFragment"><font size="2"><span
            style="font-size:10pt;">
            <div class="PlainText"><br>
***********************************************************************<br>
              Hannes Jung <br>
              Email: <a class="moz-txt-link-abbreviated" href="mailto:Hannes.Jung@desy.de">Hannes.Jung@desy.de</a> <br>
              mobile :+49 40 8998 93741<br>
              <a moz-do-not-send="true"
                href="http://www.desy.de/%7Ejung">http://www.desy.de/~jung</a>                                          
              <br>
              Tel: +49 (0) 40 8998 3741         <br>
              Fax: +49 (0) 40 8998 3093 <br>
              DESY, CMS 01B/02.213<br>
              Notkestr.85, 22603 Hamburg, FRG   <br>
***********************************************************************<br>
              <br>
              <br>
              <br>
              <br>
            </div>
          </span></font></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Rivet mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a>
<a class="moz-txt-link-freetext" href="http://www.hepforge.org/lists/listinfo/rivet">http://www.hepforge.org/lists/listinfo/rivet</a></pre>
    </blockquote>
    <br>
  </body>
</html>