how to store and execute later a series of cint commands

From: Elemer Nagy (nagy@cppm.in2p3.fr)
Date: Thu Aug 07 1997 - 10:33:26 MEST


     In PAW one has the possibility to write several PAW commands
in a mfn.kumac file and later execute this macro inside PAW by
typeing

     exec mfn

     Does exist a similar facility in ROOT, and if yes, please tell
me the generic name of the file to be created and the command inside ROOT
to be executed.

     Ex.: I open a file and plot a histogram:

TFile f("htest.root");
f.ls();
h2434.Draw();
 etc...

Next time I wouldn't like to type all these but execute a file
which contains these commands. How to do this?

Thanks.

     

--
---------------------------------------------------------------------------
| Elemer Nagy                  |  Phone    : (+33) 04-91-82-72-73         |
| C.P.P.M.                     |  Fax      : (+33) 04-91-82-72-99         |
| 163, av. de Luminy Case 907  |  Internet : nagy@cppm.in2p3.fr           |
| F-13288 Marseille CEDEX 09   |                                          |
| FRANCE                       |                                          |
---------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET