|
[Rivet] missing RivetAIDA.hh file in home-brew installed rivet on OS Xroy.lemmon at stfc.ac.uk roy.lemmon at stfc.ac.ukFri Mar 4 15:57:28 GMT 2016
Thanks for all that. I’ve got it working now. Well at least the analysis runs and plots are produced. Whether they make sense is another question … Have a good weekend. Cheers Roy. > On 4 Mar 2016, at 15:32, David Bjergaard <david.bjergaard at gmail.com> wrote: > > Hi Roy, > > Hopefully I don't chime in with the same advice twice again, but as long as > Sherpa has been compiled to support Rivet, you can just add it to the analysis > handler of you're runcard (for Sherpa): >> (analysis){ >> BEGIN_RIVET { >> -a MC_GENSTUDY_JPSI_VEC ATLAS_2011_S9035664 >> } END_RIVET >> }(analysis) > If you want to change the output name from Rivet.yoda to something else you can > do in the run block: >> (run){ >> .... >> ANALYSIS=Rivet >> ANALYSIS_OUTPUT=RivetCHARMID >> }(run) > > From there, Sherpa calls analyze on each iteration of the loop and processes the > events. > > So you would just do: >> Sherpa -f RunCard.dat > from the command line. > > Cheers, > > David > > <roy.lemmon at stfc.ac.uk> writes: > >> Hi Andy ! Thanks for the quick reply. >> >> I was beginning to realise that AIDA has been replaced by YODA. Sorry this is quite new to me. >> >> This came about because I am playing with Sherpa, found a tutorial >> from this older LPCC workshop (2012 I think) and then was trying to >> use Rivet to look at the output. If you have any links for a newer >> tutorial, with examples, for Rivet, just let me know (I can read the >> webpage of course). >> >> I’ll try again with what you sent. >> >> Cheers >> Roy. >> >> >> On 4 Mar 2016, at 15:16, Andy Buckley <andy.buckley at cern.ch<mailto:andy.buckley at cern.ch>> wrote: >> >> Hi Roy, >> >> Looks like that is a properly old analysis code -- Rivet hasn't used the "AIDA" interfaces for several years. >> >> I've updated the code that you attached to use the newer interface and >> to tidy up a few things; easier to do it than explain it! See the >> attachment. This compiles fine for me, but I've not tried running it. >> >> Andy >> >> >> >> On 04/03/16 15:02, roy.lemmon at stfc.ac.uk<mailto:roy.lemmon at stfc.ac.uk> wrote: >> Hi, >> >> I am new to Rivet so bear with me … Hopefully this is the right email address. >> >> I am trying to create a new rivet analysis, which is from an older LPCC monte carlo workshop. the file is attached (MC_TTW.cc). >> >> From your manual, I am using the following command: rivet-buildplugin RivetMC_TTW.so MC_TTW.cc >> >> However this fails with the following error: >> >> >> MC_TTW.cc:15:10: fatal error: 'Rivet/RivetAIDA.hh' file not found >> >> #include "Rivet/RivetAIDA.hh" >> >> I have used homebrew on OSX (Yosemite) to install rivet. If I look in >> /usr/local/Cellar/rivet/2.4.0/include/Rivet I cannot find the >> RivetAIDA.hh file in the directory. All other include files MCC_TTW.cc >> needs are there in the directory. Have I somehow not installed rivet >> correctly with brew - I just used brew install rivet ? Or is this .hh >> file deprecated now ? >> >> I will try from my linux laptop over the w/e. >> >> Thanks for your help. >> >> Cheers >> Roy. >> >> >> ************************************* >> Roy Lemmon >> STFC Daresbury Laboratory >> United Kingdom >> ************************************* >> >> >> >> _______________________________________________ >> Rivet mailing list >> Rivet at projects.hepforge.org<mailto:Rivet at projects.hepforge.org> >> https://www.hepforge.org/lists/listinfo/rivet >> >> >> >> -- >> Dr Andy Buckley, Lecturer / Royal Society University Research Fellow >> Particle Physics Expt Group, University of Glasgow >> <MC_TTW.cc> >> >> _______________________________________________ >> Rivet mailing list >> Rivet at projects.hepforge.org >> https://www.hepforge.org/lists/listinfo/rivet
More information about the Rivet mailing list |