<div dir="ltr">Hi,<div><br>I believe the intended behavior is this:</div><div><br></div><div>1) --ignore-beams won't require the beam in your hepmc file to match the beam type expected by the analysis.</div><div><br></div><div>2) --ignore-beams still won't allow different beam types to be analyzed in the same run, because this is usually quite a strange thing to want to do.</div><div><br></div><div>Unfortunately I'm not sure the "right" way to achieve what you want. Is it possible to split the events into two separate runs, one with P-P, one with P-N, and one with N-N collisions?</div><div><br></div><div>Chris</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 14, 2017 at 5:24 AM, Yang Ting Chien <span dir="ltr"><<a href="mailto:ytchien@mit.edu" target="_blank">ytchien@mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt"><span style="font-size:13.3333px">Dear Deepak,</span>
<div style="font-size:13.3333px"><br>
</div>
<div style="font-size:13.3333px">Thanks for the prompt reply! I tried adding the option --ignore-beams when running rivet but it still did not work.</div>
<div style="font-size:13.3333px"><br>
</div>
<div style="font-size:13.3333px">I did</div>
<div style="font-size:13.3333px"><br>
</div>
<div style="font-size:13.3333px"><span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font size="2">rivet-buildplugin RivetJEWEL_test.so JEWEL_test.cc</font></span></div>
<div style="font-size:13.3333px"><font size="2"><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></font></div>
<div style="font-size:13.3333px"><font size="2"><span style="font-variant-ligatures:no-common-ligatures">and then</span></font></div>
<div style="font-size:13.3333px"><font size="2"><span style="font-variant-ligatures:no-common-ligatures"><br>
</span></font></div>
<div style="font-size:13.3333px">
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">rivet </font></span><span style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">--ignore-beams </font></span><span style="font-family:Tahoma;font-size:small;font-variant-ligatures:no-common-ligatures">--analysi<wbr>s=JEWEL_test
 test.hepmc</span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span style="font-family:Tahoma;font-size:small;font-variant-ligatures:no-common-ligatures"><br>
