extending TRint::Run functionality

Pasha Murat (murat@cdfsga.fnal.gov)
Fri, 26 Sep 1997 18:09:30 GMT


It would be pretty helpful when running ROOT in embedded mode to have a way
to pass to TRint::Run method a
list of files (or at least one file, which would execute all the others) to
be executed, for example:

void TRint::Run(Bool_t retrn, char* filename = 0);

so if filename is 0, TApplication::fFiles (the default list) is searched for
the list of input files. Another way to get the same functionality is to define

TApplication::SetInputFiles(TObjArray* inputFiles)

method which would allow to define fFiles from the running code.

Does this suggestion fit into the ROOT design scheme?

Thanks, Pasha.