/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/src/analyse/root/EventDisplay.cpp File Reference

#include <gui/EventDisplay.hh>
#include <Log.hh>
#include <iostream>
#include <TApplication.h>

Include dependency graph for EventDisplay.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 8 of file EventDisplay.cpp.

00009 { 
00010     FILELog::ReportingLevel() = FILELog::FromString(INFO);
00011   
00012     if ( argc == 1 )
00013     {
00014       TApplication theApp("App", &argc, argv);
00015       EventDisplay mainWin(gClient->GetRoot(), 1920, 1680);
00016       theApp.Run();
00017     }
00018 
00019     else if ( argc == 2)
00020     {
00021       string rootname = argv[1];
00022       TApplication theApp("App", &argc, argv);
00023       EventDisplay mainWin(rootname,gClient->GetRoot(), 1920, 1680);
00024       theApp.Run();
00025     }
00026     else if ( argc == 3)
00027     {
00028       string rootname = argv[1];
00029       string xmlname = argv[2];
00030       TApplication theApp("App", &argc, argv);
00031       EventDisplay mainWin(rootname,xmlname,gClient->GetRoot(), 1920, 1680);
00032       theApp.Run();
00033     }
00034     return 0;
00035 }


Generated on Mon Jan 7 13:17:12 2013 for MicromegasFramework by  doxygen 1.4.7