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

Go to the documentation of this file.
00001 #include <gui/EventDisplay.hh> 
00002 #include <Log.hh>
00003 #include <iostream>
00004 
00005 #include <TApplication.h>
00006 
00007 /*--------------------*/
00008 int main(int argc, char **argv) 
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 }
00036 

Generated on Mon Jan 7 13:15:21 2013 for MicromegasFramework by  doxygen 1.4.7