Belle II Software development
DQMHistAnalysisOutputRelayMsg.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//+
9// File : DQMHistAnalysisOutputRelayMsg.h
10// Description : Output module for DQM Histogram analysis
11//-
12
13#pragma once
14
15#include <dqm/core/DQMHistAnalysis.h>
16#include <TSocket.h>
17#include <string>
18
19namespace Belle2 {
27
28 // Public functions
29 public:
30
35
40
44 void initialize() override final;
45
49 void beginRun() override final;
50
54 void event() override final;
55
59 void endRun() override final;
60
64 void terminate() override final;
65
66 // Data members
67 private:
69 TSocket* m_sock = nullptr;
71 int m_port;
73 std::string m_hostname;
76 };
78} // end namespace Belle2
79
The base class for the histogram analysis module.
Class definition for the output module of Sequential ROOT I/O.
TSocket * m_sock
The socket to the canvas server.
void terminate() override final
This method is called at the end of the event processing.
void event() override final
This method is called for each event.
bool m_canvasSendDefault
Send untagged canvas by default.
void endRun() override final
This method is called if the current run ends.
void beginRun() override final
Called when entering a new run.
std::string m_hostname
The hostname of the canvas server.
Abstract base class for different kinds of events.