[Rivet] Question about running analysis

Brian Shuve bshuve at perimeterinstitute.ca
Wed Dec 4 15:47:55 GMT 2013


How embarrassing -- I had changed the plugin declaration line and
constructor lines in the original version, but having misunderstood a line
in the tutorial, I used mkanalysis and overwrote my code with a blank
template. I forgot to make these changes in the new version. It now find
the analysis perfectly fine.

Thanks very much for your prompt reply, and sorry for the bother!

Brian


On Wed, Dec 4, 2013 at 1:29 AM, Andy Buckley <andy.buckley at cern.ch> wrote:

> On 04/12/13 09:02, Brian Shuve wrote:
> > Dear Rivet authors,
> >
> > I’m sorry to bother you about something that seems trivial, but I’ve
> tried following the directions in the “Instructions for writing a Rivet
> analysis” and I’ve also checked other parts of the documentation/online
> tutorials, and nothing seems to work.
> >
> > I’ve created a new analysis based on the existing
> MC_GENSTUDY_JET_SUBSTRUCTURE from the Boost 2012 report. As a result, I
> have a MY_ANALYSIS.cc, .info, and .plot files, and I’ve built the
> RivetMY_ANALYSIS.so library. However, whenever I try to execute Rivet using
> a command like:
> >
> > rivet -a MY_ANALYSIS zp_ttsemi_2TeV.hepmc —pwd
> >
> > I get the error: ‘MY_ANALYSIS’ is not a valid analysis. Available
> analyses are:…
> >
> > The analysis doesn’t appear in the list if I use “rivet —list-analyses
> —analysis-path=$PWD”, and it also doesn’t work if I explicitly set the
> RIVET_ANALYSIS_PATH.
> >
> > If you have any suggestions, I would greatly appreciate it!
>
> Hi Brian,
>
> Can you post the constructor and the DECLARE_RIVET_PLUGIN lines from
> your analysis? It sounds like your analysis doesn't "know" that it is
> now called "MY_ANALYSIS": the filename has nothing to do with it, so the
> analysis code needs to be told what name to use.
>
> Andy
>
> --
> Dr Andy Buckley, Royal Society University Research Fellow
> Particle Physics Expt Group, University of Glasgow / PH Dept, CERN
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20131204/4476e683/attachment.html>


More information about the Rivet mailing list