File indexing completed on 2025-08-03 08:20:54
0001 #include "ServerFuncs.C"
0002
0003 #include <onlmon/ll1/LL1Mon.h>
0004
0005 #include <onlmon/OnlMonServer.h>
0006
0007
0008 R__LOAD_LIBRARY(libonlll1mon_server.so)
0009
0010 void run_ll1_server(const std::string &name = "LL1MON", unsigned int serverid = 0, const std::string &prdffile = "/sphenix/lustre01/sphnxpro/rawdata/commissioning/LL1/calib/calib_LL1-00013020-0000.prdf")
0011 {
0012 OnlMon *m = new LL1Mon(name);
0013 m->SetMonitorServerId(serverid);
0014
0015 OnlMonServer *se = OnlMonServer::instance();
0016 se->registerMonitor(m);
0017 start_server(prdffile);
0018 return;
0019 }