Belle II Software
release-05-01-25
ERecoMaster.h
1
#ifndef ER_MASTER_H
2
#define ER_MASTER_H
3
//+
4
// File : ERecoMaster.h
5
// Description : Master node for Express Reco
6
//
7
// Author : Ryosuke Itoh, IPNS, KEK
8
// Date : 31 - Jul - 2013
9
//-
10
11
#include "daq/rfarm/manager/RFConf.h"
12
#include "daq/rfarm/manager/RFSharedMem.h"
13
#include "daq/rfarm/manager/RFLogManager.h"
14
15
#include "daq/rfarm/manager/RFServerBase.h"
16
17
namespace
Belle2
{
22
class
ERecoMaster
:
public
RFServerBase
{
23
public
:
24
ERecoMaster
(std::string conf);
25
~
ERecoMaster
();
26
27
// Functions to be hooked to NSM
28
int
Configure(
NSMmsg
*,
NSMcontext
*);
29
int
UnConfigure(
NSMmsg
*,
NSMcontext
*);
30
int
Start(
NSMmsg
*,
NSMcontext
*);
31
int
Stop(
NSMmsg
*,
NSMcontext
*);
32
int
Restart(
NSMmsg
*,
NSMcontext
*);
33
34
// Function to hook message funnctions
35
void
Hook_Message_Handlers();
36
37
// Message functions
38
static
void
Log_Handler(
NSMmsg
* msg,
NSMcontext
* ctx);
39
40
// Server function
41
void
monitor_loop();
42
43
44
private
:
45
RFConf
* m_conf;
46
RFSharedMem
* m_shm;
47
RFLogManager
* m_log;
48
49
};
50
52
}
53
#endif
54
55
56
NSMmsg
Definition:
nsm2.h:217
Belle2::RFSharedMem
Definition:
RFSharedMem.h:51
Belle2::RFLogManager
Definition:
RFLogManager.h:18
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::ERecoMaster
Definition:
ERecoMaster.h:22
Belle2::RFServerBase
Definition:
RFServerBase.h:20
Belle2::RFConf
Definition:
RFConf.h:24
NSMcontext_struct
Definition:
nsmlib2.h:66
daq
expreco
include
ERecoMaster.h
Generated on Fri Nov 5 2021 03:49:04 for Belle II Software by
1.8.17