<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Rivet will need HepMC 2.03.04 or later in order for the VetoedFinalState projection to work properly (see below)<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">"noreply [Lynn Garren]" <<a href="mailto:noreply-savannah@cern.ch">noreply-savannah@cern.ch</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">5 February 2008 17:08:19 GMT</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Lars Sonnenschein <<a href="mailto:Lars.Sonnenschein@cern.ch">Lars.Sonnenschein@cern.ch</a>>, Lynn Garren <<a href="mailto:garren@fnal.gov">garren@fnal.gov</a>>, James Monk <<a href="mailto:jmonk@hep.ucl.ac.uk">jmonk@hep.ucl.ac.uk</a>>, Andreas Pfeiffer <<a href="mailto:andreas.pfeiffer@cern.ch">andreas.pfeiffer@cern.ch</a>>, Pere Mato <<a href="mailto:pere.mato@cern.ch">pere.mato@cern.ch</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>[bug #33077] Outgoing Z boson not stored in hard process vertex</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </div><br>This is an automated notification sent by LCG Savannah.<br>It relates to:<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>bugs #33077, project HepMC - a C++ Event Record for Monte Carlo Generators<br><br>==============================================================================<br> LATEST MODIFICATIONS of bugs #33077:<br>==============================================================================<br><br>Update of bug #33077 (project hepmc):<br><br> Status: None => Fixed <br> Open/Closed: Open => Closed <br><br> _______________________________________________________<br><br>Follow-up Comment #3:<br><br>The fix for this has been made available by Atlas. It is in cvs now and will<br>be available in the forthcoming releases 2.01.10 and 2.03.04.<br><br>==============================================================================<br> OVERVIEW of bugs #33077:<br>==============================================================================<br><br>URL:<br> <<a href="http://savannah.cern.ch/bugs/?33077">http://savannah.cern.ch/bugs/?33077</a>><br><br> Summary: Outgoing Z boson not stored in hard process vertex<br> Project: HepMC - a C++ Event Record for Monte Carlo<br>Generators<br> Submitted by: None<br> Submitted on: 2008-01-29 15:32<br> Category: None<br> Severity: 3 - Normal<br> Priority: 5 - Normal<br> Item Group: None<br> Status: Fixed<br> Privacy: Public<br> Assigned to: sonne<br> Originator Email: <a href="mailto:jmonk@hep.ucl.ac.uk">jmonk@hep.ucl.ac.uk</a><br> Open/Closed: Closed<br> Discussion Lock: Any<br><br> _______________________________________________________<br><br><br>Hi,<br><br>I've been trying to remove (from a Rivet projection) the decay products of<br>the Z boson in some fortran Herwig Drell-Yan events. The obvious way to do<br>this is to look through the ancestors of the lepton's production vertex for a<br>Z. When I tried this I noticed there weren't very many events with final<br>state leptons connected to a Z (or gamma), so I compared the hepevt common<br>from Herwig with the HepMC record. I found that the HepMC record is missing<br>the Z that is present in the hepevt common:<br><br>(hepevt):<br>***** HEPEVT Common Event#: 1, 235 particles (max 10000) ***** Double<br>Precision<br>4-byte integers, 8-byte floating point numbers, 10000-allocated entries.<br>Indx Stat Par- chil- ( P_x, P_y, P_z, Energy, M )<br><br> ID ents dren Prod ( X, Y, Z, cT) <br>[mm]<br>________________________________________________________________________________<br> 1 +101 0 0 ( 0, 0, 300, 300, <br>0.938)<br> +2212 0 0 ( 0, 0, 0, 0)<br> 2 +102 0 0 ( 0, 0, -300, 300, <br>0.938)<br> -2212 0 0 ( 0, 0, 0, 0)<br> 3 +103 1 0 ( 0, 0, 0, 600, <br>600)<br> +0 2 0 ( 0, 0, 0, 0)<br> 4 +121 6 9 ( 0, 0, 46.5, 46.5, <br>0.32)<br> +2 6 9 ( 0, 0, 0, 0)<br> 5 +122 6 14 ( 0, 0, -45.2, 45.2, <br>0.32)<br> -2 6 14 ( 0, 0, 0, 0)<br> 6 +120 4 7 ( -5.18, -2.02, 1.28, 91.9, <br>91.7)<br> +23 5 8 ( 0, 0, 0, 0)<br> ^^^^<br><br>(HepMC)<br>GenParticle: 1 ID:2212 (P,E)=0,0,300,300.001 Stat:101 PV:0 EV:-2 Pol:(-0,0)<br>F:0<br>GenParticle: 2 ID:-2212 (P,E)=0,0,-300,300.001 Stat:102 PV:0 EV:-3 Pol:(-0,0)<br>F:0<br>GenParticle: 3 ID:2 (P,E)=0,0,46.4977,46.4988 Stat:121 PV:-2 EV:-1 Pol:(-0,0)<br>F:0<br>GenParticle: 4 ID:-2 (P,E)=0,0,-45.2188,45.2199 Stat:122 PV:-3 EV:-1<br>Pol:(-0,0) F:0<br>GenParticle: 5 ID:14 (P,E)=6.63997,-1.33916,45.9957,46.4918 Stat:123 PV:-1<br>EV:-4 Pol:(-0,0) F:0<br>GenParticle: 6 ID:-14 (P,E)=-6.63997,1.33916,-44.7168,45.2269 Stat:124 PV:-1<br>EV:-5 Pol:(-0,0) F:0<br>GenParticle: 7 ID:2 (P,E)=-2.94741,-0.764536,48.0059,47.5284 Stat:141 PV:-1<br>EV:-6 Pol:(-0,0) F:0<br>GenParticle: 8 ID:21 (P,E)=2.07153,0.266261,6.91286,7.26033 Stat:2 PV:-6<br>EV:-7 Pol:(-0,0) F:0<br>GenParticle: 9 ID:21 (P,E)=0.875875,0.498275,5.94509,6.07635 Stat:2 PV:-6<br>EV:-8 Pol:(-0,0) F:0<br>....<br>GenParticle: 231 ID:22 (P,E)=-0.125745,-0.17355,-13.4178,13.4195 Stat:1<br>PV:-119 EV:0 Pol:(-0,0) F:0<br><br>So there is no pdg_id 23 particle in the HepMC record and it contains four<br>fewer particles than the hepevt record.<br><br>Comparing to ATLAS' implementation of IO_HERWIG<br>(<a href="http://atlas-sw.cern.ch/cgi-bin/viewcvs-atlas.cgi/offline/Simulation/HepMC/src/IO_HERWIG.cxx?view=markup">http://atlas-sw.cern.ch/cgi-bin/viewcvs-atlas.cgi/offline/Simulation/HepMC/src/IO_HERWIG.cxx?view=markup</a>)<br>I see that ATLAS have added a section of code especially to retain the boson<br>at the hard vertex (line 148-169):<br><br>//BPK-> index_hard retained if it is a boson<br><span class="Apple-tab-span" style="white-space:pre"> </span> int index_hard = 0;<br><span class="Apple-tab-span" style="white-space:pre"> </span> for ( int i = 1; i <=HEPEVT_Wrapper::number_entries(); i++ ) {<br><span class="Apple-tab-span" style="white-space:pre"> </span> if ( HEPEVT_Wrapper::status(i)==120 ) index_hard=i;<br><span class="Apple-tab-span" style="white-space:pre"> </span> if ( index_hard!=0 ) break;<br><span class="Apple-tab-span" style="white-space:pre"> </span> }<br><span class="Apple-tab-span" style="white-space:pre"> </span> <br><span class="Apple-tab-span" style="white-space:pre"> </span> if ( index_hard!=0) {<br><span class="Apple-tab-span" style="white-space:pre"> </span> hard_vtx->add_particle_out( hepevt_particle[index_hard] );<br><span class="Apple-tab-span" style="white-space:pre"> </span> GenVertex* hard_vtx2 = new GenVertex();<br><span class="Apple-tab-span" style="white-space:pre"> </span> hard_vtx2->add_particle_in( hepevt_particle[index_hard] );<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span> for ( int i = 1; i <= HEPEVT_Wrapper::number_entries(); ++i ) {<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>if ( HEPEVT_Wrapper::first_parent(i)==index_hard ) {<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span> hard_vtx2->add_particle_out( hepevt_particle[i] );<br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>}<br><span class="Apple-tab-span" style="white-space:pre"> </span> }<br><span class="Apple-tab-span" style="white-space:pre"> </span> evt->set_signal_process_vertex( hard_vtx );<br><span class="Apple-tab-span" style="white-space:pre"> </span> evt->set_signal_process_vertex( hard_vtx2 );<br><span class="Apple-tab-span" style="white-space:pre"> </span> }<br><span class="Apple-tab-span" style="white-space:pre"> </span> else {<br><span class="Apple-tab-span" style="white-space:pre"> </span> evt->set_signal_process_vertex( hard_vtx );<br><span class="Apple-tab-span" style="white-space:pre"> </span> }<br><br>Is it intentional that HepMC removes the Z boson from the event record (if<br>so, why?) or is this a bug in the official HepMC that ATLAS have fixed in<br>their private implementation?<br><br>thanks,<br><br>James<br><br><br><br> _______________________________________________________<br><br>Follow-up Comments:<br><br><br>-------------------------------------------------------<br>Date: 2008-02-05 17:08 By: Lynn Garren <garren><br>The fix for this has been made available by Atlas. It is in cvs now and will<br>be available in the forthcoming releases 2.01.10 and 2.03.04.<br><br>-------------------------------------------------------<br>Date: 2008-01-29 16:59 By: Anonymous<br>I saw this behaviour both with the current 2.03.03 version and the previous<br>2.02.01 that I had been using.<br><br>James<br><br>-------------------------------------------------------<br>Date: 2008-01-29 16:54 By: Lynn Garren <garren><br>Which version of HepMC?<br><br><br><br><br><br><br> _______________________________________________________<br><br>Carbon-Copy List:<br><br>CC Address | Comment<br>------------------------------------+-----------------------------<br>466 | -COM-<br><a href="mailto:jmonk@hep.ucl.ac.uk">jmonk@hep.ucl.ac.uk</a> | -SUB-<br><br><br><br><br>==============================================================================<br><br>This item URL is:<br> <<a href="http://savannah.cern.ch/bugs/?33077">http://savannah.cern.ch/bugs/?33077</a>><br><br>_______________________________________________<br> Message sent via/by LCG Savannah<br> <a href="http://savannah.cern.ch/">http://savannah.cern.ch/</a><br><br></blockquote></div><br></body></html>