VMC Examples Version 6.6
Loading...
Searching...
No Matches
g3libUtilities Namespace Reference

Functions

Bool_t isLibrary (const char *libName)
 

Function Documentation

◆ isLibrary()

Bool_t g3libUtilities::isLibrary ( const char * libName)

Helper function which testes the existence of the given library

Parameters
libNameThe library name

Definition at line 23 of file g3libs.C.

24 {
25 /// Helper function which testes the existence of the given library
26 /// \param libName The library name
27
28 if (TString(gSystem->DynamicPathName(libName, kTRUE)) != TString(""))
29 return kTRUE;
30 else
31 return kFALSE;
32 }