10 #include "MyPackage.cxx"
13 int MyPackageFancy(
const char *infile=
"$USER/example.list"
14 ,
const char *outfile =
"$SCRATCH/example.root")
16 TString sInFile = infile;
17 TString sOutFile = outfile;
19 gSystem->ExpandPathName(sInFile);
20 gSystem->ExpandPathName(sOutFile);
22 char *argv[] = {(
char*)
"MyPackageFuncy",(
char*) sInFile.Data(),(
char*) sOutFile.Data() };
24 printf(
"\n\nUsage: root.exe -b -l -q \'%s.cxx+[(\"input_file\" [,\"output_file\"])\']\n",argv[0]);
25 printf(
"------ The square brackets [] are to show the optional components\n");