Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:54

0001 #include "ServerFuncs.C"
0002 
0003 #include <onlmon/intt/InttMonConstants.h>
0004 #include <onlmon/intt/InttMon.h>
0005 #include <onlmon/OnlMonServer.h>
0006 
0007 // cppcheck-suppress unknownMacro
0008 R__LOAD_LIBRARY(libonlinttmon_server.so)
0009 
0010 void run_intt_server(const std::string &name = "INTTMON", unsigned int serverid = 0, const std::string &prdffile = "/sphenix/u/jbertaux/evt_files/intt_intt0-00000025-0000.evt")
0011 {
0012   OnlMon *m = new InttMon(name);      // create subsystem Monitor object
0013   m->SetMonitorServerId(serverid);
0014  
0015   OnlMonServer *se = OnlMonServer::instance(); // get pointer to Server Framework
0016   se->registerMonitor(m);       // register subsystem Monitor with Framework
0017   start_server(prdffile);
0018   return;
0019 }