Belle II Software  release-06-02-00
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 #include "daq/dqm/DqmMemFile.h"
17 
18 namespace Belle2 {
24  class DqmMasterCallback : public RCCallback {
25 
26  public:
28  virtual ~DqmMasterCallback();
29 
30  public:
31  virtual void load(const DBObject& obj, const std::string& runtype);
32  virtual void start(int, int);
33  virtual void stop();
34  virtual void abort();
35 
36  private:
37  int m_expno;
38  int m_runno;
39  std::string m_runtype;
40  DqmMemFile* m_hltdqm;
41  DqmMemFile* m_erecodqm;
42  std::string m_hltdir;
43  std::string m_erecodir;
44  // static int m_running;
45  EvtSocketSend* m_sock_hlt;
46  EvtSocketSend* m_sock_reco;
47  };
48 
50 }
Abstract base class for different kinds of events.