<div dir="ltr">Seems like it was only added in 2.2.1? Marco, do you have access to 2.2.1 in athena?<div><br></div><div>Chris</div><div><br><div><br></div><div>
<p><font face="monospace, monospace"><span>2015-02-02</span><span> Andy Buckley </span><span><<a href="mailto:andy.buckley@cern.ch" target="_blank">andy.buckley@cern.ch</a>></span></font></p>
<p><font face="monospace, monospace"><span> * </span><span>Add &&, || and ! operators for without-parens-warnings Cut</span><br></font></p>
<p><span><font face="monospace, monospace"> combining. Note these don't short-circuit, but this is ok since</font></span></p>
<p><span><font face="monospace, monospace"> Cut comparisons don't have side-effects.</font></span></p><div><font face="monospace, monospace"><br></font></div><div>
<p><font face="monospace, monospace"><span>2014-09-30</span><span> Andy Buckley </span><span><<a href="mailto:andy.buckley@cern.ch" target="_blank">andy.buckley@cern.ch</a>></span></font></p>
<p><font face="monospace, monospace"><span> * </span><span>2.2.0 release!</span></font></p><p><span></span></p></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 8, 2015 at 10:13 AM, Andy Buckley <span dir="ltr"><<a href="mailto:andy.buckley@cern.ch" target="_blank">andy.buckley@cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">First call is to check the ChangeLog and see if && combination of Cuts was supported in 2.2.0 or if I only added it in 2.2.1...</p><span><font color="#888888">
<p dir="ltr">Andy</p></font></span><div><div>
<div class="gmail_quote">On 8 Jul 2015 10:10, "David Grellscheid" <<a href="mailto:david.grellscheid@durham.ac.uk" target="_blank">david.grellscheid@durham.ac.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">And some events, please?<br>
<br>
Thanks,<br>
<br>
David<br>
<br>
<br>
On 08/07/15 10:05, Marco Delmastro wrote:<br>
> Hello,<br>
><br>
> You'll find the analysis attached here. As I mentioned, I'm using rivet 2.2.0 via the ATLAS Athena framework,<br>
><br>
> M.<br>
><br>
><br>
><br>
><br>
> On 08 Jul 2015, at 11:02, David Grellscheid <<a href="mailto:david.grellscheid@durham.ac.uk" target="_blank">david.grellscheid@durham.ac.uk</a>> wrote:<br>
><br>
>> Hi Marco,<br>
>><br>
>> can you please send a minimal analysis and a short HepMC file that shows<br>
>> the problem? Also, which Rivet version are you using?<br>
>><br>
>> Thanks,<br>
>><br>
>> David<br>
>><br>
>><br>
>> On 08/07/15 09:27, Marco Delmastro wrote:<br>
>>> Hello,<br>
>>><br>
>>> Andy Buckley suggested that I report this bug (?) I encountered when using Rivet within the ATLAS Athena framework.<br>
>>><br>
>>> I'm writing the RIVET routines for the ATLAS 8 TeV inclusive diphoton and diphoton + jet analyses. In the first tests I made, running on a Pythia diphoton samples, I noticed something strange: only photons with eta > 1 were used, and the initial pT selection was not applied. I tracked down the problem to this method:<br>
>>><br>
>>> IdentifiedFinalState photonfs(Cuts::abseta < 2.37 && Cuts::pT > 30.*GeV); // 30 GeV cut on subleading photon<br>
>>><br>
>>> Apparently the 30 GeV cut on the photon pT is not applied, and or some reason only objects with eta > 1 are kept. From some conversation on the ATLAS MC Generator mailing list, it seems that the problem might be related to the handling of the && operator. If I change the line to:<br>
>>><br>
>>> IdentifiedFinalState photonfs(-2.37,2.37,30.*GeV); // etamin, etamax, ptmin<br>
>>><br>
>>> everything seems to work fine. I'm using rivet 2.2.0 from Athena 19.2.1:<br>
>>><br>
>>> [mdelmast@lxplus0157 Rivet]# which rivet<br>
>>> /cvmfs/<a href="http://atlas.cern.ch/repo/sw/software/x86_64-slc6-gcc47-opt/19.2.1/AtlasSimulation/19.2.1/InstallArea/share/bin/rivet" rel="noreferrer" target="_blank">atlas.cern.ch/repo/sw/software/x86_64-slc6-gcc47-opt/19.2.1/AtlasSimulation/19.2.1/InstallArea/share/bin/rivet</a><br>
>>><br>
>>> [mdelmast@lxplus0157 Rivet]# rivet<br>
>>> Rivet 2.2.0 running on machine <a href="http://lxplus0157.cern.ch" rel="noreferrer" target="_blank">lxplus0157.cern.ch</a> (x86_64)<br>
>>><br>
>>> Thanks for your help!<br>
>>><br>
>>> Ciao, M.<br>
>>><br>
>>><br>
>>><br>
>>> _______________________________________________<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/listinfo/rivet</a><br>
>>><br>
><br>
</blockquote></div>
</div></div><br>_______________________________________________<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/listinfo/rivet</a><br></blockquote></div><br></div></div>