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_tpc_server.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file run_tpc_server.C
1
#include "
ServerFuncs.C
"
2
3
#include <onlmon/tpc/TpcMon.h>
4
5
#include <onlmon/OnlMonServer.h>
6
7
// cppcheck-suppress unknownMacro
8
R__LOAD_LIBRARY(libonltpcmon_server.so)
9
10
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")
11
{
12
OnlMon
*
m
=
new
TpcMon
(
name
);
// create subsystem Monitor object
13
m->
SetMonitorServerId
(serverid);
14
// m->AddTrigger("PPG(Laser)"); // high efficiency triggers selection at et pool
15
// m->AddTrigger("ONLMONBBCLL1"); // generic bbcll1 minbias trigger (defined in ServerFuncs.C)
16
OnlMonServer
*se =
OnlMonServer::instance
();
// get pointer to Server Framework
17
se->
registerMonitor
(m);
// register subsystem Monitor with Framework
18
start_server
(
prdffile
);
19
return
;
20
}
OnlMon
blob
main
macros
run_tpc_server.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration