<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi again,
<div class=""><br class="">
</div>
<div class="">I’ve tried recompiling from scratch, once even with ROOT removed from my environment, but to no avail.</div>
<div class=""><br class="">
</div>
<div class="">Given that the routine is otherwise validated, I would like to submit it now anyway. Shall I leave the manual booking in for now or rewrite the (cc & plot files & post-processing script) assuming the reference-data-based booking works (which would
 change the histogram name), even though I can’t seem to test it myself?</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class="">Chris </div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 24 Apr 2018, at 17:56, Christian Gutschow <<a href="mailto:chris.g@cern.ch" class="">chris.g@cern.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="BodyFragment" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<font size="2" class=""><span style="font-size: 10pt;" class="">
<div class="PlainText">Yes, I can switch this behaviour on and off depending on how I book the 2D histogram.<br class="">
<br class="">
I’m attaching my 2.6.0 config.log in case it helps.<br class="">
<br class="">
Cheers,<br class="">
Chris<br class="">
<br class="">
</div>
</span></font></div>
<div class="BodyFragment" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<font size="2" class=""><span style="font-size: 10pt;" class="">
<div class="PlainText"><br class="">
<br class="">
<br class="">
> On 24 Apr 2018, at 17:51, Andy Buckley <<a href="mailto:andy.buckley@cern.ch" class="">andy.buckley@cern.ch</a>> wrote:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> No idea -- this makes no sense. And the dot thing also seems to not be true -- I was tricked by a symlinking failure into thinking it had solved a problem coming from HepMC being unable to re-read the HepMC events written out by MadGraph.<br class="">
><span class="Apple-converted-space"> </span><br class="">
> This is super-weird. It's a bit turn-it-off-and-back-on-again, but does normal service reliably resume when you revert your bookHisto2D change? There's no reason that they should be connected in code logic, but maybe something to do with the build/run environment...<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Andy<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Dr Andy Buckley, Lecturer / Royal Society University Research Fellow<br class="">
> Particle Physics Experiment Group, University of Glasgow<br class="">
> On Apr 24 2018, at 5:34 pm, Christian Gutschow <<a href="mailto:chris.g@cern.ch" class="">chris.g@cern.ch</a>> wrote:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Ok not quite solved apparently and even weirder:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> I’ve copied the hepmc file into my working directory to avoid the leading dots and it runs fine. Exact command:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> rivet --ignore-beams --pwd -a ATLAS_2017_I1624693 -H MyOut260.yoda jets.hepmc2g<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Among other things, this routine fills a 2D histograms, and rather than defining the binning manually, I want to book via reference data, which should be doable for 2Ds as of 2.6.0. So I replace this guy<br class="">
><span class="Apple-converted-space"> </span><br class="">
> _dalitz = bookHisto2D( "dalitz", 20, -1., 1., 20, -1., 1.);<br class="">
><span class="Apple-converted-space"> </span><br class="">
> with this guy<br class="">
><span class="Apple-converted-space"> </span><br class="">
> _dalitz = bookHisto2D(3, 1, 1);<br class="">
><span class="Apple-converted-space"> </span><br class="">
> in the *routine code* and recompile.<br class="">
><span class="Apple-converted-space"> </span><br class="">
> All good so far. Running the same command as above and now it immediately gives up, saying<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Could not read from 'jets.hepmc2g'<br class="">
><span class="Apple-converted-space"> </span><br class="">
> What. Mind blown.<br class="">
><span class="Apple-converted-space"> </span><br class="">
> How is the HEPMC-input file handling correlated with the histogram booking in this way? Any ideas!?<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Cheers,<br class="">
> Chris<br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
> On 24 Apr 2018, at 12:03, Christian Gutschow <<a href="mailto:chris.g@cern.ch" class="">chris.g@cern.ch</a>> wrote:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Ahh, yeah it didn’t like the leading dots in "../jets.hepmc2g"<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Thanks Andy! I can work around that :)<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Cheers,<br class="">
> Chris<br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
> On 24 Apr 2018, at 11:30, Andy Buckley <<a href="mailto:andy.buckley@cern.ch" class="">andy.buckley@cern.ch</a>> wrote:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Aha, I just ran into the same thing.<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Your filename has a dot in the "stem" before the .hepmc* bit, right? Looks like I need to be cleverer in my path parsing to work out if there's a .gz on the end. Probably also an issue in YODA 1.7.<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Andy<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Dr Andy Buckley, Lecturer / Royal Society University Research Fellow<br class="">
> Particle Physics Experiment Group, University of Glasgow<br class="">
> On Apr 24 2018, at 8:04 am, Christian Gutschow <<a href="mailto:chris.g@cern.ch" class="">chris.g@cern.ch</a>> wrote:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Hi Andy,<br class="">
><span class="Apple-converted-space"> </span><br class="">
> I was using:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> rivet —ignore-beams -a MyAnalysis —pwd jets.hepmc2g<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Nothing too controversial I would have thought...<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Cheers,<br class="">
> Chris<br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
> Sent from my iPhone<br class="">
><span class="Apple-converted-space"> </span><br class="">
> On 23 Apr 2018, at 23:33, Andy Buckley <<a href="mailto:andy.buckley@cern.ch" class="">andy.buckley@cern.ch</a>> wrote:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> I'm using custom routines and 2.6.0 without problems. What exact command are you running? Don't think we changed any command-line flag parsing, but I can't think of anything else...<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Andy<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Dr Andy Buckley, Lecturer / Royal Society University Research Fellow<br class="">
> Particle Physics Experiment Group, University of Glasgow<br class="">
> On Apr 23 2018, at 4:17 pm, Christian Gutschow <<a href="mailto:chris.g@cern.ch" class="">chris.g@cern.ch</a>> wrote:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Hi,<br class="">
><span class="Apple-converted-space"> </span><br class="">
> I have a case where using 2.6.0 I can run a standard routine, say MC_JETS, on a local HEPMC file just fine, but when I want to run a custom routine on the same file, it gives up immediately saying:<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Could not read from 'jets.hepmc2g'<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Same behaviour even if I zip the file. When I switch back to 2.5.4, it works again using both routines.<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Any ideas what’s changed / how to fix this?<br class="">
><span class="Apple-converted-space"> </span><br class="">
> (I’m using HEPMC 2.06.09)<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Cheers,<br class="">
> Chris<br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
> —<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Dr. Christian Gütschow<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Department of Physics and Astronomy<br class="">
> University College London<br class="">
> Gower Street<br class="">
> London WC1E 6BT<br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
> _______________________________________________<br class="">
> Rivet mailing list<br class="">
> <a href="mailto:Rivet@projects.hepforge.org" class="">Rivet@projects.hepforge.org</a><br class="">
><span class="Apple-converted-space"> </span><a href="https://www.hepforge.org/lists/listinfo/rivet" class="">https://www.hepforge.org/lists/listinfo/rivet</a><br class="">
> _______________________________________________<br class="">
> Rivet mailing list<br class="">
> <a href="mailto:Rivet@projects.hepforge.org" class="">Rivet@projects.hepforge.org</a><br class="">
><span class="Apple-converted-space"> </span><a href="https://www.hepforge.org/lists/listinfo/rivet" class="">https://www.hepforge.org/lists/listinfo/rivet</a><br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
> —<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Dr. Christian Gütschow<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Department of Physics and Astronomy<br class="">
> University College London<br class="">
> Gower Street<br class="">
> London WC1E 6BT<br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
> _______________________________________________<br class="">
> Rivet mailing list<br class="">
> <a href="mailto:Rivet@projects.hepforge.org" class="">Rivet@projects.hepforge.org</a><br class="">
><span class="Apple-converted-space"> </span><a href="https://www.hepforge.org/lists/listinfo/rivet" class="">https://www.hepforge.org/lists/listinfo/rivet</a><br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
><span class="Apple-converted-space"> </span><br class="">
> —<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Dr. Christian Gütschow<br class="">
><span class="Apple-converted-space"> </span><br class="">
> Department of Physics and Astronomy<br class="">
> University College London<br class="">
> Gower Street<br class="">
> London WC1E 6BT<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
 —<br class="">
<br class="">
 Dr. Christian Gütschow<br class="">
<br class="">
 Department of Physics and Astronomy<br class="">
 University College London<br class="">
 Gower Street<br class="">
 London WC1E 6BT<br class="">
<br class="">
<br class="">
<br class="">
</div>
</span></font></div>
<span id="cid:A840DE8E81589D4D95EED249B6193057@cern.ch"><config.log></span><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Rivet
 mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="mailto:Rivet@projects.hepforge.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">Rivet@projects.hepforge.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://www.hepforge.org/lists/listinfo/rivet" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://www.hepforge.org/lists/listinfo/rivet</a></div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
<br class="Apple-interchange-newline">
<br class="">
</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
<br class="">
</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 —</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
<br class="">
</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 Dr. Christian Gütschow</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
<br class="">
</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 Department of Physics and Astronomy</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 University College London</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 Gower Street</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 London WC1E 6BT</div>
</div>
</div>
<br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<br class="Apple-interchange-newline">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</body>
</html>