QwGeant4
QweakSimRoot.cc
Go to the documentation of this file.
1 /*------------------------------------------------------------------------*//*!
2 
3  \file QweakSimRoot.cc
4 
5  \brief ROOT wrapper with QweakSim functionality
6 
7 *//*-------------------------------------------------------------------------*/
8 
9 // ROOT headers
10 #include <TSystem.h>
11 #include <TROOT.h>
12 #include <TString.h>
13 
14 // QweakSim headers
15 #include "QweakSimRint.hh"
16 
17 int main(int argc, char** argv)
18 {
19  // Start QweakSim-Root command prompt
20  QweakSimRint* qweaksimrint = new QweakSimRint("QweakSim ROOT Analyzer", &argc, argv);
21  // Setup include path
22  gROOT->ProcessLine(".include include");
23  qweaksimrint->Run();
24  delete qweaksimrint;
25 }
int main(int argc, char **argv)
Definition: Hadr00.cc:69
A ROOT command line interface.
Definition: QweakSimRint.hh:25