File indexing completed on 2026-04-07 08:16:10
0001 #include "ServerFuncs.C"
0002
0003 #include <onlmon/localpol/LocalPolMon.h>
0004
0005 #include <onlmon/OnlMonServer.h>
0006
0007 R__LOAD_LIBRARY(libonllocalpolmon_server.so)
0008
0009 void run_localpol_server(const std::string &name = "LOCALPOLMON", unsigned int serverid = 0, const std::string &prdffile = "/sphenix/lustre01/sphnxpro/commissioning/GL1/beam/GL1_beam_gl1daq-00041352-0000.evt")
0010 {
0011 OnlMon *m = new LocalPolMon(name);
0012 m->SetMonitorServerId(serverid);
0013
0014
0015
0016
0017 OnlMonServer *se = OnlMonServer::instance();
0018 se->registerMonitor(m);
0019 start_server(prdffile);
0020 return;
0021 }