[Rivet] new analysis

Sparsh Navin Sparsh.Navin at cern.ch
Thu Jun 17 17:48:42 BST 2010


Hi,

While writing an analysis for ALICE, Anton Karneyeu and I came across something different to what is says on the page http://projects.hepforge.org/rivet/trac/wiki/WritingAnAnalysis. 

Right at the bottom, in the "Compiling and linking" section, it says that you need to have the word "Rivet" in the name of the library or it will not get loaded at run time. However, we noticed that the following the example there and in the section called "Running", my analysis didn't get listed until I changed the name of the library libRivetMyAnalysis.so to *begin* with the word "Rivet". Naming it libRivetMyAnalysis.so allowed it to be compiled but didn't list with "rivet --list-analyses".

Also g++ -o libRivetMyAnalysis.so -shared -I/path/to/installed/rivet/include MyAnalysis.cc didn't compile it. I had to use the attached Makefile.

Is this normal?

Best regards,

Sparsh


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.hepforge.org/lists-archive/rivet/attachments/20100617/d6efc398/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 436 bytes
Desc: Makefile
Url : http://www.hepforge.org/lists-archive/rivet/attachments/20100617/d6efc398/attachment.obj 


More information about the Rivet mailing list