Fork me on GitHub

Changeset 225 in svn


Ignore:
Timestamp:
Feb 2, 2009, 12:42:32 PM (16 years ago)
Author:
Xavier Rouby
Message:

include statements have been cleaned; memory leak-free

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Examples/Frog_on_analysis_output.cpp

    r188 r225  
    1313
    1414#include "TApplication.h"
    15 #include "interface/FrogUtil.h"
    16 #include "interface/SmearUtil.h"
     15#include "FrogUtil.h"
     16#include "SmearUtil.h"
    1717#include <iostream>
     18#include <string>
    1819using namespace std;
    1920
     
    5859 
    5960// 2 ************** FROG display
    60   FrogDisplay *FROG = new FrogDisplay();
    61   FROG->BuidEvents(inputfilename,DET->NEvents_Frog);
    62   FROG->BuildGeom(DetDatacard);
     61  FrogDisplay *FROG = new FrogDisplay(DetDatacard);
     62  FROG->BuildEvents(inputfilename);
     63  FROG->BuildGeom();
    6364
    6465  cout << "** Exiting..." << endl;
    6566  delete FROG;
     67  delete DET;
    6668}
Note: See TracChangeset for help on using the changeset viewer.