source: MEMPHYS/HEAD/applications/MEMPHYS_analysis_ROOT.cxx@ 206

Last change on this file since 206 was 206, checked in by barrand, 19 years ago

G.Barrand : have histos and plots.

File size: 506 bytes
RevLine 
[188]1//
2// Compiled version of the interpreted
3// ../scripts/ROOT/analysis.C
4//
5
[206]6// To read data :
[188]7#include <TFile.h>
8#include <TTree.h>
9
[206]10// To have histos :
11#include <TH1D.h>
12#include <TH2D.h>
13
14// To plot histos :
15#include <TCanvas.h>
16#include <TSystem.h>
17#include <TApplication.h>
18
[188]19#include <iostream>
20
21#include "../scripts/ROOT/analysis.C"
22
[206]23int main(int aArgc,char* aArgv[]) {
[188]24 ROOT::GetROOT();
[206]25
26 new TApplication("MEMPHYS_analysis_ROOT",&aArgc,aArgv);
27
[188]28 analysis();
[206]29
30 gSystem->Run();
31
[188]32 return 1;
33}
Note: See TracBrowser for help on using the repository browser.