Skip to content

Commit d5c19f7

Browse files
Ryosuke ItohSeokhee Park
authored andcommitted
Clears TMemFile on each worker also at START.
modified: ERecoEventProcessor.cc
1 parent 46daad2 commit d5c19f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

daq/expreco/src/ERecoEventProcessor.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ int ERecoEventProcessor::UnConfigure(NSMmsg*, NSMcontext*)
199199

200200
int ERecoEventProcessor::Start(NSMmsg* nsmm, NSMcontext* nsmc)
201201
{
202+
// Clear DQM histogram memory
203+
char cmdline[] = "hsendcommand DQMRC:CLEAR localhost 10391";
204+
system(cmdline);
205+
printf("ERecoEventProcessor : DQM TMemFile cleared\n");
206+
202207
string rbufin = string(m_conf->getconf("system", "unitname")) + ":" +
203208
string(m_conf->getconf("processor", "ringbufin"));
204209
string rbufout = string(m_conf->getconf("system", "unitname")) + ":" +

0 commit comments

Comments
 (0)