MIDAS
Loading...
Searching...
No Matches
rmidas.c File Reference
#include "TGButton.h"
#include "TRootEmbeddedCanvas.h"
#include "TGLayout.h"
#include "TH2.h"
#include "TCanvas.h"
#include "TSocket.h"
#include "TMessage.h"
#include "TGMsgBox.h"
#include "TApplication.h"
#include "TROOT.h"
#include "TGListBox.h"
#include "TObjArray.h"
#include "TObjString.h"
#include "TGMenu.h"
#include "TGTab.h"
#include "TGLabel.h"
#include "TGTextEntry.h"
#include "TGFrame.h"
Include dependency graph for rmidas.c:

Go to the source code of this file.

Classes

class  TGTextDialog
 
class  RMidasFrame
 

Enumerations

enum  RMidasCommandIdentifiers { M_FILE_EXIT , M_FILE_CONNECT , B_UPDATE , B_CLEAR }
 

Functions

void rmidas ()
 
int main (int argc, char **argv)
 

Enumeration Type Documentation

◆ RMidasCommandIdentifiers

Enumerator
M_FILE_EXIT 
M_FILE_CONNECT 
B_UPDATE 
B_CLEAR 

Definition at line 224 of file rmidas.c.

224 {
227 B_UPDATE,
228 B_CLEAR,
229};
@ B_CLEAR
Definition rmidas.c:228
@ M_FILE_CONNECT
Definition rmidas.c:226
@ B_UPDATE
Definition rmidas.c:227
@ M_FILE_EXIT
Definition rmidas.c:225

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 565 of file rmidas.c.

566{
567 TApplication theApp("RMidas", &argc, argv);
568
569 if (gROOT->IsBatch()) {
570 printf("%s: cannot run in batch mode\n", argv[0]);
571 return 1;
572 }
573
574 new RMidasFrame(gClient->GetRoot(), 200, 200, argv[1]);
575
576 theApp.Run();
577
578 return 0;
579}
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
Definition rmidas.h:24
Here is the call graph for this function:

◆ rmidas()

void rmidas ( )

Definition at line 560 of file rmidas.c.

561{
562 new RMidasFrame(gClient->GetRoot(), 200, 200, "pc2948");
563}
Here is the call graph for this function: