<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 04/11/15 14:18, David Grellscheid wrote:
    <blockquote cite="mid:563A13CB.5090609@durham.ac.uk" type="cite">
      <blockquote type="cite">
        <blockquote type="cite">Isn't Beams::IP always going to be (0;
          0,0,0)? We used to have a
          <br>
          PrimaryVertex projection and it was totally pointless.
          <br>
        </blockquote>
        <br>
        I'd still leave it in. ThePEG can generate IP offsets (although
        nobody
        <br>
        uses them), and I could imagine other situations that we
        shouldn't lock
        <br>
        out.
        <br>
      </blockquote>
      <br>
      Let me clarify why for once I'm in favour of a (slightly) more
      complicated option: the fact that all current generators produce
      (0,0,0,0) here is not enforced by any of the tools we use
      upstream, it's just a coincidence. HepMC allows any value in that
      field, so we should be able to handle any value there.
      <br>
      <br>
        David
      <br>
      _______________________________________________
      <br>
      Rivet mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a>
      <br>
    </blockquote>
    <br>
    I have boiled down their code to these two lines of HepMC stuff:<br>
    <blockquote>const HepMC::GenVertex* vtx =
      p.genParticle()->production_vertex();<br>
      Vector3 d(vtx->position().x(), vtx->position().y(),
      vtx->position().z());<br>
    </blockquote>
    It's not perfect but it's just two lines that hardly justify changes
    to the Particle class.<br>
    I will put it into rivet like this now. <br>
    <br>
    A validation plot is attached.<br>
    <br>
    Thanks,<br>
    Holger<br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>