File indexing completed on 2025-08-03 08:20:54
0001 #include "ServerFuncs.C"
0002
0003 #include <onlmon/tpc/TpcMon.h>
0004
0005 #include <onlmon/OnlMonServer.h>
0006
0007
0008 R__LOAD_LIBRARY(libonltpcmon_server.so)
0009
0010 void run_tpc_server(const std::string &name = "TPCMON", unsigned int serverid = 0, const std::string &prdffile = "/sphenix/data/data02/sphnxpro/tpc/chughes/prdf/00010169/TPC_ebdc00_pedestal-00010169-0000.prdf")
0011 {
0012 OnlMon *m = new TpcMon(name);
0013 m->SetMonitorServerId(serverid);
0014
0015
0016 OnlMonServer *se = OnlMonServer::instance();
0017 se->registerMonitor(m);
0018 start_server(prdffile);
0019 return;
0020 }