Skip to content

Commit 4c73fd9

Browse files
committed
Fix typo in socket config preventing o2sim_mctracks_proxy to work
1 parent 26ffcfa commit 4c73fd9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

run/SimExamples/MCTrackToDPL/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ o2-sim -j 1 -g pythia8pp -n 100 --noDiscOutput --forwardKine --noGeant -m CAVE -
77
SIMPROC=$!
88

99
# launch a DPL process (having the right proxy configuration)
10+
# (Note that the option --o2sim-pid is not strictly necessary when only one o2-sim process is running.
11+
# The socket will than be auto-determined.)
1012
o2-sim-mctracks-proxy --enable-test-consumer --o2sim-pid ${SIMPROC} &> out_mcanalysis.log &
1113
TRACKANAPROC=$!
1214

run/o2sim_mctracks_proxy.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ WorkflowSpec defineDataProcessing(ConfigContext const& configcontext)
104104
// use given pid
105105
// TODO: this could go away with a proper pipeline implementation
106106
std::string channelspec;
107-
std::string channelbase = "type=sub,method=connect,address=ipc:/";
107+
std::string channelbase = "type=sub,method=connect,address=ipc://";
108108
if (configcontext.options().get<int>("o2sim-pid") != -1) {
109109
std::stringstream channelstr;
110110
channelstr << channelbase << "/tmp/o2sim-hitmerger-kineforward-" << configcontext.options().get<int>("o2sim-pid") << ",rateLogging=100";

0 commit comments

Comments
 (0)