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   //add all the EventData headers to the include path so we can compile
00022 #ifdef ROOTINCLUDEPATH
00023   if(gSystem)
00024     gSystem->AddIncludePath(ROOTINCLUDEPATH);
00025 #endif
00026   //add the SaveHistoToFile function to the TH1 command menu
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 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 20 Jun 2014 for daqman by  doxygen 1.6.1