Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
blob
main
macros
CommonFuncs.C
makehtml.C
run_bbc_client.C
run_bbc_server.C
run_cemc_client.C
run_cemc_client_2subevents.C
run_cemc_server.C
run_cemc_server_SEB00.C
run_cemc_server_SEB01.C
run_daq_client.C
run_daq_server.C
run_example_client.C
run_example_server0.C
run_example_server1.C
run_hcal_server.C
run_ihcal_client.C
run_intt_client.C
run_intt_server.C
run_ll1_client.C
run_ll1_server.C
run_mvtx_client.C
run_mvtx_server.C
run_ohcal_client.C
run_pktsize_client.C
run_pktsize_server.C
run_Poms.C
run_sepd_client.C
run_sepd_server.C
run_tpc_client.C
run_tpc_server.C
run_tpot_client.C
run_tpot_server.C
run_zdc_client.C
run_zdc_server.C
ServerFuncs.C
onlmonclient
onlmondatabase
onlmonserver
onlmonutils
poms
subsystems
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
run_cemc_server.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file run_cemc_server.C
1
#include "
ServerFuncs.C
"
2
3
#include <onlmon/cemc/CemcMon.h>
4
5
#include <onlmon/OnlMonServer.h>
6
7
// cppcheck-suppress unknownMacro
8
R__LOAD_LIBRARY(libonlcemcmon_server.so)
9
10
// void run_cemc_server(const char *prdffile = "/sphenix/data/data02/sphenix/t1044/rcdaq-00000221-0000.prdf")
11
void
run_cemc_server
(const std::
string
&
name
= "CEMCMON",
unsigned
int
serverid = 0, const std::
string
&
prdffile
= "/sphenix/
data
/data02/sphenix/
cemc
/combinedEvents/EmCalSEB00-000000222-0000.prdf")
12
{
13
OnlMon
*
m
=
new
CemcMon
(
name
);
// create subsystem Monitor object
14
m->
SetMonitorServerId
(serverid);
15
// m->AddTrigger("PPG(Laser)"); // high efficiency triggers selection at et pool
16
// m->AddTrigger("ONLMONBBCLL1"); // generic bbcll1 minbias trigger (defined in ServerFuncs.C)
17
OnlMonServer
*se =
OnlMonServer::instance
();
// get pointer to Server Framework
18
se->
registerMonitor
(m);
// register subsystem Monitor with Framework
19
start_server
(
prdffile
);
20
gStyle->SetOptStat(0);
21
// cemc_runningmean->SetMinimum(0);
22
return
;
23
}
OnlMon
blob
main
macros
run_cemc_server.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration