[Rivet] question about CDF_2008_S7541902

Andy Buckley andy.buckley at ed.ac.uk
Mon Sep 27 17:25:35 BST 2010


On 27/09/10 16:53, treccani at ugr.es wrote:
> Hi,
> I'm trying to use the CDF_2008_S7541902 unvalidated analysis in rivet.
> I searched for it in the available analyses, but with no success.
> So I tried to build it as "custom" analisis, using the command:
> rivet-buildplugin RivetMyAnalyses.so MyAnalysis.cc
> but, after linking some .hh files, it complains telling:
> CDF_2008_S7541902.cc: In member function ‘virtual void
> Rivet::CDF_2008_S7541902::analyze(const Rivet::Event&)’:
> CDF_2008_S7541902.cc:85: error: expected primary-expression before
> ‘const’
> CDF_2008_S7541902.cc:85: error: ‘BOOST_FOREACH’ was not declared in
> this scope
> CDF_2008_S7541902.cc:85: error: expected `;' before ‘{’ token
> CDF_2008_S7541902.cc:127: error: expected `}' at end of input
> 
> Could you please tell me if I am doing something wrong or is related to
> the code?
> Moreover, I've seen you are going to release 1.3.0 of rivet: is it fixing
> this problem?

Hi Michele,

Yes, we'll be releasing version 1.3.0 as soon as I get a free hour with
a reliable network connection! It will fix this error (all that's
missing here is the g++ -I flags for various required headers) as well
as many, many other issues and improvements.

Note that since this analysis is unvalidated, it will not be built by
default (and you should treat the output with care). To include the
unvalidated analyses in your installation, configure the Rivet build
with the --enable-unvalidated flag.

Andy

-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh


More information about the Rivet mailing list