Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
run_tpot_server.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file run_tpot_server.C
1
#include "
ServerFuncs.C
"
2
3
#include <onlmon/tpot/TpotMon.h>
4
5
#include <onlmon/OnlMonServer.h>
6
7
// cppcheck-suppress unknownMacro
8
R__LOAD_LIBRARY(libonltpotmon_server.so)
9
10
void
run_tpot_server
(
11
const std::
string
&
name
= "TPOTMON",
12
unsigned
int
serverid = 0,
13
const std::
string
&
prdffile
= "/sphenix/lustre01/sphnxpro/commissioning/
TPOT
/junk/TPOT_ebdc39_junk-00020121-0000.prdf"
14
)
15
{
16
// create subsystem Monitor object
17
auto
m
=
new
TpotMon
(
name
);
18
m
->SetMonitorServerId(serverid);
19
20
// get pointer to Server Framework
21
auto
se =
OnlMonServer::instance
();
22
23
// register subsystem Monitor with Framework
24
se->registerMonitor(
m
);
25
26
// and start
27
start_server
(
prdffile
);
28
return
;
29
}
OnlMon
blob
main
macros
run_tpot_server.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration