[Rivet] Question about running analysis

Andy Buckley andy.buckley at cern.ch
Wed Dec 4 09:29:00 GMT 2013


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


More information about the Rivet mailing list