preanalysis/prean.cxx

00001 // @(#)fROOT/preanalysis:$Name:  $:$Id: prean.cxx,v 1.2 2007/09/05 10:25:02 Diego_Faso Exp $
00002 // Author: Diego Faso <mailto:faso@to.infn.it>, 2006/08/04
00003 
00004 #include "TROOT.h"
00005 #include "TRint.h"
00006 #include "TApplication.h"
00007 
00008 #if defined __linux
00009 //On linux Fortran wants this, so we give to it!
00010 int xargv=0;
00011 int xargc=0;
00012 #endif
00013 
00014 #if defined WIN32 
00015   extern "C" int __fastflag=0; 
00016   extern "C" int _pctype=0; 
00017   extern "C" int __mb_cur_max=0; 
00018 #endif 
00019 
00020 int gcbank_[3000000];
00021 
00022 int main(int argc, char **argv) {
00023   TRint *theApp = new TRint("prean",&argc,argv,NULL,0,1);
00024   theApp->ProcessFile("$FROOTSYS/preanalysis/preanlogon.C");
00025   theApp->SetPrompt("# preanalysis > ");
00026   theApp->Run();
00027   theApp->Terminate(0);
00028   delete theApp;
00029   return(0);
00030 }
00031   
00032  

Generated on Tue Oct 16 15:40:47 2007 by  doxygen 1.5.2