|
[Rivet] Pluggable analyses branchLars Sonnenschein sonne at mail.cern.chThu Sep 13 08:36:07 BST 2007
Hello Andy On Wed, 12 Sep 2007, Andy Buckley wrote: > Lars Sonnenschein wrote: > > Hello Andy > > thank you. It is compiling and linking now. > > Unfortunately the head version of RivetGun > > (even after I added there the needed Rivet INC path) complains: > > > Is the Commandline code incompatible with the pluggable Rivet code? > > Yes :) I've only changed Rivet, and these changes affect the whole > analysis handling mechanism, as used by RivetGun. I'll soon work on a > RivetGun branch to work with the new Rivet, but for now you can write a > HepMC event file using e.g. "rivetgun ... -o events.hepmc" and process > it with "rivet ... events.hepmc". Can you check that this works for you > and then I'll merge the branch back to trunk once RivetGun is compatible. I ran an analysis with Pythia8 over 1k events and plugged it into Rivet. The Rivet.aida file is produced and its content looks alright. > > If you haven't run "make install" for Rivet, then you'll need something > like "RIVET_ANALYSIS_PATH=./src/Analysis/.libs ./src/rivet ..." so that > it searches the right directory to find the standard analysis library. > You could make your own analysis library, libRivetFoo.so, put it in any of Hm, actually I did the make install > > * the current directory > * the directory where libRivet.so is installed > * a directory listed in RIVET_ANALYSIS_PATH > * a directory listed in RIVET_ANALYSIS_PATH > > and rivet will use its analyses if they provide the same loading > mechanism as libRivetAnalysisStd. OK. I would like to implement the CDF jet shape analysis. To start with I could use the Salam Cacciari fast jet package. But if it is not installed the analysis has to be protected against linking since undefined symbols would appear. How would I do this in a clean way (the analysis would be pluggable and somewhere I would have to check if the fastjet package is available). Lars ________________________________ Lars Sonnenschein ________________________________ Home Institution: PH/TH 4/1-030 CERN CH-1211 Geneve 23 Switzerland Tel.:+41(22)767-2827 -------------------------------- ________________________________ FNAL: D0, PK151 Mailstop #352 Fermilab, P.O.Box 500 Batavia, IL 60510-500 Tel.: +1(630)840-8740 ________________________________
More information about the Rivet mailing list |