Belle II Software
development
SendTrailer.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
#ifndef SENDTRAILER_H
10
#define SENDTRAILER_H
11
12
namespace
Belle2
{
18
// class SendTrailer{
19
// class SendTrailer : public TObject {
20
class
SendTrailer
{
21
public
:
23
SendTrailer
();
24
26
SendTrailer
(
int
*);
27
29
~SendTrailer
();
30
31
int
* GetBuffer();
32
33
void
SetBuffer
(
int
* bufin);
34
35
void
Initialize
();
36
37
void
SetChksum
(
int
chksum);
38
39
void
SetMagicWord
();
40
41
int
GetTrlNwords();
42
43
int
GetMagicWord();
44
45
enum
{
46
SENDTRL_NWORDS = 2
47
};
48
49
enum
{
50
POS_CHKSUM = 0,
51
POS_TERM_WORD = 1
52
};
53
54
enum
{
55
MAGIC_WORD_SEND_TRAILER = 0x7fff0007
56
};
57
58
private
:
59
60
int
m_buffer[ SENDTRL_NWORDS ];
61
// ClassDef(SendTrailer, 1);
62
};
64
}
65
66
#endif
Belle2::SendTrailer
Definition:
SendTrailer.h:20
Belle2::SendTrailer::SendTrailer
SendTrailer()
Default constructor.
Definition:
SendTrailer.cc:18
Belle2::SendTrailer::~SendTrailer
~SendTrailer()
Destructor.
Definition:
SendTrailer.cc:29
Belle2::SendTrailer::SetMagicWord
void SetMagicWord()
initialize header
Definition:
SendTrailer.cc:55
Belle2::SendTrailer::SetBuffer
void SetBuffer(int *bufin)
return buffer
Definition:
SendTrailer.cc:38
Belle2::SendTrailer::SetChksum
void SetChksum(int chksum)
initialize header
Definition:
SendTrailer.cc:50
Belle2::SendTrailer::Initialize
void Initialize()
set buffer
Definition:
SendTrailer.cc:43
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
daq
dataobjects
include
SendTrailer.h
Generated on Fri Nov 8 2024 02:34:59 for Belle II Software by
1.9.6