Re: [BLAST_ANAWARE] monitor

From: Chris Crawford (chris2@lns.mit.edu)
Date: Mon May 24 2004 - 09:37:55 EDT


hi pete,
  you can also see BlastLib2/nsec.cc or simple.cc, both of which have
been boiled down to just the essential function calls. they work with
the most recent version of root.
--chris

Peter Karpius wrote:

>Thanks very much Adrian - I will see if I can make this work with the
>current Root version - maybe it already does-
>
> Thanks,
> Pete
>
>
>On Sun, 23 May 2004, Adrian T Sindile wrote:
>
>
>
>>Hi, Pete!
>>
>>
>>
>>>I will take a
>>>look at VZ's OnlineGUI (unless there is a simpler model out there that
>>>someone can recommend?)
>>>
>>>
>>Here is the simplest GUI example I wrote three years ago. For the TGui.h
>>class I wrote for the automated TOF gainmatcher in the DTF, please look in
>>the /home/blast/adrian/TOF/ directory (I was using an older ROOT version
>>then, some ROOT functions might be different now):
>>
>>#include "TGui.h"
>>
>>extern void InitGui();
>>
>>VoidFuncPtr_t initfuncs[] = {InitGui, 0};
>>
>>TROOT root("GUI", "GUI test environment", initfuncs);
>>
>>
>>int main(int argc, char **argv)
>>{
>>
>> TApplication theApp("App", &argc, argv);
>>
>> TGui *gui;
>> gui = new TGui(gClient->GetRoot(), 800, 400);
>>
>> theApp.Run();
>>
>> return 0;
>>
>>}
>>
>>
>>
>>
>
>----------------------------------------------
>Pete Karpius
>Graduate Research Assistant
>Nuclear Physics Group
>University of New Hampshire
>phone: (603)862-1220
>FAX: (603)862-2998
>email: karpiusp@einstein.unh.edu
>http://pubpages.unh.edu/~pkarpius/homepage.htm
>----------------------------------------------
>
>



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:31 EST