File indexing completed on 2026-04-07 08:16:10
0001 #define ONLINE
0002 #include "ServerFuncs.C"
0003
0004 #include <onlmon/bbc/BbcMon.h>
0005
0006 #include <onlmon/OnlMonServer.h>
0007
0008 R__LOAD_LIBRARY(libonlbbcmon_server.so)
0009
0010 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")
0011 {
0012 OnlMon *m = new BbcMon(name);
0013 m->SetMonitorServerId(serverid);
0014
0015
0016
0017
0018 OnlMonServer *se = OnlMonServer::instance();
0019 se->registerMonitor(m);
0020 start_server(prdffile);
0021 return;
0022 }