Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-04-07 08:16:10

0001 #include "ServerFuncs.C"
0002 
0003 #include <onlmon/intt/InttMon.h>
0004 #include <onlmon/OnlMonServer.h>
0005 
0006 R__LOAD_LIBRARY(libonlinttmon_server.so)
0007 
0008 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")
0009 {
0010   OnlMon *m = new InttMon(name);      // create subsystem Monitor object
0011   m->SetMonitorServerId(serverid);
0012  
0013   OnlMonServer *se = OnlMonServer::instance(); // get pointer to Server Framework
0014   se->registerMonitor(m);       // register subsystem Monitor with Framework
0015   start_server(prdffile);
0016   return;
0017 }