Last change
on this file since 683 was 286, checked in by campagne, 19 years ago |
ELYSE sauvegarde provisoire (JEC)
|
File size:
504 bytes
|
Rev | Line | |
---|
[286] | 1 | //
|
---|
| 2 | // Compiled version of the interpreted
|
---|
| 3 | // ../scripts/ROOT/analysis.C
|
---|
| 4 | //
|
---|
| 5 |
|
---|
| 6 | // To read data :
|
---|
| 7 | #include <TFile.h>
|
---|
| 8 | #include <TTree.h>
|
---|
| 9 |
|
---|
| 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 |
|
---|
| 19 | #include <iostream>
|
---|
| 20 |
|
---|
| 21 | #include "../scripts/ROOT/analysis.C"
|
---|
| 22 |
|
---|
| 23 | int main(int aArgc,char* aArgv[]) {
|
---|
| 24 | ROOT::GetROOT();
|
---|
| 25 |
|
---|
| 26 | new TApplication("ELYSE_analysis_ROOT",&aArgc,aArgv);
|
---|
| 27 |
|
---|
| 28 | analysis();
|
---|
| 29 |
|
---|
| 30 | gSystem->Run();
|
---|
| 31 |
|
---|
| 32 | return 1;
|
---|
| 33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.