Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

# ifndef __CINT__

#include <stdio.h>
#include <iostream>
#include <string>
#include <sstream>
#include <cmath>
#include <vector>

#include <TSystem.h>
#include <TMath.h>
#include <TFile.h>
#include <TTree.h>
#include <TCanvas.h>
#include <TPad.h>
#include <TF1.h>
#include <TH1F.h>
#include <TH2F.h>
#include <TPaveText.h>
#include <TStyle.h>
#include <TROOT.h>
#include <TApplication.h>
#include <TNtuple.h>
#include <TPaveStats.h>

using namespace std;

//  Declarations

void StandaloneApplication(int argc, char** argv);
#include "RTUtil.h"
#include "CGuide.h"
#include "RaySimulator.cpp"
#include "UserFunctions.cpp"

// Implementation

int main(int argc, char** argv)
{
    gROOT->Reset();
    TApplication app("Root Application", &argc, argv);
    StandaloneApplication(app.Argc(), app.Argv());
    app.Run();
    return 0;
}

void StandaloneApplication(int argc, char** argv)
{
  cout<<"Hello, world!";
  }