Belle II Software  release-06-00-14
DQMHistAnalysisOutputNSM.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 : DQMHistAnalysisOut.h
10 // Description : Output module to NSM vars for DQM Histogram analysis
11 //-
12 
13 #pragma once
14 
15 #include <daq/slc/nsm/NSMCommunicator.h>
16 #include <daq/slc/nsm/NSMNodeDaemon.h>
17 
18 #include <dqm/analysis/modules/DQMHistAnalysisOutput.h>
19 
20 namespace Belle2 {
30 
31  // Public functions
32  public:
33 
37 
39  virtual void initialize() override;
40 
42  virtual void beginRun() override;
43  virtual void event() override;
44  virtual void endRun() override;
45  virtual void terminate() override;
46 
47  // Data members
48  private:
50  std::string m_nodename;
52  std::string m_rcnodename;
54  NSMCallback* m_callback = nullptr;
55 
56  };
58 } // end namespace Belle2
59 
Class definition for the output module of Sequential ROOT I/O.
The module to output values to NSM network.
NSMCallback * m_callback
The NSM callback object.
virtual void initialize() override
Module functions to be called from main process.
virtual void event() override
This method is the core of the module.
virtual void endRun() override
This method is called if the current run ends.
virtual void terminate() override
This method is called at the end of the event processing.
virtual void beginRun() override
Module functions to be called from event process.
DQMHistAnalysisOutputNSMModule()
Constructor / Destructor.
Abstract base class for different kinds of events.