<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 26/06/14 15:15, Joakim Sjunnebo wrote:
<blockquote cite="mid:53AC2B19.8040601@cern.ch" type="cite">Dear
Rivet developers,
<br>
<br>
I'm working with a Rivet analysis and have so far been
<br>
using Rivet 1.8.2, however, I need to be able to make 2D
histograms, so
<br>
I need to start using Rivet 2.x.y. I have been struggling with how
to
<br>
set up the Rivet environment correctly. What I have been doing is
(on slc5):
<br>
<br>
source setupRivet.sh
<br>
source setupRel.sh
<br>
rivet-buildplugin myAnalysis.cc
<br>
athena RunRivet_jobOptions.py
<br>
<br>
This worked fine for 1.8.2, but if I in setupRivet.sh just change
Rivet
<br>
version to 2.1.1, an error is generated in the rivet-buildplugin
step,
<br>
where it basically states that it can't find Rivet/RivetAIDA.hh
and
<br>
Rivet/Projections/LeptonClusters.hh. If I change the LCGTAG to
<br>
x86_64-slc6-gcc46-opt and run on slc6, setupRivet.sh produces an
error
<br>
since it then can't find the path to professor or agile. I'm quite
new
<br>
with this, but I haven't found the answer to this anywhere on the
web or
<br>
in the documentation. Do you know how I can set up the Rivet
environment
<br>
to make this work?
<br>
<br>
Regards,
<br>
Joakim
<br>
<br>
<br>
<br>
</blockquote>
Hi Joakim,<br>
<br>
the histogram system has changed in Rivet. It is no longer using
AIDA<br>
but YODA.<br>
<br>
You need to change the code of you plugin to some extent.<br>
<br>
As you mentioned that you need 2D histograms, you might want<br>
to have a look at this analysis source code and make changed<br>
in your code accordingly:<br>
<blockquote><a class="moz-txt-link-freetext" href="https://rivet.hepforge.org/trac/browser/src/Analyses/MC_PDFS.cc">https://rivet.hepforge.org/trac/browser/src/Analyses/MC_PDFS.cc</a><br>
</blockquote>
Hope that helps,<br>
Holger<br>
<br>
<br>
<blockquote cite="mid:53AC2B19.8040601@cern.ch" type="cite"><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rivet mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a>
<a class="moz-txt-link-freetext" href="https://www.hepforge.org/lists/listinfo/rivet">https://www.hepforge.org/lists/listinfo/rivet</a></pre>
</blockquote>
<br>
</body>
</html>