daqroot.cc
Go to the documentation of this file.00001
00013 #include "TRint.h"
00014 #include "TSystem.h"
00015 #include "utilities.hh"
00016 #include <string>
00017 #include <iostream>
00018
00019 int main(int argc, char** argv)
00020 {
00021
00022 #ifdef ROOTINCLUDEPATH
00023 if(gSystem)
00024 gSystem->AddIncludePath(ROOTINCLUDEPATH);
00025 #endif
00026
00027 CustomizeHistogramMenus();
00028
00029 std::cout<<"=== This is daqroot: the ROOT interpreter + "
00030 <<"daqman classes and functions. ==="<<std::endl;
00031 TRint rint("daqroot",&argc, argv,0,0,true);
00032 rint.SetPrompt("daqroot %d> ");
00033 rint.Run();
00034
00035 }