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

Functions

Bool_t isLibrary (const char *libName)
 

Function Documentation

◆ isLibrary()

Bool_t g4libUtilities::isLibrary ( const char * libName)

Helper function which testes the existence of the given library

Parameters
libNameThe library name

Definition at line 32 of file g4libs.C.

33 {
34 /// Helper function which testes the existence of the given library
35 /// \param libName The library name
36
37 if (TString(gSystem->DynamicPathName(libName, kTRUE)) != TString(""))
38 return kTRUE;
39 else
40 return kFALSE;
41 }