]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PROOF-INF.PWG4JCORRAN/SETUP.C
Generator for dimuon decays of low masses resonances in AliRoot.
[u/mrichter/AliRoot.git] / PWG4 / PROOF-INF.PWG4JCORRAN / SETUP.C
CommitLineData
e90260d2 1void SETUP() {
2 // Load the BASE library
3 CheckLoadLibrary("libPWG4JCORRAN");
4 gROOT->ProcessLine(".include PWG4JCORRAN");
5 // Set our location, so that other packages can find us
6 gSystem->Setenv("PWG4JCORRAN_INCLUDE", "PWG4JCORRAN");
7}
8
9Int_t CheckLoadLibrary(const char* library) {
10 // checks if a library is already loaded, if not loads the library
11
12 if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
13 return 1;
14
15 return gSystem->Load(library);
16}