Changeset 194


Ignore:
Timestamp:
Jun 19, 2006, 10:48:08 AM (18 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • MEMPHYS/HEAD/applications/MEMPHYS_analysis_aida_ROOT.cxx

    r192 r194  
    1111#include <TH2D.h>
    1212#include <TCanvas.h>
     13#include <TSystem.h>
     14#include <TApplication.h>
    1315
    1416#include <iostream>
     
    1618#include "../scripts/ROOT/aida_ROOT.C"
    1719
    18 int main() {
     20int main(int aArgc,char* aArgv[]) {
    1921  ROOT::GetROOT();
    20   aida();
     22 
     23  new TApplication("MEMPHYS_analysis_aida_ROOT",&aArgc,aArgv);
     24
     25  aida_ROOT();
     26
     27  gSystem->Run();
     28
    2129  return 1;
    2230}
Note: See TracChangeset for help on using the changeset viewer.