Example how to load the share libraries one needs to read Pythia ROOT files
// Author V.Fine 06/12/2001 BNL mailto:fine@bnl.gov
// This macro load the share library one needs to run Pythia and create ROOT file
void LoadPythia()
{
printf(" Loading Pythia/Athena share librariesn");
const char *fileList[] = { "libEG", "libPythia6", "libEGPythia6", "libRootKernel" };
// ,"AtlfastAthenaRoot" };
int nFiles = sizeof(fileList)/sizeof(char *);
int i;
for (i=0;i<nFiles;i++)
{
printf(" Loading %s ",fileList[i]);
if ( gSystem->Load(fileList[i]) ) printf(" t... failed :-(n");
else printf(" t... Ok! :-)n");
}
}
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.