File indexing completed on 2025-08-03 08:20:54
0001 #define ONLINE
0002 #include "ServerFuncs.C"
0003
0004 #include <onlmon/bbc/BbcMon.h>
0005
0006 #include <onlmon/OnlMonServer.h>
0007
0008
0009 R__LOAD_LIBRARY(libonlbbcmon_server.so)
0010
0011 void run_bbc_server(const std::string &name = "BBCMON", unsigned int serverid = 0, const std::string &prdffile = "/sphenix/data/data02/sphenix/t1044/rcdaq-00000221-0000.prdf")
0012 {
0013 OnlMon *m = new BbcMon(name);
0014 m->SetMonitorServerId(serverid);
0015
0016
0017 OnlMonServer *se = OnlMonServer::instance();
0018 se->registerMonitor(m);
0019 start_server(prdffile);
0020 return;
0021 }