Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ROOT] root in batch mode

5 views
Skip to first unread message

Thomas Feser

unread,
May 24, 2000, 3:00:00 AM5/24/00
to

Dear Rooters,

we are trying to generate root files in a daily cron job for an detector
monitoring project at the south pole.
How is it possible to keep root from building up connections to the X
server?

Cheers
_
|om

Thomas Feser Thomas...@uni-mainz.de
http://iphcip1.physik.uni-mainz.de/~tfeser (06131)39-25165


David GUEZ

unread,
May 24, 2000, 3:00:00 AM5/24/00
to
Thomas Feser a écrit :
Hi,
I think you just have to call root with -b option (currently, I use a batch program that call an interactive ROOT session. It can control the session by using incorporated document)
If the question is "how to create a non GUI program with ROOT", there's a lot of exemples in $ROOTSYS/test
just carefull about that: in a GUI based application, one have to initialize a TROOT instance with TROOT root(name,title,Initfuc) where Initfunc is : VoidFuncPtr_t initfuncs[] = { InitGui, 0 };
On a batch mode ROOT program, you have not to pass anything on the third argument.

I Hope it's what you need.

-- 
--------
David GUEZ
mail: dav...@mail.dotcom.fr
WEB: http://perso.club-internet.fr/davguez
 

0 new messages