</span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span style="font-family:Tahoma;font-size:small;font-variant-ligatures:no-common-ligatures">and I still get something like</span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span style="font-family:Tahoma;font-size:small;font-variant-ligatures:no-common-ligatures"><br>
</span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 100 (0:00:00 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 200 (0:00:00 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 300 (0:00:00 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 400 (0:00:01 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 500 (0:00:01 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 600 (0:00:01 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 700 (0:00:01 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 800 (0:00:01 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 900 (0:00:01 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 1000 (0:00:01 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 1100 (0:00:02 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 1200 (0:00:02 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 1300 (0:00:02 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 1400 (0:00:02 elapsed)</font></span></p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event 1500 (0:00:02 elapsed)</font></span></p><span>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
</p>
<p class="m_-7864439702489276974m_-1904509367458725309p1" style="margin-right:0px;margin-left:0px;font-stretch:normal;font-size:17px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<span class="m_-7864439702489276974m_-1904509367458725309s1" style="font-variant-ligatures:no-common-ligatures"><font face="Tahoma" size="2">Event beams mismatch: [PROTON, NEUTRON] @ 5020 GeV vs. first beams [PROTON @ (2510; 0, 0, 2510) GeV, PROTON @ (2510; 0, 0, -2510) GeV] @ 5020 GeV</font></span></p>
<div><br>
</div>
</span><div>It looks like rivet ignores the ignore-beams option...</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Yang-Ting</div>
</div><span>
<div><br>
<div style="font-family:Tahoma;font-size:13px">LHC Theory Initiative Fellow<br>
MIT Center for Theoretical Physics<br>
<a href="tel:(617)%20253-7194" value="+16172537194" target="_blank">617-253-7194</a><br>
</div>
</div>
</span><div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_-7864439702489276974m_-1904509367458725309divRpF7222" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Deepak Kar [<a href="mailto:deepak.kar@cern.ch" target="_blank">deepak.kar@cern.ch</a>]<br>
<b>Sent:</b> Tuesday, June 13, 2017 5:51 PM<br>
<b>To:</b> Yang Ting Chien<br>
<b>Cc:</b> <a href="mailto:rivet@projects.hepforge.org" target="_blank">rivet@projects.hepforge.org</a><br>
<b>Subject:</b> Re: [Rivet] turn off "Event beams mismatch error"<br>
</font><br>
</div><div><div class="m_-7864439702489276974h5">
<div></div>
<div>
<div dir="ltr">--ignore-beams<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jun 13, 2017 at 10:21 PM, Yang Ting Chien <span dir="ltr">
<<a href="mailto:ytchien@mit.edu" target="_blank">ytchien@mit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<div style="direction:ltr;color:rgb(0,0,0)"><span style="font-family:Tahoma;font-size:13.3333px">Dear Rivet authors,</span>
<div style="font-family:Tahoma;font-size:13.3333px"><br>
</div>
<div style="font-family:Tahoma;font-size:13.3333px">I am starting to use Rivet to analyze some hepmc files I generated using jewel, a heavy ion collision generator. Since protons and neutrons are both present in a heavy nuclei, I have beams of protons and
 neutrons present in the hepmc event file. However, rivet detects the beam mismatch and gives the following error message and exits:</div>
<div style="font-family:Tahoma;font-size:13.3333px"><span style="background-color:rgb(255,255,255);font-family:Menlo;font-size:17px"><br>
</span></div>
<div><span style="background-color:rgb(255,255,255)"><font size="2">Event beams mismatch: [PROTON, NEUTRON] @ 5020 GeV vs. first beams [PROTON @ (2510; 0, 0, 2510) GeV, PROTON @ (2510; 0, 0, -2510) GeV] @ 5020 GeV</font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font size="2"><br>
</font></span></div>
<div><font size="2"><span style="background-color:rgb(255,255,255)">I couldn't find a way to successfully ask rivet to skip this beam check. Could you help me resolve this issue? I attached an analysis I will extend to include jet substructure studies.</span></font></div>
<div><font size="2"><span style="background-color:rgb(255,255,255)"><br>
</span></font></div>
<div><font size="2"><span style="background-color:rgb(255,255,255)">Thank a lot,</span></font></div>
<div><font size="2"><span style="background-color:rgb(255,255,255)">Yang-Ting</span></font></div>
<div style="font-family:Tahoma;font-size:10pt">
<div><br>
<div style="font-family:Tahoma;font-size:13px">LHC Theory Initiative Fellow<br>
MIT Center for Theoretical Physics<br>
<a href="tel:(617)%20253-7194" value="+16172537194" target="_blank">617-253-7194</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Rivet mailing list<br>
<a href="mailto:Rivet@projects.hepforge.org" target="_blank">Rivet@projects.hepforge.org</a><br>
<a href="https://www.hepforge.org/lists/listinfo/rivet" rel="noreferrer" target="_blank">https://www.hepforge.org/lists<wbr>/listinfo/rivet<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-7864439702489276974m_-1904509367458725309gmail_signature">Deepak Kar<br>
University of Witwatersrand<br>
Room PM15, School of Physics<br>
(0027) 011-7176958 (office) (0027) 0736944181 (mobile)<br>
<br>
While at CERN:<br>
Building 1, R-016<br>
(0041) 0767321349 (mobile)<br>
<br>
While at USA:<br>
(001) 330-998-1500 (mobile)</div>
</a></blockquote>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Rivet mailing list<br>
<a href="mailto:Rivet@projects.hepforge.org" target="_blank">Rivet@projects.hepforge.org</a><br>
<a href="https://www.hepforge.org/lists/listinfo/rivet" rel="noreferrer" target="_blank">https://www.hepforge.org/lists<wbr>/listinfo/rivet</a><br></blockquote></div><br></div></div>