BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
g3libs.C
Go to the documentation of this file.
1
/// \file g3libs.C
2
/// \brief Macro for loading Geant3 and Pythia 6 libraries
3
4
Bool_t
isLibrary
(
const
char
* libName)
5
{
6
if
(
TString
(
gSystem
->DynamicPathName(libName,
kTRUE
)) !=
TString
(
""
))
7
return
kTRUE
;
8
else
9
return
kFALSE
;
10
}
11
12
void
g3libs
()
13
{
14
cout <<
"Loading Geant3 libraries ..."
<< endl;
15
16
if
(
isLibrary
(
"libdummies.so"
))
17
gSystem
->Load(
"libdummies.so"
);
18
// libdummies.so needed from geant3_+vmc version 0.5
19
20
if
(
isLibrary
(
"libpythia6.so"
))
21
gSystem
->Load(
"libpythia6.so"
);
22
else
if
(
isLibrary
(
"libPythia6.so"
))
// Old FairSoft
23
gSystem
->Load(
"libPythia6.so"
);
24
gSystem
->Load(
"libEGPythia6.so"
);
25
gSystem
->Load(
"libgeant321.so"
);
26
27
cout <<
"Loading Geant3 libraries ... finished"
<< endl;
28
}
Bool_t
bool Bool_t
kFALSE
constexpr Bool_t kFALSE
kTRUE
constexpr Bool_t kTRUE
gSystem
R__EXTERN TSystem * gSystem
TString
g3libs
void g3libs()
Definition
g3libs.C:12
isLibrary
Bool_t isLibrary(const char *libName)
Definition
g3libs.C:4
install
gconfig
g3libs.C
Generated on
for BmnRoot by
1.17.0