00001
00002
00003
00004 #include <TRint.h>
00005
00006 #include "TFndSCCgui.h"
00007
00008 int main(int argc, char **argv) {
00009 TRint *theApp = new TRint("finuda_onlmon",&argc,argv,NULL,0,1);
00010 theApp->ProcessFile(FROOT::ExpandPathName("$FROOTSYS/mcr_called/frootlogon.C"));
00011 theApp->SetPrompt("# froot > ");
00012
00013 TFndSCCgui *myGUI = new TFndSCCgui();
00014 myGUI->SetMustSendToDAQ(kTRUE);
00015 myGUI->SetMustSaveLocalRaw(kTRUE);
00016
00017 myGUI->BuildGUI();
00018 myGUI->MapGUI();
00019 myGUI->MakeConnections();
00020 myGUI->StartSendThread();
00021
00022 theApp->Run();
00023 theApp->Terminate(0);
00024 delete theApp;
00025 return(0);
00026 }
00027
00028