RivetPaths.cc

Go to the documentation of this file.
00001 #include "Rivet/Rivet.hh"
00002 #include "binreloc.h"
00003 
00004 namespace Rivet {
00005 
00006 
00007   const string getLibPath() {
00008     BrInitError error;
00009     br_init_lib(&error);
00010     const string libdir = br_find_lib_dir(DEFAULTLIBDIR);
00011     return libdir;
00012   }
00013 
00014   const string getDataPath() {
00015     BrInitError error;
00016     br_init_lib(&error);
00017     const string sharedir = br_find_data_dir(DEFAULTDATADIR);
00018     return sharedir;
00019   }
00020 
00021   const string getRivetDataPath() {
00022     return getDataPath() + "/Rivet";
00023   }
00024 
00025   const string getRivetgunDataPath() {
00026     return getDataPath() + "/AGILe";
00027   }
00028 
00029 
00030 }