Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
25 f9daq 1
# ifndef __CINT__
2
 
3
#include <stdio.h>
4
#include <iostream>
5
#include <string>
6
#include <sstream>
7
#include <cmath>
8
#include <vector>
9
 
10
#include <TSystem.h>
11
#include <TMath.h>
12
#include <TFile.h>
13
#include <TTree.h>
14
#include <TCanvas.h>
15
#include <TPad.h>
16
#include <TF1.h>
17
#include <TH1F.h>
18
#include <TH2F.h>
19
#include <TPaveText.h>
20
#include <TStyle.h>
21
#include <TROOT.h>
22
#include <TApplication.h>
23
#include <TNtuple.h>
24
#include <TPaveStats.h>
25
 
26
using namespace std;
27
 
28
//  Declarations
29
 
30
void StandaloneApplication(int argc, char** argv);
31
#include "RTUtil.h"
32
#include "CGuide.h"
33
#include "RaySimulator.cpp"
34
#include "UserFunctions.cpp"
35
 
36
// Implementation
37
 
38
int main(int argc, char** argv)
39
{
40
    gROOT->Reset();
41
    TApplication app("Root Application", &argc, argv);
42
    StandaloneApplication(app.Argc(), app.Argv());
43
    app.Run();
44
    return 0;
45
}
46
 
47
void StandaloneApplication(int argc, char** argv)
48
{
49
  cout<<"Hello, world!";
50
  }
51