Belle II Software
development
HistoRelay2.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#pragma once
9
10
#include <string>
11
#include <TDirectory.h>
12
13
#include <daq/dataflow/EvtSocket.h>
14
#include <framework/pcore/MsgHandler.h>
15
16
namespace
Belle2
{
21
class
HistoRelay2 {
22
public
:
23
HistoRelay2(std::string& filename, std::string& dest,
int
port);
24
~HistoRelay2();
25
26
int
collect();
27
private
:
28
std::string m_filename;
29
EvtSocketSend
* m_sock;
30
std::string m_dest;
31
int
m_port;
32
33
EvtMessage
* StreamFile(std::string& filename);
34
int
StreamHistograms(TDirectory* curdir,
MsgHandler
* msg,
int
& numobjs);
35
36
};
37
38
}
39
Belle2::EvtMessage
Class to manage streamed object.
Definition
EvtMessage.h:59
Belle2::EvtSocketSend
Definition
EvtSocket.h:26
Belle2::MsgHandler
A class to encode/decode an EvtMessage.
Definition
MsgHandler.h:103
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
daq
dqm
include
HistoRelay2.h
Generated on Mon Sep 1 2025 02:48:35 for Belle II Software by
1.13.2