00001
00002
00003
00004 #include "TROOT.h"
00005 #include "TRint.h"
00006 #include "TApplication.h"
00007
00008 #if defined __linux
00009
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