Belle II Software  release-08-01-10
DqmMasterCallback.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 <daq/slc/runcontrol/RCCallback.h>
11 
12 #include <daq/slc/base/ConfigFile.h>
13 
14 #include <daq/dataflow/EvtSocket.h>
15 
16 namespace Belle2 {
22  class DqmMasterCallback : public RCCallback {
23 
24  public:
26  virtual ~DqmMasterCallback();
27 
28  public:
29  void load(const DBObject& obj, const std::string& runtype) override final;
30  void start(int, int) override final;
31  void stop(void) override final;
32  void abort(void) override final;
33 
34  static int m_running;
35  private:
36  int m_expno;
37  int m_runno;
38  std::string m_runtype;
39  std::string m_histodir;
40  std::string m_instance;
41  EvtSocketSend* m_sock;
42  };
43 
45 }
Abstract base class for different kinds of events.